@peculiar/certificates-viewer 4.7.1-alpha.5 → 4.8.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/components/actions.js +1 -2
- package/components/actions.js.map +1 -1
- package/components/arrow_top.js +2 -4
- package/components/arrow_top.js.map +1 -1
- package/components/attribute-certificate-viewer.js +7 -12
- package/components/attribute-certificate-viewer.js.map +1 -1
- package/components/button-menu.js +4 -2
- package/components/button-menu.js.map +1 -1
- package/components/button.js +5 -8
- package/components/button.js.map +1 -1
- package/components/certificate-chain-viewer.js +5 -3
- package/components/certificate-chain-viewer.js.map +1 -1
- package/components/certificate-viewer.js +4 -2
- package/components/certificate-viewer.js.map +1 -1
- package/components/circular-progress.js +4 -2
- package/components/circular-progress.js.map +1 -1
- package/components/crl-viewer.js +6 -7
- package/components/crl-viewer.js.map +1 -1
- package/components/cross.js +3 -6
- package/components/cross.js.map +1 -1
- package/components/csr-viewer.js +4 -2
- package/components/csr-viewer.js.map +1 -1
- package/components/download.js +89 -89
- package/components/download.js.map +1 -1
- package/components/highlight-words.js +4 -2
- package/components/highlight-words.js.map +1 -1
- package/components/index2.js +14 -49
- package/components/index2.js.map +1 -1
- package/components/issuer_name.js.map +1 -1
- package/components/miscellaneous.js +61 -153
- package/components/miscellaneous.js.map +1 -1
- package/components/peculiar-certificate-decoder.js +5 -3
- package/components/peculiar-certificate-decoder.js.map +1 -1
- package/components/peculiar-certificates-viewer.js +6 -16
- package/components/peculiar-certificates-viewer.js.map +1 -1
- package/components/pkcs10_certificate_request.js.map +1 -1
- package/components/row.js +6 -17
- package/components/row.js.map +1 -1
- package/components/ssh-certificate-viewer.js +5 -5
- package/components/ssh-certificate-viewer.js.map +1 -1
- package/components/subject_name.js.map +1 -1
- package/components/text-hider.js +4 -2
- package/components/text-hider.js.map +1 -1
- package/dist/cjs/{actions-ByC9jQU-.js → actions-mGiqn4uZ.js} +4 -5
- package/dist/cjs/{actions-ByC9jQU-.js.map → actions-mGiqn4uZ.js.map} +1 -1
- package/dist/cjs/{arrow_top-Cw9KN115.js → arrow_top-opfTrg-m.js} +5 -7
- package/dist/cjs/{arrow_top-Cw9KN115.js.map → arrow_top-opfTrg-m.js.map} +1 -1
- package/dist/cjs/{button-C8EWG_-r.js → button-B215SxsO.js} +8 -11
- package/dist/{esm-es5/button-Bbh7MwG6.js.map → cjs/button-B215SxsO.js.map} +1 -1
- package/dist/cjs/cross-DV79hJ_S.js +49 -0
- package/dist/cjs/{cross-3DqhA0G_.js.map → cross-DV79hJ_S.js.map} +1 -1
- package/dist/cjs/download-DAw3krU6.js +23 -0
- package/dist/cjs/{download-DQP0KR4o.js.map → download-DAw3krU6.js.map} +1 -1
- package/dist/cjs/{extension-CjXYQXbF.js → extension-BDpdRJkE.js} +3 -3
- package/dist/cjs/extension-BDpdRJkE.js.map +1 -0
- package/dist/cjs/{index-uHmGhObe.js → index-BDWR3dnW.js} +88 -47
- package/dist/cjs/index-BDWR3dnW.js.map +1 -0
- package/dist/cjs/index.cjs.js +9 -11
- package/dist/cjs/{link-Cgh8wnbs.js → link-BScgjwVZ.js} +5 -5
- package/dist/cjs/{link-Cgh8wnbs.js.map → link-BScgjwVZ.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -4
- package/dist/cjs/{miscellaneous-7gtHz795.js → miscellaneous-Bomq8zQH.js} +75 -178
- package/dist/cjs/miscellaneous-Bomq8zQH.js.map +1 -0
- package/dist/cjs/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.cjs.js.map +1 -1
- package/dist/cjs/peculiar-attribute-certificate-viewer_5.cjs.entry.js +30 -79
- package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +3 -5
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +7 -9
- package/dist/cjs/peculiar-certificate-decoder.entry.cjs.js.map +1 -1
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +8 -10
- package/dist/cjs/peculiar-certificate-viewer.entry.cjs.js.map +1 -1
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +10 -24
- package/dist/cjs/peculiar-certificates-viewer.entry.cjs.js.map +1 -1
- package/dist/cjs/peculiar-text-hider.cjs.entry.js +3 -5
- package/dist/cjs/peculiar.cjs.js +3 -5
- package/dist/cjs/peculiar.cjs.js.map +1 -1
- package/dist/cjs/{pkcs10_certificate_request-CIOxDu_Z.js → pkcs10_certificate_request-DZLiHGCV.js} +3 -3
- package/dist/cjs/{pkcs10_certificate_request-CIOxDu_Z.js.map → pkcs10_certificate_request-DZLiHGCV.js.map} +1 -1
- package/dist/cjs/{ssh_certificate-DnXj2sM0.js → ssh_certificate-Bh14rhzR.js} +89 -88
- package/dist/cjs/ssh_certificate-Bh14rhzR.js.map +1 -0
- package/dist/cjs/{x509_certificate-DPgu-mwG.js → x509_certificate-p8RMn7Hw.js} +4 -4
- package/dist/cjs/{x509_certificate-DPgu-mwG.js.map → x509_certificate-p8RMn7Hw.js.map} +1 -1
- package/dist/cjs/{x509_crl-D_DKkGcn.js → x509_crl-tjmX6l3R.js} +5 -5
- package/dist/cjs/{x509_crl-D_DKkGcn.js.map → x509_crl-tjmX6l3R.js.map} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +14 -14
- package/dist/collection/components/button-menu/button-menu.js +1 -2
- package/dist/collection/components/button-menu/button-menu.js.map +1 -1
- package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.css +0 -447
- package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js +2 -3
- package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js.map +1 -1
- package/dist/collection/components/certificate-decoder/certificate-decoder.js +2 -3
- package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js.map +1 -1
- package/dist/collection/components/certificate-viewer/certificate-viewer.js +16 -16
- package/dist/collection/components/certificates-viewer/certificates-viewer.js +4 -5
- package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -1
- package/dist/collection/components/circular-progress/circular-progress.js +2 -2
- package/dist/collection/components/crl-viewer/crl-viewer.js +12 -12
- package/dist/collection/components/csr-viewer/csr-viewer.js +10 -10
- package/dist/collection/components/highlight-words/highlight-words.js +2 -2
- package/dist/collection/components/ssh-certificate-viewer/ssh-certificate-viewer.js +6 -6
- package/dist/collection/crypto/extensions/cabforganization_identifier.js.map +1 -1
- package/dist/collection/crypto/ssh_certificate.js +8 -3
- package/dist/collection/crypto/ssh_certificate.js.map +1 -1
- package/dist/esm/{actions-BOY2Tl0T.js → actions-CabuIstu.js} +4 -5
- package/dist/esm/{actions-BOY2Tl0T.js.map → actions-CabuIstu.js.map} +1 -1
- package/dist/esm/{arrow_top-DL0RWe4n.js → arrow_top-CWdnzNJA.js} +5 -7
- package/dist/{esm-es5/arrow_top-DL0RWe4n.js.map → esm/arrow_top-CWdnzNJA.js.map} +1 -1
- package/dist/esm/{button-Bbh7MwG6.js → button-DoyFdU2L.js} +8 -11
- package/dist/esm/{button-Bbh7MwG6.js.map → button-DoyFdU2L.js.map} +1 -1
- package/dist/esm/cross-B4NPVkar.js +45 -0
- package/dist/{esm-es5/cross-G84H_-QL.js.map → esm/cross-B4NPVkar.js.map} +1 -1
- package/dist/esm/download-C7Viw-3R.js +21 -0
- package/dist/esm/{download-ykcxSgxU.js.map → download-C7Viw-3R.js.map} +1 -1
- package/dist/esm/{extension-B3br1_Py.js → extension-xW03sQxn.js} +3 -3
- package/dist/esm/extension-xW03sQxn.js.map +1 -0
- package/dist/esm/{index-CwgZaF40.js → index-B0tLzdJT.js} +88 -47
- package/dist/esm/index-B0tLzdJT.js.map +1 -0
- package/dist/esm/index.js +9 -11
- package/dist/esm/{link-CGURvKy1.js → link-BDCg-T_l.js} +5 -5
- package/dist/esm/{link-CGURvKy1.js.map → link-BDCg-T_l.js.map} +1 -1
- package/dist/esm/loader.js +3 -5
- package/dist/esm/{miscellaneous-phHcBJWR.js → miscellaneous-DxE6a1mr.js} +75 -178
- package/dist/esm/miscellaneous-DxE6a1mr.js.map +1 -0
- package/dist/esm/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.js.map +1 -1
- package/dist/esm/peculiar-attribute-certificate-viewer_5.entry.js +30 -79
- package/dist/esm/peculiar-button-menu_3.entry.js +3 -5
- package/dist/esm/peculiar-certificate-decoder.entry.js +7 -9
- package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -1
- package/dist/esm/peculiar-certificate-viewer.entry.js +8 -10
- package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
- package/dist/esm/peculiar-certificates-viewer.entry.js +10 -24
- package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
- package/dist/esm/peculiar-text-hider.entry.js +3 -5
- package/dist/esm/peculiar.js +4 -6
- package/dist/esm/peculiar.js.map +1 -1
- package/dist/esm/{pkcs10_certificate_request-HIoLPXGQ.js → pkcs10_certificate_request-Crr9FABo.js} +3 -3
- package/dist/esm/{pkcs10_certificate_request-HIoLPXGQ.js.map → pkcs10_certificate_request-Crr9FABo.js.map} +1 -1
- package/dist/esm/{ssh_certificate-rmToyzuK.js → ssh_certificate-CmOVFH_Z.js} +89 -88
- package/dist/esm/ssh_certificate-CmOVFH_Z.js.map +1 -0
- package/dist/esm/{x509_certificate-C1VvfHQ5.js → x509_certificate-C2EVTspY.js} +4 -4
- package/dist/{esm-es5/x509_certificate-C1VvfHQ5.js.map → esm/x509_certificate-C2EVTspY.js.map} +1 -1
- package/dist/esm/{x509_crl-rfnWQkGD.js → x509_crl-Bdnys_YT.js} +5 -5
- package/dist/{esm-es5/x509_crl-rfnWQkGD.js.map → esm/x509_crl-Bdnys_YT.js.map} +1 -1
- package/dist/esm-es5/{actions-BOY2Tl0T.js → actions-CabuIstu.js} +3 -3
- package/dist/esm-es5/{actions-BOY2Tl0T.js.map → actions-CabuIstu.js.map} +1 -1
- package/dist/esm-es5/{arrow_top-DL0RWe4n.js → arrow_top-CWdnzNJA.js} +2 -2
- package/dist/{esm/arrow_top-DL0RWe4n.js.map → esm-es5/arrow_top-CWdnzNJA.js.map} +1 -1
- package/dist/esm-es5/{button-Bbh7MwG6.js → button-DoyFdU2L.js} +2 -2
- package/dist/{cjs/button-C8EWG_-r.js.map → esm-es5/button-DoyFdU2L.js.map} +1 -1
- package/dist/esm-es5/{cross-G84H_-QL.js → cross-B4NPVkar.js} +2 -2
- package/dist/{esm/cross-G84H_-QL.js.map → esm-es5/cross-B4NPVkar.js.map} +1 -1
- package/dist/esm-es5/{download-ykcxSgxU.js → download-C7Viw-3R.js} +2 -2
- package/dist/esm-es5/{download-ykcxSgxU.js.map → download-C7Viw-3R.js.map} +1 -1
- package/dist/esm-es5/{extension-B3br1_Py.js → extension-xW03sQxn.js} +2 -2
- package/dist/esm-es5/extension-xW03sQxn.js.map +1 -0
- package/dist/esm-es5/index-B0tLzdJT.js +6 -0
- package/dist/esm-es5/index-B0tLzdJT.js.map +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{link-CGURvKy1.js → link-BDCg-T_l.js} +3 -3
- package/dist/esm-es5/{link-CGURvKy1.js.map → link-BDCg-T_l.js.map} +1 -1
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{miscellaneous-phHcBJWR.js → miscellaneous-DxE6a1mr.js} +4 -4
- package/dist/esm-es5/miscellaneous-DxE6a1mr.js.map +1 -0
- package/dist/esm-es5/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_5.entry.js +3 -3
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_5.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-button-menu_3.entry.js +1 -1
- package/dist/esm-es5/peculiar-button-menu_3.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-certificate-decoder.entry.js +2 -2
- package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js +2 -2
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js +2 -2
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-text-hider.entry.js +1 -1
- package/dist/esm-es5/peculiar.js +2 -2
- package/dist/esm-es5/peculiar.js.map +1 -1
- package/dist/esm-es5/{pkcs10_certificate_request-HIoLPXGQ.js → pkcs10_certificate_request-Crr9FABo.js} +3 -3
- package/dist/esm-es5/{pkcs10_certificate_request-HIoLPXGQ.js.map → pkcs10_certificate_request-Crr9FABo.js.map} +1 -1
- package/dist/esm-es5/{ssh_certificate-rmToyzuK.js → ssh_certificate-CmOVFH_Z.js} +5 -5
- package/dist/esm-es5/ssh_certificate-CmOVFH_Z.js.map +1 -0
- package/dist/esm-es5/{x509_certificate-C1VvfHQ5.js → x509_certificate-C2EVTspY.js} +3 -3
- package/dist/{esm/x509_certificate-C1VvfHQ5.js.map → esm-es5/x509_certificate-C2EVTspY.js.map} +1 -1
- package/dist/esm-es5/{x509_crl-rfnWQkGD.js → x509_crl-Bdnys_YT.js} +4 -4
- package/dist/{esm/x509_crl-rfnWQkGD.js.map → esm-es5/x509_crl-Bdnys_YT.js.map} +1 -1
- package/dist/peculiar/index.esm.js +1 -1
- package/dist/peculiar/p--UIbyTPo.system.js.map +1 -0
- package/dist/peculiar/{p-872f7312.system.entry.js → p-16bd5fac.system.entry.js} +18 -18
- package/dist/peculiar/p-16bd5fac.system.entry.js.map +1 -0
- package/dist/peculiar/{p-04422929.entry.js → p-26e1e392.entry.js} +3 -3
- package/dist/peculiar/p-26e1e392.entry.js.map +1 -0
- package/dist/peculiar/{p-154dd0da.entry.js → p-2c5ec624.entry.js} +2 -2
- package/dist/peculiar/p-2c5ec624.entry.js.map +1 -0
- package/dist/peculiar/{p-27ae6a3a.entry.js → p-4111bd62.entry.js} +2 -2
- package/dist/peculiar/p-4111bd62.entry.js.map +1 -0
- package/dist/peculiar/{p-3685975d.system.entry.js → p-4b510453.system.entry.js} +3 -3
- package/dist/peculiar/p-4b510453.system.entry.js.map +1 -0
- package/dist/peculiar/{p-6f0f2749.system.entry.js → p-4fc81fd0.system.entry.js} +3 -3
- package/dist/peculiar/p-4fc81fd0.system.entry.js.map +1 -0
- package/dist/peculiar/p-51832de2.entry.js +152 -0
- package/dist/peculiar/p-51832de2.entry.js.map +1 -0
- package/dist/peculiar/{p-B4PdAFCr.system.js → p-AHlPpL1z.system.js} +2 -2
- package/dist/peculiar/{p-B4PdAFCr.system.js.map → p-AHlPpL1z.system.js.map} +1 -1
- package/dist/peculiar/p-B0tLzdJT.js +6 -0
- package/dist/peculiar/p-B0tLzdJT.js.map +1 -0
- package/dist/peculiar/{p-B1eGYq5U.js → p-B4vvBwd6.js} +3 -3
- package/dist/peculiar/{p-B1eGYq5U.js.map → p-B4vvBwd6.js.map} +1 -1
- package/dist/peculiar/{p-CYFfXlCT.js → p-B7cL9SBA.js} +4 -4
- package/dist/peculiar/{p-CYFfXlCT.js.map → p-B7cL9SBA.js.map} +1 -1
- package/dist/peculiar/{p-DanjeXNk.js → p-BAAnYCav.js} +3 -3
- package/dist/peculiar/{p-DanjeXNk.js.map → p-BAAnYCav.js.map} +1 -1
- package/dist/peculiar/{p-CHnDlTqM.js → p-BLjDwIXV.js} +3 -3
- package/dist/peculiar/{p-CHnDlTqM.js.map → p-BLjDwIXV.js.map} +1 -1
- package/dist/peculiar/{p-CutTi-2B.js → p-BNRN5kAu.js} +2 -2
- package/dist/peculiar/{p-CutTi-2B.js.map → p-BNRN5kAu.js.map} +1 -1
- package/dist/peculiar/{p-Bi5mjeeg.system.js → p-BX5m4Pk2.system.js} +2 -2
- package/dist/peculiar/{p-Bi5mjeeg.system.js.map → p-BX5m4Pk2.system.js.map} +1 -1
- package/dist/peculiar/{p-N3w4Sc5c.system.js.map → p-BdGJr6Nw.system.js.map} +1 -1
- package/dist/peculiar/{p-CTksa0ml.system.js → p-Bfl7RVFY.system.js} +4 -4
- package/dist/peculiar/{p-CTksa0ml.system.js.map → p-Bfl7RVFY.system.js.map} +1 -1
- package/dist/peculiar/{p-B8_0p5ke.js → p-BjREwt05.js} +43 -43
- package/dist/peculiar/p-BjREwt05.js.map +1 -0
- package/dist/peculiar/{p-BGASC3UX.system.js → p-BjfN0sUP.system.js} +3 -3
- package/dist/peculiar/p-BjfN0sUP.system.js.map +1 -0
- package/dist/peculiar/{p-DMZr5ztF.js → p-BrjKJZAs.js} +2 -2
- package/dist/peculiar/{p-DMZr5ztF.js.map → p-BrjKJZAs.js.map} +1 -1
- package/dist/peculiar/{p-CkePJXWQ.js → p-BxiR02Uf.js} +4 -4
- package/dist/peculiar/{p-CkePJXWQ.js.map → p-BxiR02Uf.js.map} +1 -1
- package/dist/peculiar/{p-ZT6tVIen.js → p-C-zA8CWJ.js} +2 -2
- package/dist/peculiar/{p-ZT6tVIen.js.map → p-C-zA8CWJ.js.map} +1 -1
- package/dist/peculiar/{p-Bknpl7EO.system.js → p-C9U3cZjb.system.js} +3 -3
- package/dist/peculiar/{p-Bknpl7EO.system.js.map → p-C9U3cZjb.system.js.map} +1 -1
- package/dist/peculiar/{p-DorRvFf7.system.js → p-CCPSoWEH.system.js} +43 -43
- package/dist/peculiar/p-CCPSoWEH.system.js.map +1 -0
- package/dist/peculiar/{p-ZxTK29QB.system.js → p-CGipIfjs.system.js} +5 -5
- package/dist/peculiar/{p-ZxTK29QB.system.js.map → p-CGipIfjs.system.js.map} +1 -1
- package/dist/peculiar/{p-kq9wAWxW.system.js → p-CLcRtCZ9.system.js} +5 -5
- package/dist/peculiar/p-CLcRtCZ9.system.js.map +1 -0
- package/dist/peculiar/{p-CdS84qJs.system.js → p-CNRpL2vk.system.js} +2 -2
- package/dist/peculiar/{p-CdS84qJs.system.js.map → p-CNRpL2vk.system.js.map} +1 -1
- package/dist/peculiar/{p-JyD6URnB.js → p-CVqAvraM.js} +2 -2
- package/dist/peculiar/{p-JyD6URnB.js.map → p-CVqAvraM.js.map} +1 -1
- package/dist/peculiar/{p-D8xU284r.system.js → p-CWwlqwKM.system.js} +2 -2
- package/dist/peculiar/{p-D8xU284r.system.js.map → p-CWwlqwKM.system.js.map} +1 -1
- package/dist/peculiar/p-CbJUBy06.system.js +5 -0
- package/dist/peculiar/p-CbJUBy06.system.js.map +1 -0
- package/dist/peculiar/p-CfHXB_pJ.system.js.map +1 -0
- package/dist/peculiar/p-Ckf8xErP.system.js +12 -0
- package/dist/peculiar/p-Ckf8xErP.system.js.map +1 -0
- package/dist/peculiar/{p-rmToyzuK.js → p-CmOVFH_Z.js} +4 -4
- package/dist/peculiar/p-CmOVFH_Z.js.map +1 -0
- package/dist/peculiar/{p-CbJQZ9Hh.system.js.map → p-Cp79UjaU.system.js.map} +1 -1
- package/dist/peculiar/p-D4MqnJ9p.system.js.map +1 -0
- package/dist/peculiar/p-D5BlV4_w.system.js +6 -0
- package/dist/peculiar/p-D5BlV4_w.system.js.map +1 -0
- package/dist/peculiar/{p-eziSY5IJ.system.js.map → p-DOSHmuRc.system.js.map} +1 -1
- package/dist/peculiar/p-DXA1451q.js +12 -0
- package/dist/peculiar/p-DXA1451q.js.map +1 -0
- package/dist/peculiar/{p-DkshB-5z.system.js → p-DberG072.system.js} +5 -5
- package/dist/peculiar/{p-DkshB-5z.system.js.map → p-DberG072.system.js.map} +1 -1
- package/dist/peculiar/{p-de857304.system.entry.js → p-ae88bf01.system.entry.js} +2 -2
- package/dist/peculiar/p-ae88bf01.system.entry.js.map +1 -0
- package/dist/peculiar/{p-a4454e2d.system.entry.js → p-c4bbd44c.system.entry.js} +3 -3
- package/dist/peculiar/p-c4bbd44c.system.entry.js.map +1 -0
- package/dist/peculiar/{p-9d9f24bd.entry.js → p-d212830c.entry.js} +2 -2
- package/dist/peculiar/p-d212830c.entry.js.map +1 -0
- package/dist/peculiar/{p-019339d6.entry.js → p-e40e47be.entry.js} +2 -2
- package/dist/peculiar/p-e40e47be.entry.js.map +1 -0
- package/dist/peculiar/{p-607d08e8.system.entry.js → p-ef52478f.system.entry.js} +2 -2
- package/dist/peculiar/p-ef52478f.system.entry.js.map +1 -0
- package/dist/peculiar/p-qOxEa6Ap.system.js.map +1 -0
- package/dist/peculiar/{p-NnCM1ETy.system.js → p-vusQjz44.system.js} +2 -2
- package/dist/peculiar/{p-NnCM1ETy.system.js.map → p-vusQjz44.system.js.map} +1 -1
- package/dist/peculiar/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.esm.js.map +1 -1
- package/dist/peculiar/peculiar-certificate-decoder.entry.esm.js.map +1 -1
- package/dist/peculiar/peculiar-certificate-viewer.entry.esm.js.map +1 -1
- package/dist/peculiar/peculiar-certificates-viewer.entry.esm.js.map +1 -1
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/dist/peculiar/peculiar.esm.js.map +1 -1
- package/dist/peculiar/peculiar.js +1 -1
- package/dist/types/crypto/ssh_certificate.d.ts +1 -1
- package/dist/types/interface.d.ts +86 -86
- package/dist/types/stencil-public-runtime.d.ts +49 -2
- package/hydrate/index.d.ts +2 -0
- package/hydrate/index.js +368 -496
- package/hydrate/index.mjs +368 -496
- package/package.json +4 -4
- package/dist/cjs/cross-3DqhA0G_.js +0 -52
- package/dist/cjs/download-DQP0KR4o.js +0 -24
- package/dist/cjs/extension-CjXYQXbF.js.map +0 -1
- package/dist/cjs/index-uHmGhObe.js.map +0 -1
- package/dist/cjs/miscellaneous-7gtHz795.js.map +0 -1
- package/dist/cjs/peculiar-attribute-certificate-viewer_5.cjs.entry.js.map +0 -1
- package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +0 -1
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +0 -1
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +0 -1
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +0 -1
- package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +0 -1
- package/dist/cjs/ssh_certificate-DnXj2sM0.js.map +0 -1
- package/dist/esm/cross-G84H_-QL.js +0 -48
- package/dist/esm/download-ykcxSgxU.js +0 -22
- package/dist/esm/extension-B3br1_Py.js.map +0 -1
- package/dist/esm/index-CwgZaF40.js.map +0 -1
- package/dist/esm/miscellaneous-phHcBJWR.js.map +0 -1
- package/dist/esm/peculiar-attribute-certificate-viewer_5.entry.js.map +0 -1
- package/dist/esm/peculiar-button-menu_3.entry.js.map +0 -1
- package/dist/esm/ssh_certificate-rmToyzuK.js.map +0 -1
- package/dist/esm-es5/extension-B3br1_Py.js.map +0 -1
- package/dist/esm-es5/index-CwgZaF40.js +0 -6
- package/dist/esm-es5/index-CwgZaF40.js.map +0 -1
- package/dist/esm-es5/miscellaneous-phHcBJWR.js.map +0 -1
- package/dist/esm-es5/ssh_certificate-rmToyzuK.js.map +0 -1
- package/dist/peculiar/p-019339d6.entry.js.map +0 -1
- package/dist/peculiar/p-04422929.entry.js.map +0 -1
- package/dist/peculiar/p-154dd0da.entry.js.map +0 -1
- package/dist/peculiar/p-27ae6a3a.entry.js.map +0 -1
- package/dist/peculiar/p-3685975d.system.entry.js.map +0 -1
- package/dist/peculiar/p-607d08e8.system.entry.js.map +0 -1
- package/dist/peculiar/p-6f0f2749.system.entry.js.map +0 -1
- package/dist/peculiar/p-7385d0bb.entry.js +0 -152
- package/dist/peculiar/p-7385d0bb.entry.js.map +0 -1
- package/dist/peculiar/p-872f7312.system.entry.js.map +0 -1
- package/dist/peculiar/p-9d9f24bd.entry.js.map +0 -1
- package/dist/peculiar/p-B2GW-g6v.system.js +0 -5
- package/dist/peculiar/p-B2GW-g6v.system.js.map +0 -1
- package/dist/peculiar/p-B8_0p5ke.js.map +0 -1
- package/dist/peculiar/p-BGASC3UX.system.js.map +0 -1
- package/dist/peculiar/p-BdfvItQB.system.js.map +0 -1
- package/dist/peculiar/p-BtqN4pgo.js +0 -12
- package/dist/peculiar/p-BtqN4pgo.js.map +0 -1
- package/dist/peculiar/p-CuX3t1Hg.system.js.map +0 -1
- package/dist/peculiar/p-Cv-b9S6H.system.js.map +0 -1
- package/dist/peculiar/p-CwgZaF40.js +0 -6
- package/dist/peculiar/p-CwgZaF40.js.map +0 -1
- package/dist/peculiar/p-D0w6miI2.system.js +0 -12
- package/dist/peculiar/p-D0w6miI2.system.js.map +0 -1
- package/dist/peculiar/p-DKl0YViA.system.js +0 -6
- package/dist/peculiar/p-DKl0YViA.system.js.map +0 -1
- package/dist/peculiar/p-DOFJd-ye.system.js.map +0 -1
- package/dist/peculiar/p-DorRvFf7.system.js.map +0 -1
- package/dist/peculiar/p-a4454e2d.system.entry.js.map +0 -1
- package/dist/peculiar/p-de857304.system.entry.js.map +0 -1
- package/dist/peculiar/p-kq9wAWxW.system.js.map +0 -1
- package/dist/peculiar/p-rmToyzuK.js.map +0 -1
package/hydrate/index.js
CHANGED
|
@@ -130,10 +130,10 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
130
130
|
|
|
131
131
|
|
|
132
132
|
const NAMESPACE = 'peculiar';
|
|
133
|
-
const BUILD = /* peculiar */ { hydratedSelectorName: "hydrated", slotRelocation: true, updatable: true};
|
|
133
|
+
const BUILD = /* peculiar */ { hydratedSelectorName: "hydrated", slotRelocation: true, state: true, updatable: true};
|
|
134
134
|
|
|
135
135
|
/*
|
|
136
|
-
Stencil Hydrate Platform v4.
|
|
136
|
+
Stencil Hydrate Platform v4.38.3 | MIT Licensed | https://stenciljs.com
|
|
137
137
|
*/
|
|
138
138
|
var __defProp = Object.defineProperty;
|
|
139
139
|
var __export = (target, all) => {
|
|
@@ -169,6 +169,40 @@ var TYPE_CONSTANT = "type";
|
|
|
169
169
|
var VALUE_CONSTANT = "value";
|
|
170
170
|
var SERIALIZED_PREFIX = "serialized:";
|
|
171
171
|
|
|
172
|
+
// src/utils/es2022-rewire-class-members.ts
|
|
173
|
+
var reWireGetterSetter = (instance, hostRef) => {
|
|
174
|
+
var _a;
|
|
175
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
176
|
+
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
177
|
+
members.map(([memberName, [memberFlags]]) => {
|
|
178
|
+
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
179
|
+
const ogValue = instance[memberName];
|
|
180
|
+
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
181
|
+
if (ogDescriptor) {
|
|
182
|
+
Object.defineProperty(instance, memberName, {
|
|
183
|
+
get() {
|
|
184
|
+
return ogDescriptor.get.call(this);
|
|
185
|
+
},
|
|
186
|
+
set(newValue) {
|
|
187
|
+
ogDescriptor.set.call(this, newValue);
|
|
188
|
+
},
|
|
189
|
+
configurable: true,
|
|
190
|
+
enumerable: true
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
};
|
|
197
|
+
function getPropertyDescriptor(obj, memberName) {
|
|
198
|
+
while (obj) {
|
|
199
|
+
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
200
|
+
if (desc == null ? void 0 : desc.get) return desc;
|
|
201
|
+
obj = Object.getPrototypeOf(obj);
|
|
202
|
+
}
|
|
203
|
+
return void 0;
|
|
204
|
+
}
|
|
205
|
+
|
|
172
206
|
// src/utils/helpers.ts
|
|
173
207
|
var isDef = (v) => v != null && v !== void 0;
|
|
174
208
|
var isComplexType = (o) => {
|
|
@@ -726,7 +760,7 @@ var convertToPrivate = (node) => {
|
|
|
726
760
|
|
|
727
761
|
// src/runtime/client-hydrate.ts
|
|
728
762
|
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
729
|
-
var _a, _b
|
|
763
|
+
var _a, _b;
|
|
730
764
|
const endHydrate = createTime("hydrateClient", tagName);
|
|
731
765
|
const shadowRoot = hostElm.shadowRoot;
|
|
732
766
|
const childRenderNodes = [];
|
|
@@ -735,21 +769,6 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
735
769
|
const shadowRootNodes = shadowRoot ? [] : null;
|
|
736
770
|
const vnode = newVNode(tagName, null);
|
|
737
771
|
vnode.$elm$ = hostElm;
|
|
738
|
-
const members = Object.entries(((_a = hostRef.$cmpMeta$) == null ? void 0 : _a.$members$) || {});
|
|
739
|
-
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
740
|
-
var _b2;
|
|
741
|
-
if (!(memberFlags & 31 /* Prop */)) {
|
|
742
|
-
return;
|
|
743
|
-
}
|
|
744
|
-
const attributeName = metaAttributeName || memberName;
|
|
745
|
-
const attrVal = hostElm.getAttribute(attributeName);
|
|
746
|
-
if (attrVal !== null) {
|
|
747
|
-
const attrPropVal = parsePropertyValue(
|
|
748
|
-
attrVal,
|
|
749
|
-
memberFlags);
|
|
750
|
-
(_b2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b2.set(memberName, attrPropVal);
|
|
751
|
-
}
|
|
752
|
-
});
|
|
753
772
|
let scopeId2;
|
|
754
773
|
{
|
|
755
774
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -788,7 +807,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
788
807
|
if (childRenderNode.$tag$ === "slot") {
|
|
789
808
|
node["s-cr"] = hostElm["s-cr"];
|
|
790
809
|
}
|
|
791
|
-
} else if (((
|
|
810
|
+
} else if (((_a = childRenderNode.$tag$) == null ? void 0 : _a.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
|
|
792
811
|
const cmpMeta = getHostRef(childRenderNode.$elm$);
|
|
793
812
|
if (cmpMeta) {
|
|
794
813
|
const scopeId3 = getScopeId(
|
|
@@ -857,7 +876,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
857
876
|
}
|
|
858
877
|
}
|
|
859
878
|
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
860
|
-
if (((
|
|
879
|
+
if (((_b = slottedItem.node.parentElement) == null ? void 0 : _b.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
|
|
861
880
|
slottedItem.node.removeAttribute("slot");
|
|
862
881
|
}
|
|
863
882
|
}
|
|
@@ -1561,13 +1580,6 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
|
|
|
1561
1580
|
return cssText;
|
|
1562
1581
|
};
|
|
1563
1582
|
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
1564
|
-
if (typeof propValue === "string" && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
|
|
1565
|
-
try {
|
|
1566
|
-
propValue = JSON.parse(propValue);
|
|
1567
|
-
return propValue;
|
|
1568
|
-
} catch (e) {
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
1583
|
if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
|
|
1572
1584
|
propValue = deserializeProperty(propValue);
|
|
1573
1585
|
return propValue;
|
|
@@ -2167,9 +2179,11 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
2167
2179
|
hostTagName = hostElm.tagName;
|
|
2168
2180
|
if (cmpMeta.$attrsToReflect$) {
|
|
2169
2181
|
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
2170
|
-
cmpMeta.$attrsToReflect$.
|
|
2171
|
-
|
|
2172
|
-
|
|
2182
|
+
cmpMeta.$attrsToReflect$.forEach(([propName, attribute]) => {
|
|
2183
|
+
{
|
|
2184
|
+
rootVnode.$attrs$[attribute] = hostElm[propName];
|
|
2185
|
+
}
|
|
2186
|
+
});
|
|
2173
2187
|
}
|
|
2174
2188
|
if (isInitialLoad && rootVnode.$attrs$) {
|
|
2175
2189
|
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
@@ -2296,6 +2310,11 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
2296
2310
|
}
|
|
2297
2311
|
let maybePromise;
|
|
2298
2312
|
if (isInitialLoad) {
|
|
2313
|
+
{
|
|
2314
|
+
if (hostRef.$fetchedCbList$.length) {
|
|
2315
|
+
hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
|
|
2316
|
+
}
|
|
2317
|
+
}
|
|
2299
2318
|
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
2300
2319
|
} else {
|
|
2301
2320
|
maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
|
|
@@ -2500,9 +2519,17 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
2500
2519
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
2501
2520
|
var _a;
|
|
2502
2521
|
const prototype = Cstr.prototype;
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
cmpMeta.$watchers$
|
|
2522
|
+
{
|
|
2523
|
+
{
|
|
2524
|
+
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
2525
|
+
cmpMeta.$watchers$ = Cstr.watchers;
|
|
2526
|
+
}
|
|
2527
|
+
if (Cstr.deserializers && !cmpMeta.$deserializers$) {
|
|
2528
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
2529
|
+
}
|
|
2530
|
+
if (Cstr.serializers && !cmpMeta.$serializers$) {
|
|
2531
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
2532
|
+
}
|
|
2506
2533
|
}
|
|
2507
2534
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
2508
2535
|
members.map(([memberName, [memberFlags]]) => {
|
|
@@ -2537,8 +2564,6 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2537
2564
|
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
2538
2565
|
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
2539
2566
|
newValue = ref.$instanceValues$.get(memberName);
|
|
2540
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
2541
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
2542
2567
|
}
|
|
2543
2568
|
origSetter.apply(this, [
|
|
2544
2569
|
parsePropertyValue(
|
|
@@ -2584,6 +2609,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
2584
2609
|
if (!Cstr.isProxied) {
|
|
2585
2610
|
{
|
|
2586
2611
|
cmpMeta.$watchers$ = Cstr.watchers;
|
|
2612
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
2613
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
2587
2614
|
}
|
|
2588
2615
|
proxyComponent(Cstr, cmpMeta);
|
|
2589
2616
|
Cstr.isProxied = true;
|
|
@@ -2873,6 +2900,9 @@ var hAsync = (nodeName, vnodeData, ...children) => {
|
|
|
2873
2900
|
// src/hydrate/platform/proxy-host-element.ts
|
|
2874
2901
|
function proxyHostElement(elm, cstr) {
|
|
2875
2902
|
const cmpMeta = cstr.cmpMeta;
|
|
2903
|
+
cmpMeta.$watchers$ = cmpMeta.$watchers$ || cstr.watchers;
|
|
2904
|
+
cmpMeta.$deserializers$ = cmpMeta.$deserializers$ || cstr.deserializers;
|
|
2905
|
+
cmpMeta.$serializers$ = cmpMeta.$serializers$ || cstr.serializers;
|
|
2876
2906
|
if (typeof elm.componentOnReady !== "function") {
|
|
2877
2907
|
elm.componentOnReady = componentOnReady;
|
|
2878
2908
|
}
|
|
@@ -2886,7 +2916,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
2886
2916
|
const hostRef = getHostRef(elm);
|
|
2887
2917
|
const members = Object.entries(cmpMeta.$members$);
|
|
2888
2918
|
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
2889
|
-
var _a;
|
|
2919
|
+
var _a, _b;
|
|
2890
2920
|
if (memberFlags & 31 /* Prop */) {
|
|
2891
2921
|
const attributeName = metaAttributeName || memberName;
|
|
2892
2922
|
const attrValue = elm.getAttribute(attributeName);
|
|
@@ -2894,7 +2924,13 @@ function proxyHostElement(elm, cstr) {
|
|
|
2894
2924
|
let attrPropVal;
|
|
2895
2925
|
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(cstr.prototype, memberName) || {};
|
|
2896
2926
|
if (attrValue != null) {
|
|
2897
|
-
|
|
2927
|
+
if ((_a = cmpMeta.$deserializers$) == null ? void 0 : _a[memberName]) {
|
|
2928
|
+
for (const methodName of cmpMeta.$deserializers$[memberName]) {
|
|
2929
|
+
attrPropVal = cstr.prototype[methodName](attrValue, memberName);
|
|
2930
|
+
}
|
|
2931
|
+
} else {
|
|
2932
|
+
attrPropVal = parsePropertyValue(attrValue, memberFlags);
|
|
2933
|
+
}
|
|
2898
2934
|
}
|
|
2899
2935
|
if (propValue !== void 0) {
|
|
2900
2936
|
attrPropVal = propValue;
|
|
@@ -2905,7 +2941,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
2905
2941
|
origSetter.apply(elm, [attrPropVal]);
|
|
2906
2942
|
attrPropVal = origGetter ? origGetter.apply(elm) : attrPropVal;
|
|
2907
2943
|
}
|
|
2908
|
-
(
|
|
2944
|
+
(_b = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b.set(memberName, attrPropVal);
|
|
2909
2945
|
}
|
|
2910
2946
|
const getterSetterDescriptor = {
|
|
2911
2947
|
get: function() {
|
|
@@ -2919,21 +2955,18 @@ function proxyHostElement(elm, cstr) {
|
|
|
2919
2955
|
};
|
|
2920
2956
|
Object.defineProperty(elm, memberName, getterSetterDescriptor);
|
|
2921
2957
|
Object.defineProperty(elm, metaAttributeName, getterSetterDescriptor);
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
enumerable: true
|
|
2935
|
-
});
|
|
2936
|
-
}
|
|
2958
|
+
hostRef.$fetchedCbList$.push(() => {
|
|
2959
|
+
var _a2;
|
|
2960
|
+
if (!((_a2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a2.has(memberName))) {
|
|
2961
|
+
setValue(
|
|
2962
|
+
elm,
|
|
2963
|
+
memberName,
|
|
2964
|
+
attrPropVal !== void 0 ? attrPropVal : hostRef.$lazyInstance$[memberName],
|
|
2965
|
+
cmpMeta
|
|
2966
|
+
);
|
|
2967
|
+
}
|
|
2968
|
+
Object.defineProperty(hostRef.$lazyInstance$, memberName, getterSetterDescriptor);
|
|
2969
|
+
});
|
|
2937
2970
|
} else if (memberFlags & 64 /* Method */) {
|
|
2938
2971
|
Object.defineProperty(elm, memberName, {
|
|
2939
2972
|
value(...args) {
|
|
@@ -2949,7 +2982,6 @@ function proxyHostElement(elm, cstr) {
|
|
|
2949
2982
|
});
|
|
2950
2983
|
}
|
|
2951
2984
|
});
|
|
2952
|
-
cstr.prototype.__stencilAugmented = true;
|
|
2953
2985
|
}
|
|
2954
2986
|
}
|
|
2955
2987
|
function componentOnReady() {
|
|
@@ -3298,8 +3330,12 @@ var getHostRef = (ref) => {
|
|
|
3298
3330
|
return void 0;
|
|
3299
3331
|
};
|
|
3300
3332
|
var registerInstance = (lazyInstance, hostRef) => {
|
|
3333
|
+
if (!hostRef) return void 0;
|
|
3301
3334
|
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
3302
3335
|
hostRef.$lazyInstance$ = lazyInstance;
|
|
3336
|
+
if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.state)) {
|
|
3337
|
+
reWireGetterSetter(lazyInstance, hostRef);
|
|
3338
|
+
}
|
|
3303
3339
|
return hostRef;
|
|
3304
3340
|
};
|
|
3305
3341
|
var registerHost = (elm, cmpMeta) => {
|
|
@@ -3308,8 +3344,10 @@ var registerHost = (elm, cmpMeta) => {
|
|
|
3308
3344
|
$cmpMeta$: cmpMeta,
|
|
3309
3345
|
$hostElement$: elm,
|
|
3310
3346
|
$instanceValues$: /* @__PURE__ */ new Map(),
|
|
3347
|
+
$serializerValues$: /* @__PURE__ */ new Map(),
|
|
3311
3348
|
$renderCount$: 0
|
|
3312
3349
|
};
|
|
3350
|
+
hostRef.$fetchedCbList$ = [];
|
|
3313
3351
|
hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
|
|
3314
3352
|
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
|
3315
3353
|
elm["s-p"] = [];
|
|
@@ -7488,6 +7526,7 @@ const AsnProp = (options) => (target, propertyKey) => {
|
|
|
7488
7526
|
}
|
|
7489
7527
|
copyOptions.converter = defaultConverter$1;
|
|
7490
7528
|
}
|
|
7529
|
+
copyOptions.raw = options.raw;
|
|
7491
7530
|
schema.items[propertyKey] = copyOptions;
|
|
7492
7531
|
};
|
|
7493
7532
|
|
|
@@ -7524,15 +7563,11 @@ class AsnParser {
|
|
|
7524
7563
|
targetSchema = choiceResult.targetSchema;
|
|
7525
7564
|
}
|
|
7526
7565
|
const sequenceResult = this.handleSequenceTypes(asn1Schema, schema, target, targetSchema);
|
|
7527
|
-
if (sequenceResult && "isManualMapping" in sequenceResult) {
|
|
7528
|
-
return sequenceResult.result;
|
|
7529
|
-
}
|
|
7530
|
-
const asn1ComparedSchema = sequenceResult;
|
|
7531
7566
|
const res = new target();
|
|
7532
7567
|
if (isTypeOfArray(target)) {
|
|
7533
7568
|
return this.handleArrayTypes(asn1Schema, schema, target);
|
|
7534
7569
|
}
|
|
7535
|
-
this.processSchemaItems(schema,
|
|
7570
|
+
this.processSchemaItems(schema, sequenceResult, res);
|
|
7536
7571
|
return res;
|
|
7537
7572
|
}
|
|
7538
7573
|
catch (error) {
|
|
@@ -7586,65 +7621,20 @@ class AsnParser {
|
|
|
7586
7621
|
}
|
|
7587
7622
|
static handleSequenceTypes(asn1Schema, schema, target, targetSchema) {
|
|
7588
7623
|
if (schema.type === AsnTypeTypes.Sequence) {
|
|
7589
|
-
const optionalChoiceFields = Object.keys(schema.items).filter((key) => {
|
|
7590
|
-
const item = schema.items[key];
|
|
7591
|
-
return (item.optional &&
|
|
7592
|
-
typeof item.type === "function" &&
|
|
7593
|
-
schemaStorage.has(item.type) &&
|
|
7594
|
-
schemaStorage.get(item.type).type === AsnTypeTypes.Choice);
|
|
7595
|
-
});
|
|
7596
|
-
if (optionalChoiceFields.length > 0 &&
|
|
7597
|
-
"value" in asn1Schema.valueBlock &&
|
|
7598
|
-
Array.isArray(asn1Schema.valueBlock.value) &&
|
|
7599
|
-
target.name === "CertReqMsg") {
|
|
7600
|
-
return this.handleManualMapping(asn1Schema, schema, target);
|
|
7601
|
-
}
|
|
7602
7624
|
const asn1ComparedSchema = compareSchema({}, asn1Schema, targetSchema);
|
|
7603
7625
|
if (!asn1ComparedSchema.verified) {
|
|
7604
|
-
throw new AsnSchemaValidationError(`Data does not match to ${target.name} ASN1 schema. ${asn1ComparedSchema.result.error}`);
|
|
7626
|
+
throw new AsnSchemaValidationError(`Data does not match to ${target.name} ASN1 schema.${asn1ComparedSchema.result.error ? ` ${asn1ComparedSchema.result.error}` : ""}`);
|
|
7605
7627
|
}
|
|
7606
7628
|
return asn1ComparedSchema;
|
|
7607
7629
|
}
|
|
7608
7630
|
else {
|
|
7609
7631
|
const asn1ComparedSchema = compareSchema({}, asn1Schema, targetSchema);
|
|
7610
7632
|
if (!asn1ComparedSchema.verified) {
|
|
7611
|
-
throw new AsnSchemaValidationError(`Data does not match to ${target.name} ASN1 schema. ${asn1ComparedSchema.result.error}`);
|
|
7633
|
+
throw new AsnSchemaValidationError(`Data does not match to ${target.name} ASN1 schema.${asn1ComparedSchema.result.error ? ` ${asn1ComparedSchema.result.error}` : ""}`);
|
|
7612
7634
|
}
|
|
7613
7635
|
return asn1ComparedSchema;
|
|
7614
7636
|
}
|
|
7615
7637
|
}
|
|
7616
|
-
static handleManualMapping(asn1Schema, schema, target) {
|
|
7617
|
-
const res = new target();
|
|
7618
|
-
const asn1Elements = asn1Schema.valueBlock.value;
|
|
7619
|
-
const schemaKeys = Object.keys(schema.items);
|
|
7620
|
-
let asn1Index = 0;
|
|
7621
|
-
for (let i = 0; i < schemaKeys.length; i++) {
|
|
7622
|
-
const key = schemaKeys[i];
|
|
7623
|
-
const schemaItem = schema.items[key];
|
|
7624
|
-
if (asn1Index >= asn1Elements.length)
|
|
7625
|
-
break;
|
|
7626
|
-
if (schemaItem.repeated) {
|
|
7627
|
-
res[key] = this.processRepeatedField(asn1Elements, asn1Index, schemaItem);
|
|
7628
|
-
break;
|
|
7629
|
-
}
|
|
7630
|
-
else if (typeof schemaItem.type === "number") {
|
|
7631
|
-
res[key] = this.processPrimitiveField(asn1Elements[asn1Index], schemaItem);
|
|
7632
|
-
asn1Index++;
|
|
7633
|
-
}
|
|
7634
|
-
else if (this.isOptionalChoiceField(schemaItem)) {
|
|
7635
|
-
const result = this.processOptionalChoiceField(asn1Elements[asn1Index], schemaItem);
|
|
7636
|
-
if (result.processed) {
|
|
7637
|
-
res[key] = result.value;
|
|
7638
|
-
asn1Index++;
|
|
7639
|
-
}
|
|
7640
|
-
}
|
|
7641
|
-
else {
|
|
7642
|
-
res[key] = this.fromASN(asn1Elements[asn1Index], schemaItem.type);
|
|
7643
|
-
asn1Index++;
|
|
7644
|
-
}
|
|
7645
|
-
}
|
|
7646
|
-
return { result: res, verified: true, isManualMapping: true };
|
|
7647
|
-
}
|
|
7648
7638
|
static processRepeatedField(asn1Elements, asn1Index, schemaItem) {
|
|
7649
7639
|
let elementsToProcess = asn1Elements.slice(asn1Index);
|
|
7650
7640
|
if (elementsToProcess.length === 1 && elementsToProcess[0].constructor.name === "Sequence") {
|
|
@@ -7732,11 +7722,22 @@ class AsnParser {
|
|
|
7732
7722
|
}
|
|
7733
7723
|
const schemaItem = schema.items[key];
|
|
7734
7724
|
const schemaItemType = schemaItem.type;
|
|
7725
|
+
let parsedValue;
|
|
7735
7726
|
if (typeof schemaItemType === "number" || isConvertible(schemaItemType)) {
|
|
7736
|
-
|
|
7727
|
+
parsedValue = this.processPrimitiveSchemaItem(asn1SchemaValue, schemaItem, schemaItemType);
|
|
7728
|
+
}
|
|
7729
|
+
else {
|
|
7730
|
+
parsedValue = this.processComplexSchemaItem(asn1SchemaValue, schemaItem, schemaItemType);
|
|
7731
|
+
}
|
|
7732
|
+
if (parsedValue &&
|
|
7733
|
+
typeof parsedValue === "object" &&
|
|
7734
|
+
"value" in parsedValue &&
|
|
7735
|
+
"raw" in parsedValue) {
|
|
7736
|
+
res[key] = parsedValue.value;
|
|
7737
|
+
res[`${key}Raw`] = parsedValue.raw;
|
|
7737
7738
|
}
|
|
7738
7739
|
else {
|
|
7739
|
-
res[key] =
|
|
7740
|
+
res[key] = parsedValue;
|
|
7740
7741
|
}
|
|
7741
7742
|
}
|
|
7742
7743
|
}
|
|
@@ -7817,7 +7818,14 @@ class AsnParser {
|
|
|
7817
7818
|
}
|
|
7818
7819
|
}
|
|
7819
7820
|
else {
|
|
7820
|
-
|
|
7821
|
+
const parsedValue = this.fromASN(valueToProcess, schemaItemType);
|
|
7822
|
+
if (schemaItem.raw) {
|
|
7823
|
+
return {
|
|
7824
|
+
value: parsedValue,
|
|
7825
|
+
raw: asn1SchemaValue.valueBeforeDecodeView,
|
|
7826
|
+
};
|
|
7827
|
+
}
|
|
7828
|
+
return parsedValue;
|
|
7821
7829
|
}
|
|
7822
7830
|
}
|
|
7823
7831
|
}
|
|
@@ -9285,7 +9293,7 @@ class Certificate {
|
|
|
9285
9293
|
}
|
|
9286
9294
|
}
|
|
9287
9295
|
__decorate$1([
|
|
9288
|
-
AsnProp({ type: TBSCertificate })
|
|
9296
|
+
AsnProp({ type: TBSCertificate, raw: true })
|
|
9289
9297
|
], Certificate.prototype, "tbsCertificate", void 0);
|
|
9290
9298
|
__decorate$1([
|
|
9291
9299
|
AsnProp({ type: AlgorithmIdentifier })
|
|
@@ -9349,7 +9357,7 @@ class CertificateList {
|
|
|
9349
9357
|
}
|
|
9350
9358
|
}
|
|
9351
9359
|
__decorate$1([
|
|
9352
|
-
AsnProp({ type: TBSCertList })
|
|
9360
|
+
AsnProp({ type: TBSCertList, raw: true })
|
|
9353
9361
|
], CertificateList.prototype, "tbsCertList", void 0);
|
|
9354
9362
|
__decorate$1([
|
|
9355
9363
|
AsnProp({ type: AlgorithmIdentifier })
|
|
@@ -12588,14 +12596,19 @@ function camelCaseToWords(value) {
|
|
|
12588
12596
|
* LICENSE file in the root directory of this source tree.
|
|
12589
12597
|
*/
|
|
12590
12598
|
var __classPrivateFieldSet$2 = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
12591
|
-
if (kind === "m")
|
|
12592
|
-
|
|
12593
|
-
if (
|
|
12599
|
+
if (kind === "m")
|
|
12600
|
+
throw new TypeError("Private method is not writable");
|
|
12601
|
+
if (kind === "a" && !f)
|
|
12602
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
12603
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
12604
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
12594
12605
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
12595
12606
|
};
|
|
12596
12607
|
var __classPrivateFieldGet$2 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
12597
|
-
if (kind === "a" && !f)
|
|
12598
|
-
|
|
12608
|
+
if (kind === "a" && !f)
|
|
12609
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
12610
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
12611
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
12599
12612
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12600
12613
|
};
|
|
12601
12614
|
var _Name_asn;
|
|
@@ -12682,7 +12695,6 @@ const id_pe_qcStatements = `${id_pe$1}.3`;
|
|
|
12682
12695
|
class QCStatement {
|
|
12683
12696
|
constructor() {
|
|
12684
12697
|
this.statementId = "";
|
|
12685
|
-
this.statementInfo = new ArrayBuffer(0);
|
|
12686
12698
|
}
|
|
12687
12699
|
}
|
|
12688
12700
|
__decorate$1([
|
|
@@ -14124,8 +14136,12 @@ __decorate$1([
|
|
|
14124
14136
|
|
|
14125
14137
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
14126
14138
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14127
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
14128
|
-
|
|
14139
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
14140
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
14141
|
+
else
|
|
14142
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
14143
|
+
if (d = decorators[i])
|
|
14144
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14129
14145
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14130
14146
|
};
|
|
14131
14147
|
/**
|
|
@@ -14176,14 +14192,19 @@ __decorate([
|
|
|
14176
14192
|
* LICENSE file in the root directory of this source tree.
|
|
14177
14193
|
*/
|
|
14178
14194
|
var __classPrivateFieldSet$1 = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
14179
|
-
if (kind === "m")
|
|
14180
|
-
|
|
14181
|
-
if (
|
|
14195
|
+
if (kind === "m")
|
|
14196
|
+
throw new TypeError("Private method is not writable");
|
|
14197
|
+
if (kind === "a" && !f)
|
|
14198
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
14199
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
14200
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
14182
14201
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
14183
14202
|
};
|
|
14184
14203
|
var __classPrivateFieldGet$1 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
14185
|
-
if (kind === "a" && !f)
|
|
14186
|
-
|
|
14204
|
+
if (kind === "a" && !f)
|
|
14205
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
14206
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
14207
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
14187
14208
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
14188
14209
|
};
|
|
14189
14210
|
var _AsnData_asn, _AsnData_raw;
|
|
@@ -15341,7 +15362,14 @@ __decorate$1([
|
|
|
15341
15362
|
AsnProp({ type: DigestAlgorithmIdentifier })
|
|
15342
15363
|
], SignerInfo.prototype, "digestAlgorithm", void 0);
|
|
15343
15364
|
__decorate$1([
|
|
15344
|
-
AsnProp({
|
|
15365
|
+
AsnProp({
|
|
15366
|
+
type: Attribute$1,
|
|
15367
|
+
repeated: "set",
|
|
15368
|
+
context: 0,
|
|
15369
|
+
implicit: true,
|
|
15370
|
+
optional: true,
|
|
15371
|
+
raw: true,
|
|
15372
|
+
})
|
|
15345
15373
|
], SignerInfo.prototype, "signedAttrs", void 0);
|
|
15346
15374
|
__decorate$1([
|
|
15347
15375
|
AsnProp({ type: SignatureAlgorithmIdentifier })
|
|
@@ -15362,17 +15390,18 @@ SignerInfos = SignerInfos_1 = __decorate$1([
|
|
|
15362
15390
|
AsnType({ type: AsnTypeTypes.Set, itemType: SignerInfo })
|
|
15363
15391
|
], SignerInfos);
|
|
15364
15392
|
|
|
15365
|
-
let SigningTime$1 = class SigningTime extends Time {
|
|
15366
|
-
};
|
|
15367
|
-
SigningTime$1 = __decorate$1([
|
|
15368
|
-
AsnType({ type: AsnTypeTypes.Choice })
|
|
15369
|
-
], SigningTime$1);
|
|
15370
15393
|
let CounterSignature$1 = class CounterSignature extends SignerInfo {
|
|
15371
15394
|
};
|
|
15372
15395
|
CounterSignature$1 = __decorate$1([
|
|
15373
15396
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
15374
15397
|
], CounterSignature$1);
|
|
15375
15398
|
|
|
15399
|
+
let SigningTime$1 = class SigningTime extends Time {
|
|
15400
|
+
};
|
|
15401
|
+
SigningTime$1 = __decorate$1([
|
|
15402
|
+
AsnType({ type: AsnTypeTypes.Choice })
|
|
15403
|
+
], SigningTime$1);
|
|
15404
|
+
|
|
15376
15405
|
var CertificateSet_1;
|
|
15377
15406
|
class OtherCertificateFormat {
|
|
15378
15407
|
constructor(params = {}) {
|
|
@@ -16408,7 +16437,7 @@ __decorate$1([
|
|
|
16408
16437
|
AsnProp({ type: SubjectPublicKeyInfo })
|
|
16409
16438
|
], CertificationRequestInfo.prototype, "subjectPKInfo", void 0);
|
|
16410
16439
|
__decorate$1([
|
|
16411
|
-
AsnProp({ type: Attributes$1, implicit: true, context: 0 })
|
|
16440
|
+
AsnProp({ type: Attributes$1, implicit: true, context: 0, optional: true })
|
|
16412
16441
|
], CertificationRequestInfo.prototype, "attributes", void 0);
|
|
16413
16442
|
|
|
16414
16443
|
class CertificationRequest {
|
|
@@ -16420,7 +16449,7 @@ class CertificationRequest {
|
|
|
16420
16449
|
}
|
|
16421
16450
|
}
|
|
16422
16451
|
__decorate$1([
|
|
16423
|
-
AsnProp({ type: CertificationRequestInfo })
|
|
16452
|
+
AsnProp({ type: CertificationRequestInfo, raw: true })
|
|
16424
16453
|
], CertificationRequest.prototype, "certificationRequestInfo", void 0);
|
|
16425
16454
|
__decorate$1([
|
|
16426
16455
|
AsnProp({ type: AlgorithmIdentifier })
|
|
@@ -18238,21 +18267,28 @@ let SshCertificate$1 = class SshCertificate extends SshObject {
|
|
|
18238
18267
|
};
|
|
18239
18268
|
|
|
18240
18269
|
var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
18241
|
-
if (kind === "m")
|
|
18242
|
-
|
|
18243
|
-
if (
|
|
18270
|
+
if (kind === "m")
|
|
18271
|
+
throw new TypeError("Private method is not writable");
|
|
18272
|
+
if (kind === "a" && !f)
|
|
18273
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
18274
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
18275
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
18244
18276
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
18245
18277
|
};
|
|
18246
18278
|
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
18247
|
-
if (kind === "a" && !f)
|
|
18248
|
-
|
|
18279
|
+
if (kind === "a" && !f)
|
|
18280
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
18281
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
18282
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
18249
18283
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
18250
18284
|
};
|
|
18251
18285
|
var _SshCertificate_cert;
|
|
18252
18286
|
class SshCertificate {
|
|
18253
18287
|
constructor(raw) {
|
|
18254
18288
|
_SshCertificate_cert.set(this, void 0);
|
|
18255
|
-
const blob = parse(raw.trim())
|
|
18289
|
+
const blob = parse(Convert.isBase64Url(raw.trim())
|
|
18290
|
+
? Convert.ToString(Convert.FromBase64Url(raw.trim()))
|
|
18291
|
+
: raw.trim());
|
|
18256
18292
|
// @ts-expect-error - SshCertificateType is not a constructor
|
|
18257
18293
|
__classPrivateFieldSet(this, _SshCertificate_cert, new SshCertificate$1(blob), "f");
|
|
18258
18294
|
this.notBefore = __classPrivateFieldGet(this, _SshCertificate_cert, "f").validAfter;
|
|
@@ -18287,8 +18323,11 @@ class SshCertificate {
|
|
|
18287
18323
|
thumbprint: Convert.ToBase64(thumbprint),
|
|
18288
18324
|
};
|
|
18289
18325
|
}
|
|
18290
|
-
|
|
18291
|
-
|
|
18326
|
+
async toString(format = 'pem') {
|
|
18327
|
+
if (format === 'base64url') {
|
|
18328
|
+
const blob = await __classPrivateFieldGet(this, _SshCertificate_cert, "f").toSSH();
|
|
18329
|
+
return Convert.ToBase64Url(Convert.FromString(blob));
|
|
18330
|
+
}
|
|
18292
18331
|
return __classPrivateFieldGet(this, _SshCertificate_cert, "f").toSSH();
|
|
18293
18332
|
}
|
|
18294
18333
|
get commonName() {
|
|
@@ -18331,8 +18370,9 @@ function isLink(value) {
|
|
|
18331
18370
|
*/
|
|
18332
18371
|
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
18333
18372
|
var t = {};
|
|
18334
|
-
for (var p in s)
|
|
18335
|
-
|
|
18373
|
+
for (var p in s)
|
|
18374
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
18375
|
+
t[p] = s[p];
|
|
18336
18376
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18337
18377
|
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18338
18378
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
@@ -18364,9 +18404,7 @@ const Typography = (props, children) => {
|
|
|
18364
18404
|
[`t-${variant}`]: true,
|
|
18365
18405
|
[`c-${color}`]: true,
|
|
18366
18406
|
[classProp]: Boolean(classProp),
|
|
18367
|
-
} }),
|
|
18368
|
-
hAsync("span", null),
|
|
18369
|
-
children));
|
|
18407
|
+
} }), hAsync("span", null), children));
|
|
18370
18408
|
};
|
|
18371
18409
|
|
|
18372
18410
|
/**
|
|
@@ -18378,7 +18416,7 @@ const Typography = (props, children) => {
|
|
|
18378
18416
|
*/
|
|
18379
18417
|
const Link = (props, children) => {
|
|
18380
18418
|
const { href, variant, } = props;
|
|
18381
|
-
return (hAsync(Typography, { component: "a", variant: variant, color: "secondary",
|
|
18419
|
+
return (hAsync(Typography, { component: "a", variant: variant, color: "secondary",
|
|
18382
18420
|
// @ts-expect-error - href is a string
|
|
18383
18421
|
href: href, target: "_blank", rel: "noreferrer noopener" }, children));
|
|
18384
18422
|
};
|
|
@@ -18390,21 +18428,15 @@ const Link = (props, children) => {
|
|
|
18390
18428
|
* This source code is licensed under the MIT license found in the
|
|
18391
18429
|
* LICENSE file in the root directory of this source tree.
|
|
18392
18430
|
*/
|
|
18393
|
-
const TableRowTable = (_, children) => (hAsync("tr", null,
|
|
18394
|
-
hAsync("td", { colSpan: 2 },
|
|
18395
|
-
hAsync("table", null, children))));
|
|
18431
|
+
const TableRowTable = (_, children) => (hAsync("tr", null, hAsync("td", { colSpan: 2 }, hAsync("table", null, children))));
|
|
18396
18432
|
const RowTitle = (props) => {
|
|
18397
18433
|
const { value } = props;
|
|
18398
18434
|
if (!value) {
|
|
18399
18435
|
return null;
|
|
18400
18436
|
}
|
|
18401
18437
|
return [
|
|
18402
|
-
hAsync("tr", { class: "title" },
|
|
18403
|
-
|
|
18404
|
-
hAsync(Typography, { variant: "s1", color: "black" }, value))),
|
|
18405
|
-
hAsync("tr", null,
|
|
18406
|
-
hAsync("td", { colSpan: 2, class: "divider" },
|
|
18407
|
-
hAsync("span", null))),
|
|
18438
|
+
hAsync("tr", { class: "title" }, hAsync("td", { colSpan: 2 }, hAsync(Typography, { variant: "s1", color: "black" }, value))),
|
|
18439
|
+
hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
|
|
18408
18440
|
];
|
|
18409
18441
|
};
|
|
18410
18442
|
const RowValue = (props) => {
|
|
@@ -18423,14 +18455,9 @@ const RowValue = (props) => {
|
|
|
18423
18455
|
elementValue = value;
|
|
18424
18456
|
}
|
|
18425
18457
|
const hasValue = !!value.toString();
|
|
18426
|
-
return (hAsync("tr", null,
|
|
18427
|
-
hAsync(
|
|
18428
|
-
|
|
18429
|
-
hasValue && (hAsync("td", { class: { monospace } }, (isLink(value.toString()) || href)
|
|
18430
|
-
? (hAsync(Link, { variant: "b2", href: href || value.toString() }, value))
|
|
18431
|
-
: (hAsync(Typography, { variant: "b2", color: "black" },
|
|
18432
|
-
elementValue,
|
|
18433
|
-
extraValue))))));
|
|
18458
|
+
return (hAsync("tr", null, hAsync("td", { colSpan: hasValue ? 1 : 2 }, hAsync(Typography, { variant: "b2", color: "gray-9" }, name)), hasValue && (hAsync("td", { class: { monospace } }, (isLink(value.toString()) || href)
|
|
18459
|
+
? (hAsync(Link, { variant: "b2", href: href || value.toString() }, value))
|
|
18460
|
+
: (hAsync(Typography, { variant: "b2", color: "black" }, elementValue, extraValue))))));
|
|
18434
18461
|
};
|
|
18435
18462
|
|
|
18436
18463
|
/**
|
|
@@ -18594,9 +18621,7 @@ const BasicExtension = (props, children) => {
|
|
|
18594
18621
|
hAsync(RowValue, { name: "Name", value: getStringByOID(extension.asn.extnID) }),
|
|
18595
18622
|
hAsync(RowValue, { name: "Critical", value: extension.asn.critical ? l10n.getString('yes') : l10n.getString('no') }),
|
|
18596
18623
|
children,
|
|
18597
|
-
hAsync("tr", null,
|
|
18598
|
-
hAsync("td", { colSpan: 2, class: "divider" },
|
|
18599
|
-
hAsync("span", null))),
|
|
18624
|
+
hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
|
|
18600
18625
|
]);
|
|
18601
18626
|
};
|
|
18602
18627
|
|
|
@@ -18609,8 +18634,7 @@ const BasicExtension = (props, children) => {
|
|
|
18609
18634
|
*/
|
|
18610
18635
|
const KeyUsageExtension = (props) => {
|
|
18611
18636
|
const { extension } = props;
|
|
18612
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18613
|
-
hAsync(RowValue, { name: "Usage", value: extension.value.toJSON().join(', ') })));
|
|
18637
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Usage", value: extension.value.toJSON().join(', ') })));
|
|
18614
18638
|
};
|
|
18615
18639
|
|
|
18616
18640
|
/**
|
|
@@ -18622,9 +18646,7 @@ const KeyUsageExtension = (props) => {
|
|
|
18622
18646
|
*/
|
|
18623
18647
|
const BasicConstraintsExtension = (props) => {
|
|
18624
18648
|
const { extension } = props;
|
|
18625
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18626
|
-
hAsync(RowValue, { name: "Certificate Authority", value: extension.value.cA ? l10n.getString('yes') : l10n.getString('no') }),
|
|
18627
|
-
hAsync(RowValue, { name: "Path Length Constraint", value: extension.value.pathLenConstraint })));
|
|
18649
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Certificate Authority", value: extension.value.cA ? l10n.getString('yes') : l10n.getString('no') }), hAsync(RowValue, { name: "Path Length Constraint", value: extension.value.pathLenConstraint })));
|
|
18628
18650
|
};
|
|
18629
18651
|
|
|
18630
18652
|
/**
|
|
@@ -18638,8 +18660,7 @@ const ExtendedKeyUsageExtension = (props) => {
|
|
|
18638
18660
|
const { extension } = props;
|
|
18639
18661
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
18640
18662
|
hAsync(RowValue, { name: "Purposes", value: "" }),
|
|
18641
|
-
extension.value.map((usage) => (hAsync(TableRowTable, null,
|
|
18642
|
-
hAsync(RowValue, { name: "Purpose", value: getStringByOID(usage) })))),
|
|
18663
|
+
extension.value.map((usage) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Purpose", value: getStringByOID(usage) })))),
|
|
18643
18664
|
])));
|
|
18644
18665
|
};
|
|
18645
18666
|
|
|
@@ -18655,17 +18676,10 @@ const SubjectKeyIdentifierExtension = (props) => {
|
|
|
18655
18676
|
const keyId = Convert.ToHex(extension.value.buffer);
|
|
18656
18677
|
const childrenLink = getSubjectKeyIdChildrenLink(keyId);
|
|
18657
18678
|
const siblingsLink = getSubjectKeyIdSiblingsLink(keyId);
|
|
18658
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18659
|
-
|
|
18660
|
-
|
|
18661
|
-
|
|
18662
|
-
hAsync(Link, { href: childrenLink }, "children"),
|
|
18663
|
-
"]")),
|
|
18664
|
-
siblingsLink && (hAsync("span", null,
|
|
18665
|
-
"\u00A0[",
|
|
18666
|
-
hAsync(Link, { href: siblingsLink }, "siblings"),
|
|
18667
|
-
"]")),
|
|
18668
|
-
] })));
|
|
18679
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Key ID", value: keyId, monospace: true, extraValue: [
|
|
18680
|
+
childrenLink && (hAsync("span", null, "\u00A0[", hAsync(Link, { href: childrenLink }, "children"), "]")),
|
|
18681
|
+
siblingsLink && (hAsync("span", null, "\u00A0[", hAsync(Link, { href: siblingsLink }, "siblings"), "]")),
|
|
18682
|
+
] })));
|
|
18669
18683
|
};
|
|
18670
18684
|
|
|
18671
18685
|
/**
|
|
@@ -18680,17 +18694,10 @@ const AuthorityKeyIdentifierExtension = (props) => {
|
|
|
18680
18694
|
const keyId = Convert.ToHex(extension.value.keyIdentifier.buffer);
|
|
18681
18695
|
const parentLink = getAuthKeyIdParentLink(keyId);
|
|
18682
18696
|
const siblingsLink = getAuthKeyIdSiblingsLink(keyId);
|
|
18683
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18684
|
-
|
|
18685
|
-
|
|
18686
|
-
|
|
18687
|
-
hAsync(Link, { href: parentLink }, "parents"),
|
|
18688
|
-
"]")),
|
|
18689
|
-
siblingsLink && (hAsync("span", null,
|
|
18690
|
-
"\u00A0[",
|
|
18691
|
-
hAsync(Link, { href: siblingsLink }, "siblings"),
|
|
18692
|
-
"]")),
|
|
18693
|
-
] })));
|
|
18697
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Key ID", value: keyId, monospace: true, extraValue: [
|
|
18698
|
+
parentLink && (hAsync("span", null, "\u00A0[", hAsync(Link, { href: parentLink }, "parents"), "]")),
|
|
18699
|
+
siblingsLink && (hAsync("span", null, "\u00A0[", hAsync(Link, { href: siblingsLink }, "siblings"), "]")),
|
|
18700
|
+
] })));
|
|
18694
18701
|
};
|
|
18695
18702
|
|
|
18696
18703
|
/**
|
|
@@ -18788,9 +18795,7 @@ const InfoAccessSyntaxExtension = (props) => {
|
|
|
18788
18795
|
const { extension } = props;
|
|
18789
18796
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
18790
18797
|
hAsync(RowValue, { name: "Descriptions", value: "" }),
|
|
18791
|
-
extension.value.map((description) => (hAsync(TableRowTable, null,
|
|
18792
|
-
hAsync(RowValue, { name: "Method", value: getStringByOID(description.accessMethod) }),
|
|
18793
|
-
hAsync(GeneralNamePart, Object.assign({ generalName: description.accessLocation }, props))))),
|
|
18798
|
+
extension.value.map((description) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Method", value: getStringByOID(description.accessMethod) }), hAsync(GeneralNamePart, Object.assign({ generalName: description.accessLocation }, props))))),
|
|
18794
18799
|
])));
|
|
18795
18800
|
};
|
|
18796
18801
|
|
|
@@ -18817,27 +18822,25 @@ const CertificatePoliciesExtension = (props) => {
|
|
|
18817
18822
|
const { extension } = props;
|
|
18818
18823
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
18819
18824
|
hAsync(RowValue, { name: "Policies", value: "" }),
|
|
18820
|
-
extension.value.map((policy) => (hAsync(TableRowTable, null,
|
|
18821
|
-
hAsync(RowValue, { name: "
|
|
18822
|
-
policy.policyQualifiers
|
|
18823
|
-
|
|
18824
|
-
|
|
18825
|
-
|
|
18826
|
-
|
|
18827
|
-
|
|
18828
|
-
|
|
18829
|
-
|
|
18830
|
-
|
|
18831
|
-
|
|
18832
|
-
if (
|
|
18833
|
-
|
|
18834
|
-
if (value.explicitText) {
|
|
18835
|
-
data.push(hAsync(RowValue, { name: "Value", value: value.explicitText.toString() }));
|
|
18836
|
-
}
|
|
18825
|
+
extension.value.map((policy) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Policy ID", value: getStringByOID(policy.policyIdentifier) }), policy.policyQualifiers && Boolean(policy.policyQualifiers.length) && ([
|
|
18826
|
+
hAsync(RowValue, { name: "Qualifiers", value: "" }),
|
|
18827
|
+
policy.policyQualifiers.map((qualifierInfo) => {
|
|
18828
|
+
const data = [
|
|
18829
|
+
hAsync(RowValue, { name: "Qualifier ID", value: getStringByOID(qualifierInfo.policyQualifierId) }),
|
|
18830
|
+
];
|
|
18831
|
+
if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.1') {
|
|
18832
|
+
const value = AsnParser.parse(qualifierInfo.qualifier, DisplayText);
|
|
18833
|
+
data.push(hAsync(RowValue, { name: "Value", value: value.toString() }));
|
|
18834
|
+
}
|
|
18835
|
+
if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.2') {
|
|
18836
|
+
const value = AsnParser.parse(qualifierInfo.qualifier, UserNotice);
|
|
18837
|
+
if (value.explicitText) {
|
|
18838
|
+
data.push(hAsync(RowValue, { name: "Value", value: value.explicitText.toString() }));
|
|
18837
18839
|
}
|
|
18838
|
-
|
|
18839
|
-
|
|
18840
|
-
|
|
18840
|
+
}
|
|
18841
|
+
return (hAsync(TableRowTable, null, data));
|
|
18842
|
+
}),
|
|
18843
|
+
])))),
|
|
18841
18844
|
])));
|
|
18842
18845
|
};
|
|
18843
18846
|
|
|
@@ -18939,13 +18942,7 @@ const CertificateTransparencyExtension = (props) => {
|
|
|
18939
18942
|
const { extension } = props;
|
|
18940
18943
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.items.length) && ([
|
|
18941
18944
|
hAsync(RowValue, { name: "Signed Certificate Timestamps", value: "" }),
|
|
18942
|
-
extension.value.toJSON().map((signedCertificateTimestamp) => (hAsync(TableRowTable, null,
|
|
18943
|
-
hAsync(RowValue, { name: "Version", value: signedCertificateTimestamp.version + 1 }),
|
|
18944
|
-
hAsync(RowValue, { name: "Log Operator", value: logs[signedCertificateTimestamp.logId] || signedCertificateTimestamp.logId }),
|
|
18945
|
-
hAsync(RowValue, { name: "Log Key ID", value: signedCertificateTimestamp.logId, monospace: true }),
|
|
18946
|
-
hAsync(RowValue, { name: "Timestamp", value: dateShort(signedCertificateTimestamp.timestamp) }),
|
|
18947
|
-
hAsync(RowValue, { name: "Signature Algorithm", value: `${signedCertificateTimestamp.hashAlgorithm} ${signedCertificateTimestamp.signatureAlgorithm}`.toUpperCase() }),
|
|
18948
|
-
hAsync(RowValue, { name: "Signature", value: signedCertificateTimestamp.signature, monospace: true })))),
|
|
18945
|
+
extension.value.toJSON().map((signedCertificateTimestamp) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Version", value: signedCertificateTimestamp.version + 1 }), hAsync(RowValue, { name: "Log Operator", value: logs[signedCertificateTimestamp.logId] || signedCertificateTimestamp.logId }), hAsync(RowValue, { name: "Log Key ID", value: signedCertificateTimestamp.logId, monospace: true }), hAsync(RowValue, { name: "Timestamp", value: dateShort(signedCertificateTimestamp.timestamp) }), hAsync(RowValue, { name: "Signature Algorithm", value: `${signedCertificateTimestamp.hashAlgorithm} ${signedCertificateTimestamp.signatureAlgorithm}`.toUpperCase() }), hAsync(RowValue, { name: "Signature", value: signedCertificateTimestamp.signature, monospace: true }), hAsync(RowValue, { name: "Extensions", value: signedCertificateTimestamp.extensions || undefined, monospace: true })))),
|
|
18949
18946
|
])));
|
|
18950
18947
|
};
|
|
18951
18948
|
|
|
@@ -18973,10 +18970,7 @@ const NameConstraintsExtension = (props) => {
|
|
|
18973
18970
|
*/
|
|
18974
18971
|
const CertificateTemplateExtension = (props) => {
|
|
18975
18972
|
const { extension } = props;
|
|
18976
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18977
|
-
hAsync(RowValue, { name: "Template ID", value: extension.value.templateID }),
|
|
18978
|
-
hAsync(RowValue, { name: "Template Major Version", value: extension.value.templateMajorVersion }),
|
|
18979
|
-
hAsync(RowValue, { name: "Template Minor Version", value: extension.value.templateMinorVersion })));
|
|
18973
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Template ID", value: extension.value.templateID }), hAsync(RowValue, { name: "Template Major Version", value: extension.value.templateMajorVersion }), hAsync(RowValue, { name: "Template Minor Version", value: extension.value.templateMinorVersion })));
|
|
18980
18974
|
};
|
|
18981
18975
|
|
|
18982
18976
|
/**
|
|
@@ -18988,8 +18982,7 @@ const CertificateTemplateExtension = (props) => {
|
|
|
18988
18982
|
*/
|
|
18989
18983
|
const EnrollCertTypeChoiceExtension = (props) => {
|
|
18990
18984
|
const { extension } = props;
|
|
18991
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18992
|
-
hAsync(RowValue, { name: "Name", value: extension.value.toString() })));
|
|
18985
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Name", value: extension.value.toString() })));
|
|
18993
18986
|
};
|
|
18994
18987
|
|
|
18995
18988
|
/**
|
|
@@ -19002,9 +18995,7 @@ const EnrollCertTypeChoiceExtension = (props) => {
|
|
|
19002
18995
|
const CaVersionExtension = (props) => {
|
|
19003
18996
|
const { extension } = props;
|
|
19004
18997
|
const version = extension.value.getVersion();
|
|
19005
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19006
|
-
hAsync(RowValue, { name: "Certificate Index", value: version.certificateIndex }),
|
|
19007
|
-
hAsync(RowValue, { name: "Key Index", value: version.keyIndex })));
|
|
18998
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Certificate Index", value: version.certificateIndex }), hAsync(RowValue, { name: "Key Index", value: version.keyIndex })));
|
|
19008
18999
|
};
|
|
19009
19000
|
|
|
19010
19001
|
var PdsLocations_1, QcEuPDS_1, QcType_1, QcCClegislation_1;
|
|
@@ -19127,7 +19118,7 @@ const id_etsi_qcs_qcType = `${id_etsi_qcs}.6`;
|
|
|
19127
19118
|
const QCStatementsExtension = (props) => {
|
|
19128
19119
|
const { extension } = props;
|
|
19129
19120
|
function renderStatementInfo(statementId, statementInfo) {
|
|
19130
|
-
if (!statementInfo.byteLength) {
|
|
19121
|
+
if (!statementInfo || !statementInfo.byteLength) {
|
|
19131
19122
|
return null;
|
|
19132
19123
|
}
|
|
19133
19124
|
if (statementId === id_qcs_pkixQCSyntax_v2) {
|
|
@@ -19146,18 +19137,14 @@ const QCStatementsExtension = (props) => {
|
|
|
19146
19137
|
const pdsLocations = AsnParser.parse(statementInfo, PdsLocations);
|
|
19147
19138
|
return ([
|
|
19148
19139
|
hAsync(RowValue, { name: "PDS Locations", value: "" }),
|
|
19149
|
-
pdsLocations.map((location) => (hAsync(TableRowTable, null,
|
|
19150
|
-
hAsync(RowValue, { name: "URL", value: location.url }),
|
|
19151
|
-
hAsync(RowValue, { name: "Language", value: location.language })))),
|
|
19140
|
+
pdsLocations.map((location) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "URL", value: location.url }), hAsync(RowValue, { name: "Language", value: location.language })))),
|
|
19152
19141
|
]);
|
|
19153
19142
|
}
|
|
19154
19143
|
return (hAsync(RowValue, { name: "Info", value: Convert.ToHex(statementInfo), monospace: true }));
|
|
19155
19144
|
}
|
|
19156
19145
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
19157
19146
|
hAsync(RowValue, { name: "Statements", value: "" }),
|
|
19158
|
-
extension.value.map((statement) => (hAsync(TableRowTable, null,
|
|
19159
|
-
hAsync(RowValue, { name: "Statement ID", value: getStringByOID(statement.statementId) }),
|
|
19160
|
-
renderStatementInfo(statement.statementId, statement.statementInfo)))),
|
|
19147
|
+
extension.value.map((statement) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Statement ID", value: getStringByOID(statement.statementId) }), renderStatementInfo(statement.statementId, statement.statementInfo)))),
|
|
19161
19148
|
])));
|
|
19162
19149
|
};
|
|
19163
19150
|
|
|
@@ -19170,8 +19157,7 @@ const QCStatementsExtension = (props) => {
|
|
|
19170
19157
|
*/
|
|
19171
19158
|
const NetscapeCommentExtension = (props) => {
|
|
19172
19159
|
const { extension } = props;
|
|
19173
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19174
|
-
hAsync(RowValue, { name: "Comment", value: extension.value.value })));
|
|
19160
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Comment", value: extension.value.value })));
|
|
19175
19161
|
};
|
|
19176
19162
|
|
|
19177
19163
|
/**
|
|
@@ -19183,8 +19169,7 @@ const NetscapeCommentExtension = (props) => {
|
|
|
19183
19169
|
*/
|
|
19184
19170
|
const NetscapeCertTypeExtension = (props) => {
|
|
19185
19171
|
const { extension } = props;
|
|
19186
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19187
|
-
hAsync(RowValue, { name: "Type", value: extension.value.toJSON().join(', ') })));
|
|
19172
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Type", value: extension.value.toJSON().join(', ') })));
|
|
19188
19173
|
};
|
|
19189
19174
|
|
|
19190
19175
|
/**
|
|
@@ -19196,8 +19181,7 @@ const NetscapeCertTypeExtension = (props) => {
|
|
|
19196
19181
|
*/
|
|
19197
19182
|
const LeiRoleExtension = (props) => {
|
|
19198
19183
|
const { extension } = props;
|
|
19199
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19200
|
-
hAsync(RowValue, { name: "Role", value: extension.value.text })));
|
|
19184
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Role", value: extension.value.text })));
|
|
19201
19185
|
};
|
|
19202
19186
|
|
|
19203
19187
|
/**
|
|
@@ -19209,8 +19193,7 @@ const LeiRoleExtension = (props) => {
|
|
|
19209
19193
|
*/
|
|
19210
19194
|
const LeiExtension = (props) => {
|
|
19211
19195
|
const { extension, getLEILink } = props;
|
|
19212
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19213
|
-
hAsync(RowValue, { name: "Identifier", value: extension.value.text, href: getLEILink(extension.value.text) })));
|
|
19196
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Identifier", value: extension.value.text, href: getLEILink(extension.value.text) })));
|
|
19214
19197
|
};
|
|
19215
19198
|
|
|
19216
19199
|
/**
|
|
@@ -19222,10 +19205,7 @@ const LeiExtension = (props) => {
|
|
|
19222
19205
|
*/
|
|
19223
19206
|
const TimestampExtension = (props) => {
|
|
19224
19207
|
const { extension } = props;
|
|
19225
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19226
|
-
hAsync(RowValue, { name: "Version", value: extension.value.version }),
|
|
19227
|
-
hAsync(GeneralNamePart, Object.assign({ generalName: extension.value.location }, props)),
|
|
19228
|
-
hAsync(RowValue, { name: "Requires Auth", value: extension.value.requiresAuth ? l10n.getString('yes') : l10n.getString('no') })));
|
|
19208
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Version", value: extension.value.version }), hAsync(GeneralNamePart, Object.assign({ generalName: extension.value.location }, props)), hAsync(RowValue, { name: "Requires Auth", value: extension.value.requiresAuth ? l10n.getString('yes') : l10n.getString('no') })));
|
|
19229
19209
|
};
|
|
19230
19210
|
|
|
19231
19211
|
/**
|
|
@@ -19237,8 +19217,7 @@ const TimestampExtension = (props) => {
|
|
|
19237
19217
|
*/
|
|
19238
19218
|
const ArchiveRevInfoExtension = (props) => {
|
|
19239
19219
|
const { extension } = props;
|
|
19240
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19241
|
-
hAsync(RowValue, { name: "Version", value: extension.value.version })));
|
|
19220
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Version", value: extension.value.version })));
|
|
19242
19221
|
};
|
|
19243
19222
|
|
|
19244
19223
|
/**
|
|
@@ -19250,8 +19229,7 @@ const ArchiveRevInfoExtension = (props) => {
|
|
|
19250
19229
|
*/
|
|
19251
19230
|
const CRLReasonExtension = (props) => {
|
|
19252
19231
|
const { extension } = props;
|
|
19253
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19254
|
-
hAsync(RowValue, { name: "Reason", value: extension.value.toJSON() })));
|
|
19232
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Reason", value: extension.value.toJSON() })));
|
|
19255
19233
|
};
|
|
19256
19234
|
|
|
19257
19235
|
/**
|
|
@@ -19276,9 +19254,7 @@ const SubjectDirectoryAttributesExtension = (props) => {
|
|
|
19276
19254
|
const { extension } = props;
|
|
19277
19255
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
19278
19256
|
hAsync(RowValue, { name: "Attributes", value: "" }),
|
|
19279
|
-
extension.value.map((attribute) => (hAsync(TableRowTable, null,
|
|
19280
|
-
hAsync(RowValue, { name: "Type", value: getStringByOID(attribute.type) }),
|
|
19281
|
-
hAsync(RowValue, { name: "Value", value: getAttributeValue(attribute) })))),
|
|
19257
|
+
extension.value.map((attribute) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Type", value: getStringByOID(attribute.type) }), hAsync(RowValue, { name: "Value", value: getAttributeValue(attribute) })))),
|
|
19282
19258
|
])));
|
|
19283
19259
|
};
|
|
19284
19260
|
|
|
@@ -19291,8 +19267,7 @@ const SubjectDirectoryAttributesExtension = (props) => {
|
|
|
19291
19267
|
*/
|
|
19292
19268
|
const AsStringExtension = (props) => {
|
|
19293
19269
|
const { extension } = props;
|
|
19294
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19295
|
-
hAsync(RowValue, { name: "Value", value: extension.value, monospace: true })));
|
|
19270
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Value", value: extension.value, monospace: true })));
|
|
19296
19271
|
};
|
|
19297
19272
|
|
|
19298
19273
|
/**
|
|
@@ -19304,9 +19279,7 @@ const AsStringExtension = (props) => {
|
|
|
19304
19279
|
*/
|
|
19305
19280
|
const PrivateKeyUsagePeriodExtension = (props) => {
|
|
19306
19281
|
const { extension } = props;
|
|
19307
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19308
|
-
hAsync(RowValue, { name: "Not Before", value: dateShort(extension.value.notBefore) }),
|
|
19309
|
-
hAsync(RowValue, { name: "Not After", value: dateShort(extension.value.notAfter) })));
|
|
19282
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Not Before", value: dateShort(extension.value.notBefore) }), hAsync(RowValue, { name: "Not After", value: dateShort(extension.value.notAfter) })));
|
|
19310
19283
|
};
|
|
19311
19284
|
|
|
19312
19285
|
/**
|
|
@@ -19318,9 +19291,7 @@ const PrivateKeyUsagePeriodExtension = (props) => {
|
|
|
19318
19291
|
*/
|
|
19319
19292
|
const EntrustVersionInfoExtension = (props) => {
|
|
19320
19293
|
const { extension } = props;
|
|
19321
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19322
|
-
hAsync(RowValue, { name: "Version", value: extension.value.entrustVers }),
|
|
19323
|
-
hAsync(RowValue, { name: "Info Flags", value: extension.value.entrustInfoFlags.toJSON().join(', ') })));
|
|
19294
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Version", value: extension.value.entrustVers }), hAsync(RowValue, { name: "Info Flags", value: extension.value.entrustInfoFlags.toJSON().join(', ') })));
|
|
19324
19295
|
};
|
|
19325
19296
|
|
|
19326
19297
|
/**
|
|
@@ -19334,12 +19305,7 @@ const BiometricSyntaxExtension = (props) => {
|
|
|
19334
19305
|
const { extension } = props;
|
|
19335
19306
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
19336
19307
|
hAsync(RowValue, { name: "Biometrics", value: "" }),
|
|
19337
|
-
extension.value.map((data) => (hAsync(TableRowTable, null,
|
|
19338
|
-
hAsync(RowValue, { name: "OID", value: getStringByOID(data.typeOfBiometricData.biometricDataOid) }),
|
|
19339
|
-
hAsync(RowValue, { name: "Type", value: data.typeOfBiometricData.predefinedBiometricType }),
|
|
19340
|
-
hAsync(RowValue, { name: "Algorithm", value: getStringByOID(data.hashAlgorithm.algorithm) }),
|
|
19341
|
-
hAsync(RowValue, { name: "Hash", value: Convert.ToHex(data.biometricDataHash.buffer), monospace: true }),
|
|
19342
|
-
hAsync(RowValue, { name: "Source Uri", value: data.sourceDataUri })))),
|
|
19308
|
+
extension.value.map((data) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "OID", value: getStringByOID(data.typeOfBiometricData.biometricDataOid) }), hAsync(RowValue, { name: "Type", value: data.typeOfBiometricData.predefinedBiometricType }), hAsync(RowValue, { name: "Algorithm", value: getStringByOID(data.hashAlgorithm.algorithm) }), hAsync(RowValue, { name: "Hash", value: Convert.ToHex(data.biometricDataHash.buffer), monospace: true }), hAsync(RowValue, { name: "Source Uri", value: data.sourceDataUri })))),
|
|
19343
19309
|
])));
|
|
19344
19310
|
};
|
|
19345
19311
|
|
|
@@ -19389,14 +19355,10 @@ const LogotypeExtension = (props) => {
|
|
|
19389
19355
|
hAsync(RowValue, { name: "Type", value: title }),
|
|
19390
19356
|
renderImage(image),
|
|
19391
19357
|
renderAudio(audio),
|
|
19392
|
-
hAsync("tr", null,
|
|
19393
|
-
hAsync("td", null),
|
|
19394
|
-
hAsync("td", null)),
|
|
19358
|
+
hAsync("tr", null, hAsync("td", null), hAsync("td", null)),
|
|
19395
19359
|
];
|
|
19396
19360
|
};
|
|
19397
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19398
|
-
renderLogo('Subject', extension.value.subjectLogo),
|
|
19399
|
-
renderLogo('Issuer', extension.value.issuerLogo)));
|
|
19361
|
+
return (hAsync(BasicExtension, { extension: extension }, renderLogo('Subject', extension.value.subjectLogo), renderLogo('Issuer', extension.value.issuerLogo)));
|
|
19400
19362
|
};
|
|
19401
19363
|
|
|
19402
19364
|
/**
|
|
@@ -19410,10 +19372,7 @@ const TNAuthListExtension = (props) => {
|
|
|
19410
19372
|
const { extension } = props;
|
|
19411
19373
|
return (hAsync(BasicExtension, { extension: extension }, extension.value.length > 0 && ([
|
|
19412
19374
|
hAsync(RowValue, { name: "Entries", value: "" }),
|
|
19413
|
-
extension.value.map((entry) => (hAsync(TableRowTable, null,
|
|
19414
|
-
hAsync(RowValue, { name: "SPC", value: entry.spc }),
|
|
19415
|
-
hAsync(RowValue, { name: "Range", value: entry.range ? `start=${entry.range.start} count==${entry.range.count}` : null }),
|
|
19416
|
-
hAsync(RowValue, { name: "One", value: entry.one })))),
|
|
19375
|
+
extension.value.map((entry) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "SPC", value: entry.spc }), hAsync(RowValue, { name: "Range", value: entry.range ? `start=${entry.range.start} count==${entry.range.count}` : null }), hAsync(RowValue, { name: "One", value: entry.one })))),
|
|
19417
19376
|
])));
|
|
19418
19377
|
};
|
|
19419
19378
|
|
|
@@ -19426,9 +19385,7 @@ const TNAuthListExtension = (props) => {
|
|
|
19426
19385
|
*/
|
|
19427
19386
|
const PolicyConstraintsExtension = (props) => {
|
|
19428
19387
|
const { extension } = props;
|
|
19429
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19430
|
-
extension.value.requireExplicitPolicy && (hAsync(RowValue, { name: "Require Explicit Policy", value: AsnIntegerArrayBufferConverter.toASN(extension.value.requireExplicitPolicy).valueBlock.toString() })),
|
|
19431
|
-
extension.value.inhibitPolicyMapping && (hAsync(RowValue, { name: "Inhibit Policy Mapping", value: AsnIntegerArrayBufferConverter.toASN(extension.value.inhibitPolicyMapping).valueBlock.toString() }))));
|
|
19388
|
+
return (hAsync(BasicExtension, { extension: extension }, extension.value.requireExplicitPolicy && (hAsync(RowValue, { name: "Require Explicit Policy", value: AsnIntegerArrayBufferConverter.toASN(extension.value.requireExplicitPolicy).valueBlock.toString() })), extension.value.inhibitPolicyMapping && (hAsync(RowValue, { name: "Inhibit Policy Mapping", value: AsnIntegerArrayBufferConverter.toASN(extension.value.inhibitPolicyMapping).valueBlock.toString() }))));
|
|
19432
19389
|
};
|
|
19433
19390
|
|
|
19434
19391
|
/**
|
|
@@ -19442,9 +19399,7 @@ const PolicyMappingsExtension = (props) => {
|
|
|
19442
19399
|
const { extension } = props;
|
|
19443
19400
|
return (hAsync(BasicExtension, { extension: extension }, extension.value.length > 0 && ([
|
|
19444
19401
|
hAsync(RowValue, { name: "Policies", value: "" }),
|
|
19445
|
-
extension.value.map((policy) => (hAsync(TableRowTable, null,
|
|
19446
|
-
hAsync(RowValue, { name: "Issuer Domain", value: getStringByOID(policy.issuerDomainPolicy) }),
|
|
19447
|
-
hAsync(RowValue, { name: "Subject Domain", value: getStringByOID(policy.subjectDomainPolicy) })))),
|
|
19402
|
+
extension.value.map((policy) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Issuer Domain", value: getStringByOID(policy.issuerDomainPolicy) }), hAsync(RowValue, { name: "Subject Domain", value: getStringByOID(policy.subjectDomainPolicy) })))),
|
|
19448
19403
|
])));
|
|
19449
19404
|
};
|
|
19450
19405
|
|
|
@@ -19457,8 +19412,7 @@ const PolicyMappingsExtension = (props) => {
|
|
|
19457
19412
|
*/
|
|
19458
19413
|
const CRLNumberExtension = (props) => {
|
|
19459
19414
|
const { extension } = props;
|
|
19460
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19461
|
-
hAsync(RowValue, { name: l10n.getString('value'), value: extension.value.value })));
|
|
19415
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: l10n.getString('value'), value: extension.value.value })));
|
|
19462
19416
|
};
|
|
19463
19417
|
|
|
19464
19418
|
/**
|
|
@@ -19472,12 +19426,7 @@ const IssuingDistributionPointExtension = (props) => {
|
|
|
19472
19426
|
var _a;
|
|
19473
19427
|
const { extension } = props;
|
|
19474
19428
|
return (hAsync(BasicExtension, { extension: extension }, (_a = extension.value.distributionPoint) === null || _a === void 0 ? void 0 :
|
|
19475
|
-
_a.fullName.map((gn) => (hAsync(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
|
|
19476
|
-
extension.value.onlySomeReasons && (hAsync(RowValue, { name: l10n.getString('onlyReasons'), value: extension.value.onlySomeReasons.toJSON().join(', ') })),
|
|
19477
|
-
extension.value.indirectCRL && (hAsync(RowValue, { name: l10n.getString('indirectCRL'), value: l10n.getString('yes') })),
|
|
19478
|
-
extension.value.onlyContainsUserCerts && (hAsync(RowValue, { name: l10n.getString('onlyUserCertificates'), value: l10n.getString('yes') })),
|
|
19479
|
-
extension.value.onlyContainsAttributeCerts && (hAsync(RowValue, { name: l10n.getString('onlyAttributeCertificates'), value: l10n.getString('yes') })),
|
|
19480
|
-
extension.value.onlyContainsCACerts && (hAsync(RowValue, { name: l10n.getString('onlyCACertificates'), value: l10n.getString('yes') }))));
|
|
19429
|
+
_a.fullName.map((gn) => (hAsync(GeneralNamePart, Object.assign({ generalName: gn }, props)))), extension.value.onlySomeReasons && (hAsync(RowValue, { name: l10n.getString('onlyReasons'), value: extension.value.onlySomeReasons.toJSON().join(', ') })), extension.value.indirectCRL && (hAsync(RowValue, { name: l10n.getString('indirectCRL'), value: l10n.getString('yes') })), extension.value.onlyContainsUserCerts && (hAsync(RowValue, { name: l10n.getString('onlyUserCertificates'), value: l10n.getString('yes') })), extension.value.onlyContainsAttributeCerts && (hAsync(RowValue, { name: l10n.getString('onlyAttributeCertificates'), value: l10n.getString('yes') })), extension.value.onlyContainsCACerts && (hAsync(RowValue, { name: l10n.getString('onlyCACertificates'), value: l10n.getString('yes') }))));
|
|
19481
19430
|
};
|
|
19482
19431
|
|
|
19483
19432
|
/**
|
|
@@ -19519,9 +19468,7 @@ const KeyDescriptionExtension = (props) => {
|
|
|
19519
19468
|
if (parsed.packageInfos.length || parsed.signatureDigests.length) {
|
|
19520
19469
|
return [
|
|
19521
19470
|
hAsync(RowValue, { name: camelCaseToWords(keyName), value: "" }),
|
|
19522
|
-
Boolean(parsed.packageInfos) && (hAsync(TableRowTable, null,
|
|
19523
|
-
hAsync(RowValue, { name: camelCaseToWords('packageInfos'), value: "" }),
|
|
19524
|
-
parsed.packageInfos.map((attestationPackageInfo) => (hAsync(TableRowTable, null, renderRowValue(attestationPackageInfo)))))),
|
|
19471
|
+
Boolean(parsed.packageInfos) && (hAsync(TableRowTable, null, hAsync(RowValue, { name: camelCaseToWords('packageInfos'), value: "" }), parsed.packageInfos.map((attestationPackageInfo) => (hAsync(TableRowTable, null, renderRowValue(attestationPackageInfo)))))),
|
|
19525
19472
|
];
|
|
19526
19473
|
}
|
|
19527
19474
|
}
|
|
@@ -19548,15 +19495,7 @@ const KeyDescriptionExtension = (props) => {
|
|
|
19548
19495
|
hAsync(TableRowTable, null, authorizationList.map(renderRowValue)),
|
|
19549
19496
|
];
|
|
19550
19497
|
};
|
|
19551
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19552
|
-
hAsync(RowValue, { name: camelCaseToWords('attestationVersion'), value: extension.value.attestationVersion }),
|
|
19553
|
-
hAsync(RowValue, { name: camelCaseToWords('attestationSecurityLevel'), value: extension.value.attestationSecurityLevel }),
|
|
19554
|
-
hAsync(RowValue, { name: camelCaseToWords('keymasterVersion'), value: extension.value.keymasterVersion }),
|
|
19555
|
-
hAsync(RowValue, { name: camelCaseToWords('keymasterSecurityLevel'), value: extension.value.keymasterSecurityLevel }),
|
|
19556
|
-
hAsync(RowValue, { name: camelCaseToWords('attestationChallenge'), value: Convert.ToString(extension.value.attestationChallenge) }),
|
|
19557
|
-
hAsync(RowValue, { name: camelCaseToWords('uniqueId'), value: Convert.ToString(extension.value.uniqueId) || undefined }),
|
|
19558
|
-
renderAuthorizationList(camelCaseToWords('softwareEnforced'), extension.value.softwareEnforced),
|
|
19559
|
-
renderAuthorizationList(camelCaseToWords('teeEnforced'), extension.value.teeEnforced)));
|
|
19498
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: camelCaseToWords('attestationVersion'), value: extension.value.attestationVersion }), hAsync(RowValue, { name: camelCaseToWords('attestationSecurityLevel'), value: extension.value.attestationSecurityLevel }), hAsync(RowValue, { name: camelCaseToWords('keymasterVersion'), value: extension.value.keymasterVersion }), hAsync(RowValue, { name: camelCaseToWords('keymasterSecurityLevel'), value: extension.value.keymasterSecurityLevel }), hAsync(RowValue, { name: camelCaseToWords('attestationChallenge'), value: Convert.ToString(extension.value.attestationChallenge) }), hAsync(RowValue, { name: camelCaseToWords('uniqueId'), value: Convert.ToString(extension.value.uniqueId) || undefined }), renderAuthorizationList(camelCaseToWords('softwareEnforced'), extension.value.softwareEnforced), renderAuthorizationList(camelCaseToWords('teeEnforced'), extension.value.teeEnforced)));
|
|
19560
19499
|
};
|
|
19561
19500
|
|
|
19562
19501
|
/**
|
|
@@ -19715,9 +19654,7 @@ const BasicAttribute = (props, children) => {
|
|
|
19715
19654
|
return ([
|
|
19716
19655
|
hAsync(RowValue, { name: "Name", value: getStringByOID(attribute.asn.type) }),
|
|
19717
19656
|
children,
|
|
19718
|
-
hAsync("tr", null,
|
|
19719
|
-
hAsync("td", { colSpan: 2, class: "divider" },
|
|
19720
|
-
hAsync("span", null))),
|
|
19657
|
+
hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
|
|
19721
19658
|
]);
|
|
19722
19659
|
};
|
|
19723
19660
|
|
|
@@ -19746,8 +19683,7 @@ const NamePart = (props) => {
|
|
|
19746
19683
|
*/
|
|
19747
19684
|
const NameAttribute = (props) => {
|
|
19748
19685
|
const { attribute } = props;
|
|
19749
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19750
|
-
hAsync(NamePart, { name: attribute.value })));
|
|
19686
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(NamePart, { name: attribute.value })));
|
|
19751
19687
|
};
|
|
19752
19688
|
|
|
19753
19689
|
/**
|
|
@@ -19759,15 +19695,7 @@ const NameAttribute = (props) => {
|
|
|
19759
19695
|
*/
|
|
19760
19696
|
const ActivityDescriptionAttribute = (props) => {
|
|
19761
19697
|
const { attribute } = props;
|
|
19762
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19763
|
-
hAsync(RowValue, { name: camelCaseToWords('codeAuthority'), value: "" }),
|
|
19764
|
-
hAsync(TableRowTable, null,
|
|
19765
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.codeAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19766
|
-
hAsync(RowValue, { name: camelCaseToWords('codeId'), value: "" }),
|
|
19767
|
-
hAsync(TableRowTable, null,
|
|
19768
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.codeId, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19769
|
-
hAsync(RowValue, { name: camelCaseToWords('shortName'), value: attribute.value.shortName }),
|
|
19770
|
-
hAsync(RowValue, { name: camelCaseToWords('shortDescription'), value: attribute.value.shortDescription })));
|
|
19698
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: camelCaseToWords('codeAuthority'), value: "" }), hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: attribute.value.codeAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' })), hAsync(RowValue, { name: camelCaseToWords('codeId'), value: "" }), hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: attribute.value.codeId, getDNSNameLink: () => '', getIPAddressLink: () => '' })), hAsync(RowValue, { name: camelCaseToWords('shortName'), value: attribute.value.shortName }), hAsync(RowValue, { name: camelCaseToWords('shortDescription'), value: attribute.value.shortDescription })));
|
|
19771
19699
|
};
|
|
19772
19700
|
|
|
19773
19701
|
/**
|
|
@@ -19779,18 +19707,7 @@ const ActivityDescriptionAttribute = (props) => {
|
|
|
19779
19707
|
*/
|
|
19780
19708
|
const WebGdprAttribute = (props) => {
|
|
19781
19709
|
const { attribute } = props;
|
|
19782
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19783
|
-
hAsync(RowValue, { name: camelCaseToWords('assessmentAuthority'), value: "" }),
|
|
19784
|
-
hAsync(TableRowTable, null,
|
|
19785
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.assessmentAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19786
|
-
hAsync(RowValue, { name: camelCaseToWords('assessmentLocation'), value: "" }),
|
|
19787
|
-
hAsync(TableRowTable, null,
|
|
19788
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.assessmentLocation, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19789
|
-
hAsync(RowValue, { name: camelCaseToWords('assessmentRef'), value: "" }),
|
|
19790
|
-
hAsync(TableRowTable, null,
|
|
19791
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.assessmentRef, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19792
|
-
hAsync(RowValue, { name: camelCaseToWords('dataStorageTerritory'), value: attribute.value.dataStorageTerritory }),
|
|
19793
|
-
hAsync(RowValue, { name: camelCaseToWords('description'), value: attribute.value.description })));
|
|
19710
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: camelCaseToWords('assessmentAuthority'), value: "" }), hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: attribute.value.assessmentAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' })), hAsync(RowValue, { name: camelCaseToWords('assessmentLocation'), value: "" }), hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: attribute.value.assessmentLocation, getDNSNameLink: () => '', getIPAddressLink: () => '' })), hAsync(RowValue, { name: camelCaseToWords('assessmentRef'), value: "" }), hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: attribute.value.assessmentRef, getDNSNameLink: () => '', getIPAddressLink: () => '' })), hAsync(RowValue, { name: camelCaseToWords('dataStorageTerritory'), value: attribute.value.dataStorageTerritory }), hAsync(RowValue, { name: camelCaseToWords('description'), value: attribute.value.description })));
|
|
19794
19711
|
};
|
|
19795
19712
|
|
|
19796
19713
|
/**
|
|
@@ -19803,8 +19720,7 @@ const WebGdprAttribute = (props) => {
|
|
|
19803
19720
|
const InsuranceValueAttribute = (props) => {
|
|
19804
19721
|
const { attribute } = props;
|
|
19805
19722
|
const value = `${attribute.value.base} * 10^${attribute.value.degree} ${attribute.value.location}`;
|
|
19806
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19807
|
-
hAsync(RowValue, { name: "Value", value: value })));
|
|
19723
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: value })));
|
|
19808
19724
|
};
|
|
19809
19725
|
|
|
19810
19726
|
/**
|
|
@@ -19842,8 +19758,7 @@ const ValuationRankingAttribute = (props) => {
|
|
|
19842
19758
|
getValueRank(attribute.value[keyName]),
|
|
19843
19759
|
hAsync("br", null),
|
|
19844
19760
|
]));
|
|
19845
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19846
|
-
hAsync(RowValue, { name: "Value", value: values })));
|
|
19761
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: values })));
|
|
19847
19762
|
};
|
|
19848
19763
|
|
|
19849
19764
|
/**
|
|
@@ -19855,8 +19770,7 @@ const ValuationRankingAttribute = (props) => {
|
|
|
19855
19770
|
*/
|
|
19856
19771
|
const AsStringAttribute = (props) => {
|
|
19857
19772
|
const { attribute } = props;
|
|
19858
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19859
|
-
hAsync(RowValue, { name: "Value", value: attribute.value, monospace: true })));
|
|
19773
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: attribute.value, monospace: true })));
|
|
19860
19774
|
};
|
|
19861
19775
|
|
|
19862
19776
|
/**
|
|
@@ -19868,8 +19782,7 @@ const AsStringAttribute = (props) => {
|
|
|
19868
19782
|
*/
|
|
19869
19783
|
const UnstructuredNameAttribute = (props) => {
|
|
19870
19784
|
const { attribute } = props;
|
|
19871
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19872
|
-
hAsync(RowValue, { name: "Value", value: attribute.value.utf8String })));
|
|
19785
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: attribute.value.utf8String })));
|
|
19873
19786
|
};
|
|
19874
19787
|
|
|
19875
19788
|
/**
|
|
@@ -19881,8 +19794,7 @@ const UnstructuredNameAttribute = (props) => {
|
|
|
19881
19794
|
*/
|
|
19882
19795
|
const ChallengePasswordAttribute = (props) => {
|
|
19883
19796
|
const { attribute } = props;
|
|
19884
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19885
|
-
hAsync(RowValue, { name: "Value", value: attribute.value.toString() })));
|
|
19797
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: attribute.value.toString() })));
|
|
19886
19798
|
};
|
|
19887
19799
|
|
|
19888
19800
|
/**
|
|
@@ -19898,9 +19810,7 @@ const ExtensionRequestAttribute = (props) => {
|
|
|
19898
19810
|
if (attribute.value) {
|
|
19899
19811
|
extensions = attribute.value.map((e) => new Extension(AsnConvert.serialize(e)));
|
|
19900
19812
|
}
|
|
19901
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19902
|
-
hAsync(TableRowTable, null,
|
|
19903
|
-
hAsync(Extensions, { extensions: extensions, getDNSNameLink: () => '', getIPAddressLink: () => '', getLEILink: () => '' }))));
|
|
19813
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(TableRowTable, null, hAsync(Extensions, { extensions: extensions, getDNSNameLink: () => '', getIPAddressLink: () => '', getLEILink: () => '' }))));
|
|
19904
19814
|
};
|
|
19905
19815
|
|
|
19906
19816
|
/**
|
|
@@ -19915,16 +19825,10 @@ const PrivateKeyPossessionStatementAttribute = (props) => {
|
|
|
19915
19825
|
const certificateRaw = attribute.value.cert
|
|
19916
19826
|
? AsnConvert.serialize(attribute.value.cert)
|
|
19917
19827
|
: null;
|
|
19918
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19919
|
-
hAsync(RowValue, { name: "
|
|
19920
|
-
hAsync(
|
|
19921
|
-
|
|
19922
|
-
hAsync(NamePart, { name: attribute.value.signer.issuer })),
|
|
19923
|
-
certificateRaw && [
|
|
19924
|
-
hAsync(RowValue, { name: "Certificate", value: "" }),
|
|
19925
|
-
hAsync(TableRowTable, null,
|
|
19926
|
-
hAsync("peculiar-certificate-viewer", { certificate: Convert.ToBase64(certificateRaw) })),
|
|
19927
|
-
]));
|
|
19828
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Serial Number", value: Convert.ToHex(attribute.value.signer.serialNumber), monospace: true }), hAsync(RowValue, { name: "Issuer", value: "" }), hAsync(TableRowTable, null, hAsync(NamePart, { name: attribute.value.signer.issuer })), certificateRaw && [
|
|
19829
|
+
hAsync(RowValue, { name: "Certificate", value: "" }),
|
|
19830
|
+
hAsync(TableRowTable, null, hAsync("peculiar-certificate-viewer", { certificate: Convert.ToBase64(certificateRaw) })),
|
|
19831
|
+
]));
|
|
19928
19832
|
};
|
|
19929
19833
|
|
|
19930
19834
|
/**
|
|
@@ -20002,9 +19906,7 @@ const Button = (props, children) => {
|
|
|
20002
19906
|
// eslint-disable-next-line react/destructuring-assignment
|
|
20003
19907
|
m_no_padding: children.length === 0,
|
|
20004
19908
|
[classProp]: Boolean(classProp),
|
|
20005
|
-
}, onClick: onClick },
|
|
20006
|
-
startIcon,
|
|
20007
|
-
children.length > 0 && (hAsync(Typography, { variant: "b3", color: "black", component: "span" }, children))));
|
|
19909
|
+
}, onClick: onClick }, startIcon, children.length > 0 && (hAsync(Typography, { variant: "b3", color: "black", component: "span" }, children))));
|
|
20008
19910
|
};
|
|
20009
19911
|
|
|
20010
19912
|
/**
|
|
@@ -20016,8 +19918,7 @@ const Button = (props, children) => {
|
|
|
20016
19918
|
*/
|
|
20017
19919
|
const DetailsIcon = (props) => {
|
|
20018
19920
|
const { color = 'secondary' } = props;
|
|
20019
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" },
|
|
20020
|
-
hAsync("path", { fill: `var(--pv-color-${color})`, d: "M6.71 19.79a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21 1 1 0 0 0-.21.33 1 1 0 0 0 .21 1.09c.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1 1 0 0 0 .21-1.09 1 1 0 0 0-.21-.33ZM10 11.5h14a1 1 0 0 0 0-2H10a1 1 0 0 0 0 2Zm-3.29 3.29a1 1 0 0 0-1.09-.21 1.15 1.15 0 0 0-.33.21 1 1 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1 1 0 0 0-.21-.33ZM24 14.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2ZM6.71 9.79a1 1 0 0 0-.33-.21 1 1 0 0 0-1.09.21 1.15 1.15 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a1 1 0 0 0 1.09-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1.15 1.15 0 0 0-.21-.33ZM24 19.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z" })));
|
|
19921
|
+
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" }, hAsync("path", { fill: `var(--pv-color-${color})`, d: "M6.71 19.79a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21 1 1 0 0 0-.21.33 1 1 0 0 0 .21 1.09c.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1 1 0 0 0 .21-1.09 1 1 0 0 0-.21-.33ZM10 11.5h14a1 1 0 0 0 0-2H10a1 1 0 0 0 0 2Zm-3.29 3.29a1 1 0 0 0-1.09-.21 1.15 1.15 0 0 0-.33.21 1 1 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1 1 0 0 0-.21-.33ZM24 14.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2ZM6.71 9.79a1 1 0 0 0-.33-.21 1 1 0 0 0-1.09.21 1.15 1.15 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a1 1 0 0 0 1.09-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1.15 1.15 0 0 0-.21-.33ZM24 19.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z" })));
|
|
20021
19922
|
};
|
|
20022
19923
|
|
|
20023
19924
|
/**
|
|
@@ -20029,8 +19930,7 @@ const DetailsIcon = (props) => {
|
|
|
20029
19930
|
*/
|
|
20030
19931
|
const DownloadIcon = (props) => {
|
|
20031
19932
|
const { color = 'secondary' } = props;
|
|
20032
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
|
|
20033
|
-
hAsync("path", { fill: `var(--pv-color-${color})`, d: "M21 12h-2c-.6 0-1 .4-1 1s.4 1 1 1h2c.6 0 1 .4 1 1v7c0 .6-.4 1-1 1H9c-.6 0-1-.4-1-1v-7c0-.6.4-1 1-1h2c.6 0 1-.4 1-1s-.4-1-1-1H9c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h12c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3Zm-9.7 5.7 3 3c.2.2.4.3.7.3.3 0 .5-.1.7-.3l3-3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L16 17.6V6c0-.6-.4-1-1-1s-1 .4-1 1v11.6l-1.3-1.3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4Z" })));
|
|
19933
|
+
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" }, hAsync("path", { fill: `var(--pv-color-${color})`, d: "M21 12h-2c-.6 0-1 .4-1 1s.4 1 1 1h2c.6 0 1 .4 1 1v7c0 .6-.4 1-1 1H9c-.6 0-1-.4-1-1v-7c0-.6.4-1 1-1h2c.6 0 1-.4 1-1s-.4-1-1-1H9c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h12c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3Zm-9.7 5.7 3 3c.2.2.4.3.7.3.3 0 .5-.1.7-.3l3-3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L16 17.6V6c0-.6-.4-1-1-1s-1 .4-1 1v11.6l-1.3-1.3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4Z" })));
|
|
20034
19934
|
};
|
|
20035
19935
|
|
|
20036
19936
|
/**
|
|
@@ -20042,8 +19942,7 @@ const DownloadIcon = (props) => {
|
|
|
20042
19942
|
*/
|
|
20043
19943
|
const LinkIcon = (props) => {
|
|
20044
19944
|
const { color = 'secondary' } = props;
|
|
20045
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" },
|
|
20046
|
-
hAsync("path", { fill: `var(--pv-color-${color})`, d: "M21 14.32a1 1 0 0 0-1 1v7.18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1h7.18a1 1 0 0 0 0-2H8a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h11a3 3 0 0 0 3-3v-7.18a1 1 0 0 0-1-1Zm3.92-8.2a1 1 0 0 0-.54-.54A1 1 0 0 0 24 5.5h-6a1 1 0 1 0 0 2h3.59l-10.3 10.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219L23 8.91v3.59a1 1 0 0 0 2 0v-6a1.001 1.001 0 0 0-.08-.38Z" })));
|
|
19945
|
+
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" }, hAsync("path", { fill: `var(--pv-color-${color})`, d: "M21 14.32a1 1 0 0 0-1 1v7.18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1h7.18a1 1 0 0 0 0-2H8a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h11a3 3 0 0 0 3-3v-7.18a1 1 0 0 0-1-1Zm3.92-8.2a1 1 0 0 0-.54-.54A1 1 0 0 0 24 5.5h-6a1 1 0 1 0 0 2h3.59l-10.3 10.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219L23 8.91v3.59a1 1 0 0 0 2 0v-6a1.001 1.001 0 0 0-.08-.38Z" })));
|
|
20047
19946
|
};
|
|
20048
19947
|
|
|
20049
19948
|
/**
|
|
@@ -20055,8 +19954,7 @@ const LinkIcon = (props) => {
|
|
|
20055
19954
|
*/
|
|
20056
19955
|
const ActionsIcon = (props) => {
|
|
20057
19956
|
const { color = 'gray-10' } = props;
|
|
20058
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" },
|
|
20059
|
-
hAsync("path", { fill: `var(--pv-color-${color})`, d: "M15 13.5a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm14 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z" })));
|
|
19957
|
+
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" }, hAsync("path", { fill: `var(--pv-color-${color})`, d: "M15 13.5a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm14 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z" })));
|
|
20060
19958
|
};
|
|
20061
19959
|
|
|
20062
19960
|
/**
|
|
@@ -20068,8 +19966,7 @@ const ActionsIcon = (props) => {
|
|
|
20068
19966
|
*/
|
|
20069
19967
|
const ArrowBottomIcon = (props) => {
|
|
20070
19968
|
const { color = 'gray-10' } = props;
|
|
20071
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
|
|
20072
|
-
hAsync("path", { stroke: `var(--pv-color-${color})`, "stroke-linecap": "round", "stroke-width": "1.5", d: "m19.222 12.778-3.851 4.279a.2.2 0 0 1-.297 0l-3.852-4.28" })));
|
|
19969
|
+
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" }, hAsync("path", { stroke: `var(--pv-color-${color})`, "stroke-linecap": "round", "stroke-width": "1.5", d: "m19.222 12.778-3.851 4.279a.2.2 0 0 1-.297 0l-3.852-4.28" })));
|
|
20073
19970
|
};
|
|
20074
19971
|
|
|
20075
19972
|
/**
|
|
@@ -20081,8 +19978,7 @@ const ArrowBottomIcon = (props) => {
|
|
|
20081
19978
|
*/
|
|
20082
19979
|
const ArrowTopIcon = (props) => {
|
|
20083
19980
|
const { color = 'gray-10' } = props;
|
|
20084
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
|
|
20085
|
-
hAsync("path", { stroke: `var(--pv-color-${color})`, "stroke-linecap": "round", "stroke-width": "1.5", d: "m11.222 17.722 3.852-4.28a.2.2 0 0 1 .297 0l3.851 4.28" })));
|
|
19981
|
+
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" }, hAsync("path", { stroke: `var(--pv-color-${color})`, "stroke-linecap": "round", "stroke-width": "1.5", d: "m11.222 17.722 3.852-4.28a.2.2 0 0 1 .297 0l3.851 4.28" })));
|
|
20086
19982
|
};
|
|
20087
19983
|
|
|
20088
19984
|
/**
|
|
@@ -20094,8 +19990,7 @@ const ArrowTopIcon = (props) => {
|
|
|
20094
19990
|
*/
|
|
20095
19991
|
const CrossIcon = (props) => {
|
|
20096
19992
|
const { color = 'gray-9' } = props;
|
|
20097
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
|
|
20098
|
-
hAsync("path", { fill: `var(--pv-color-${color})`, "fill-rule": "evenodd", d: "m16.37 15 5.442 5.44c.25.252.25.663 0 .914l-.459.457a.646.646 0 0 1-.913 0L15 16.371l-5.44 5.44a.648.648 0 0 1-.915 0l-.457-.457a.649.649 0 0 1 0-.913L13.63 15 8.188 9.56a.649.649 0 0 1 0-.914l.457-.457a.648.648 0 0 1 .915 0l5.44 5.44 5.44-5.44a.646.646 0 0 1 .913 0l.46.457c.25.25.25.662 0 .913L16.37 15Z", "clip-rule": "evenodd" })));
|
|
19993
|
+
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" }, hAsync("path", { fill: `var(--pv-color-${color})`, "fill-rule": "evenodd", d: "m16.37 15 5.442 5.44c.25.252.25.663 0 .914l-.459.457a.646.646 0 0 1-.913 0L15 16.371l-5.44 5.44a.648.648 0 0 1-.915 0l-.457-.457a.649.649 0 0 1 0-.913L13.63 15 8.188 9.56a.649.649 0 0 1 0-.914l.457-.457a.648.648 0 0 1 .915 0l5.44 5.44 5.44-5.44a.646.646 0 0 1 .913 0l.46.457c.25.25.25.662 0 .913L16.37 15Z", "clip-rule": "evenodd" })));
|
|
20099
19994
|
};
|
|
20100
19995
|
|
|
20101
19996
|
/**
|
|
@@ -20109,12 +20004,8 @@ const Miscellaneous = (props) => {
|
|
|
20109
20004
|
const { certificate } = props;
|
|
20110
20005
|
return [
|
|
20111
20006
|
hAsync(RowTitle, { value: l10n.getString('miscellaneous') }),
|
|
20112
|
-
hAsync("tr", null,
|
|
20113
|
-
|
|
20114
|
-
hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPEM() }, l10n.getString('download.pem')))),
|
|
20115
|
-
hAsync("tr", null,
|
|
20116
|
-
hAsync("td", null,
|
|
20117
|
-
hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsDER() }, l10n.getString('download.der')))),
|
|
20007
|
+
hAsync("tr", null, hAsync("td", null, hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPEM() }, l10n.getString('download.pem')))),
|
|
20008
|
+
hAsync("tr", null, hAsync("td", null, hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsDER() }, l10n.getString('download.der')))),
|
|
20118
20009
|
];
|
|
20119
20010
|
};
|
|
20120
20011
|
|
|
@@ -20147,16 +20038,13 @@ const RevokedCertificates = (props) => {
|
|
|
20147
20038
|
if (extension.value instanceof CertificateIssuer && extension.value.length) {
|
|
20148
20039
|
return ([
|
|
20149
20040
|
hAsync(RowValue, { name: `${getStringByOID(extension.asn.extnID)}:`, value: "" }),
|
|
20150
|
-
extension.value.map((gn) => (hAsync(TableRowTable, null,
|
|
20151
|
-
hAsync(GeneralNamePart, { generalName: gn, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink })))),
|
|
20041
|
+
extension.value.map((gn) => (hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: gn, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink })))),
|
|
20152
20042
|
]);
|
|
20153
20043
|
}
|
|
20154
20044
|
return (hAsync(RowValue, { name: getStringByOID(extension.asn.extnID), value: Convert.ToHex(extension.asn.extnValue), monospace: true }));
|
|
20155
20045
|
})),
|
|
20156
20046
|
])),
|
|
20157
|
-
hAsync("tr", null,
|
|
20158
|
-
hAsync("td", { colSpan: 2, class: "divider" },
|
|
20159
|
-
hAsync("span", null))),
|
|
20047
|
+
hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
|
|
20160
20048
|
])),
|
|
20161
20049
|
];
|
|
20162
20050
|
};
|
|
@@ -20178,20 +20066,13 @@ const Holder = (props) => {
|
|
|
20178
20066
|
hAsync(RowTitle, { value: l10n.getString('holder') }),
|
|
20179
20067
|
baseCertificateID && ([
|
|
20180
20068
|
baseCertificateID.issuer.map((item) => (hAsync(GeneralNamePart, { generalName: item, getDNSNameLink: () => '', getIPAddressLink: () => '' }))),
|
|
20181
|
-
hAsync("tr", null,
|
|
20182
|
-
hAsync("td", null),
|
|
20183
|
-
hAsync("td", null)),
|
|
20069
|
+
hAsync("tr", null, hAsync("td", null), hAsync("td", null)),
|
|
20184
20070
|
hAsync(RowValue, { name: l10n.getString('serialNumber'), value: Convert.ToHex(baseCertificateID.serial), monospace: true }),
|
|
20185
|
-
hAsync("tr", null,
|
|
20186
|
-
hAsync("td", null),
|
|
20187
|
-
hAsync("td", null)),
|
|
20071
|
+
hAsync("tr", null, hAsync("td", null), hAsync("td", null)),
|
|
20188
20072
|
]),
|
|
20189
20073
|
objectDigestInfo && ([
|
|
20190
20074
|
hAsync(RowValue, { name: l10n.getString('digestInfo'), value: "" }),
|
|
20191
|
-
hAsync(TableRowTable, null,
|
|
20192
|
-
hAsync(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(objectDigestInfo.digestAlgorithm.algorithm) }),
|
|
20193
|
-
hAsync(RowValue, { name: l10n.getString('value'), value: Convert.ToHex(objectDigestInfo.objectDigest), monospace: true }),
|
|
20194
|
-
hAsync(RowValue, { name: l10n.getString('type'), value: objectDigestInfo.digestedObjectType })),
|
|
20075
|
+
hAsync(TableRowTable, null, hAsync(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(objectDigestInfo.digestAlgorithm.algorithm) }), hAsync(RowValue, { name: l10n.getString('value'), value: Convert.ToHex(objectDigestInfo.objectDigest), monospace: true }), hAsync(RowValue, { name: l10n.getString('type'), value: objectDigestInfo.digestedObjectType })),
|
|
20195
20076
|
]),
|
|
20196
20077
|
];
|
|
20197
20078
|
};
|
|
@@ -20368,7 +20249,7 @@ class ButtonMenu {
|
|
|
20368
20249
|
}; }
|
|
20369
20250
|
}
|
|
20370
20251
|
|
|
20371
|
-
const certificateChainViewerCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;position:relative;min-width:280px;min-height:300px;word-wrap:break-word;word-break:break-word}th,td{border:none}table{width:100%;border-spacing:0;border-collapse:collapse}table tr:last-child .divider{display:none}table td{padding:var(--pv-size-base-2) var(--pv-size-base-4);vertical-align:top}table td:first-child{width:220px}table td:last-child{width:calc(100% - 220px)}table td.monospace{max-width:0}table td.divider{padding:var(--pv-size-base-2) 0}table td.divider span{height:1px;display:block;background-color:var(--pv-color-gray-4)}table .title td{padding-top:var(--pv-size-base-6);padding-bottom:var(--pv-size-base-2)}table table{border-left:1px solid var(--pv-color-gray-5)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table tr.title{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table tr.title td{padding:0 var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table td{padding:0 var(--pv-size-base-4);width:100% !important;max-width:100% !important}:host([data-mobile-screen-view=true]) table td.divider{padding:0}:host{display:block;width:100%}.tabs{white-space:nowrap;overflow-x:auto;border-bottom:1px solid var(--pv-color-gray-4);padding:0 var(--pv-size-base-4);margin-bottom:var(--pv-size-base-6)}.tab{font-family:inherit;outline:none;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box;border:none;border-bottom:3px solid transparent;min-height:var(--pv-size-base-12);height:100%;padding:0 var(--pv-size-base-3);background-color:transparent;-webkit-transition:background-color 200ms, color 200ms, border-color 200ms;transition:background-color 200ms, color 200ms, border-color 200ms;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-decoration:none;font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing);color:var(--pv-color-gray-10)}.tab:hover{background-color:var(--pv-color-secondary-tint-5)}.tab[aria-selected=true]{color:var(--pv-color-black);border-color:var(--pv-color-secondary)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}";
|
|
20252
|
+
const certificateChainViewerCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;position:relative;min-width:280px;min-height:300px;word-wrap:break-word;word-break:break-word}th,td{border:none}table{width:100%;border-spacing:0;border-collapse:collapse}table tr:last-child .divider{display:none}table td{padding:var(--pv-size-base-2) var(--pv-size-base-4);vertical-align:top}table td:first-child{width:220px}table td:last-child{width:calc(100% - 220px)}table td.monospace{max-width:0}table td.divider{padding:var(--pv-size-base-2) 0}table td.divider span{height:1px;display:block;background-color:var(--pv-color-gray-4)}table .title td{padding-top:var(--pv-size-base-6);padding-bottom:var(--pv-size-base-2)}table table{border-left:1px solid var(--pv-color-gray-5)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table tr.title{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table tr.title td{padding:0 var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table td{padding:0 var(--pv-size-base-4);width:100% !important;max-width:100% !important}:host([data-mobile-screen-view=true]) table td.divider{padding:0}:host{display:block;width:100%}.tabs{white-space:nowrap;overflow-x:auto;border-bottom:1px solid var(--pv-color-gray-4);padding:0 var(--pv-size-base-4);margin-bottom:var(--pv-size-base-6)}.tab{font-family:inherit;outline:none;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box;border:none;border-bottom:3px solid transparent;min-height:var(--pv-size-base-12);height:100%;padding:0 var(--pv-size-base-3);background-color:transparent;-webkit-transition:background-color 200ms, color 200ms, border-color 200ms;transition:background-color 200ms, color 200ms, border-color 200ms;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-decoration:none;font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing);color:var(--pv-color-gray-10)}.tab:hover{background-color:var(--pv-color-secondary-tint-5)}.tab[aria-selected=true]{color:var(--pv-color-black);border-color:var(--pv-color-secondary)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}";
|
|
20372
20253
|
|
|
20373
20254
|
class CertificateChainViewer {
|
|
20374
20255
|
constructor(hostRef) {
|
|
@@ -20518,7 +20399,7 @@ class CertificateDecoder {
|
|
|
20518
20399
|
"$flags$": 265,
|
|
20519
20400
|
"$tagName$": "peculiar-certificate-decoder",
|
|
20520
20401
|
"$members$": {
|
|
20521
|
-
"certificateExamples": [16
|
|
20402
|
+
"certificateExamples": [16],
|
|
20522
20403
|
"certificateToDecode": [1, "certificate-to-decode"],
|
|
20523
20404
|
"certificateDecoded": [32]
|
|
20524
20405
|
},
|
|
@@ -20659,20 +20540,8 @@ class CertificateViewer {
|
|
|
20659
20540
|
*/
|
|
20660
20541
|
const CertificateSummary = (props) => {
|
|
20661
20542
|
const { certificate, showIssuer, } = props;
|
|
20662
|
-
const renderRow = (name, value) => (hAsync("tr", null,
|
|
20663
|
-
|
|
20664
|
-
hAsync(Typography, { variant: "b2", color: "gray-9" }, name)),
|
|
20665
|
-
hAsync("td", null,
|
|
20666
|
-
hAsync(Typography, { variant: "b2", color: "black" }, value))));
|
|
20667
|
-
return (hAsync("table", null,
|
|
20668
|
-
hAsync("tbody", null,
|
|
20669
|
-
renderRow(l10n.getString('subjectName'), certificate.subjectToString()),
|
|
20670
|
-
showIssuer && renderRow(l10n.getString('issuerName'), certificate.issuerToString()),
|
|
20671
|
-
renderRow(l10n.getString('serialNumber'), certificate.serialNumber),
|
|
20672
|
-
renderRow(l10n.getString('version'), certificate.version),
|
|
20673
|
-
renderRow(l10n.getString('validity'), certificate.validity),
|
|
20674
|
-
renderRow(l10n.getString('issued'), dateShort(certificate.notBefore)),
|
|
20675
|
-
renderRow(l10n.getString('expired'), dateShort(certificate.notAfter)))));
|
|
20543
|
+
const renderRow = (name, value) => (hAsync("tr", null, hAsync("td", null, hAsync(Typography, { variant: "b2", color: "gray-9" }, name)), hAsync("td", null, hAsync(Typography, { variant: "b2", color: "black" }, value))));
|
|
20544
|
+
return (hAsync("table", null, hAsync("tbody", null, renderRow(l10n.getString('subjectName'), certificate.subjectToString()), showIssuer && renderRow(l10n.getString('issuerName'), certificate.issuerToString()), renderRow(l10n.getString('serialNumber'), certificate.serialNumber), renderRow(l10n.getString('version'), certificate.version), renderRow(l10n.getString('validity'), certificate.validity), renderRow(l10n.getString('issued'), dateShort(certificate.notBefore)), renderRow(l10n.getString('expired'), dateShort(certificate.notAfter)))));
|
|
20676
20545
|
};
|
|
20677
20546
|
|
|
20678
20547
|
const certificatesViewerCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;word-wrap:break-word;min-width:280px;overflow:auto;position:relative}.search_section{padding:var(--pv-size-base-4);border-bottom:1px solid var(--pv-color-gray-4)}.input_search{height:var(--pv-size-base-8);width:100%;outline:none;background-color:var(--pv-color-gray-1);padding:0 var(--pv-size-base-2);border:1px solid var(--pv-color-gray-7);border-radius:4px;-webkit-transition:background-color 200ms ease 0s, color 200ms ease 0s, border-color 200ms ease 0s;transition:background-color 200ms ease 0s, color 200ms ease 0s, border-color 200ms ease 0s}.input_search::-webkit-input-placeholder{color:var(--pv-color-gray-9)}.input_search::-moz-placeholder{color:var(--pv-color-gray-9)}.input_search:-ms-input-placeholder{color:var(--pv-color-gray-9)}.input_search::-ms-input-placeholder{color:var(--pv-color-gray-9)}.input_search::placeholder{color:var(--pv-color-gray-9)}table{width:100%;table-layout:fixed;border-collapse:collapse;border-spacing:0}table td,table th{border-bottom:1px solid var(--pv-color-gray-4);vertical-align:top;text-align:left}table td:first-child,table th:first-child{padding-right:0;width:var(--pv-size-base-10)}table td:last-child,table th:last-child{padding-left:0;width:var(--pv-size-base-10)}table th{padding:var(--pv-size-base-2) var(--pv-size-base-4)}table th.col_action{padding:0}table td{padding:var(--pv-size-base-4)}table tr.m_expanded{background:var(--pv-color-gray-1)}table tr.m_expanded>td{border-bottom:none}table tr.expanded_summary{background:var(--pv-color-gray-1)}table tr.expanded_summary table{table-layout:initial}table tr.expanded_summary table td{border-bottom:none;padding:var(--pv-size-base-2)}table tr.expanded_summary table td:first-child{width:200px}table tr.expanded_summary table td:last-child{width:auto}.button_table_cell{margin-top:-3px}.status_wrapper{text-align:center;height:var(--pv-size-base-16);vertical-align:middle}.modal_wrapper{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1;-webkit-animation:fadeIn 200ms;animation:fadeIn 200ms;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.modal_backdrop{background:var(--pv-color-black);z-index:-1;position:fixed;top:0;right:0;bottom:0;left:0;opacity:0.5}.modal_container{background:var(--pv-color-white);width:100%;display:-ms-flexbox;display:flex;max-height:calc(100% - 60px);-ms-flex-direction:column;flex-direction:column;margin:var(--pv-size-base-6);position:relative;outline:none;-webkit-box-shadow:var(--pv-shadow-dark-hight);box-shadow:var(--pv-shadow-dark-hight);overflow:hidden;border:0px;padding:0px;max-width:640px;border-radius:4px}.modal_header{padding:var(--pv-size-base-3) var(--pv-size-base-4);display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:var(--pv-size-base-2);border-bottom:1px solid var(--pv-color-gray-5)}.modal_content{-ms-flex:1 1 auto;flex:1 1 auto;overflow:auto}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tbody,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block;width:100% !important;padding:0;border:none}:host([data-mobile-screen-view=true]) thead{display:none}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table .expanded_summary{padding:0}:host([data-mobile-screen-view=true]) table .certificate_row{border-bottom:1px solid var(--pv-color-gray-5);padding:var(--pv-size-base-2) var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table .certificate_row_actions{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table .certificate_row_actions td{display:-ms-flexbox;display:flex;-ms-flex-pack:right;justify-content:right;gap:var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) .button_table_cell{margin-top:0}";
|
|
@@ -21339,9 +21208,7 @@ const SshMiscellaneous = (props) => {
|
|
|
21339
21208
|
const { certificate } = props;
|
|
21340
21209
|
return [
|
|
21341
21210
|
hAsync(RowTitle, { value: l10n.getString('miscellaneous') }),
|
|
21342
|
-
hAsync("tr", null,
|
|
21343
|
-
hAsync("td", null,
|
|
21344
|
-
hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPub() }, l10n.getString('download')))),
|
|
21211
|
+
hAsync("tr", null, hAsync("td", null, hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPub() }, l10n.getString('download')))),
|
|
21345
21212
|
];
|
|
21346
21213
|
};
|
|
21347
21214
|
|
|
@@ -21530,7 +21397,7 @@ var BUILD = {
|
|
|
21530
21397
|
vdomRender: true,
|
|
21531
21398
|
vdomStyle: true,
|
|
21532
21399
|
vdomText: true,
|
|
21533
|
-
|
|
21400
|
+
propChangeCallback: true,
|
|
21534
21401
|
taskQueue: true,
|
|
21535
21402
|
hotModuleReplacement: false,
|
|
21536
21403
|
isDebug: false,
|
|
@@ -21578,7 +21445,7 @@ var NAMESPACE = (
|
|
|
21578
21445
|
);
|
|
21579
21446
|
|
|
21580
21447
|
/*
|
|
21581
|
-
Stencil Hydrate Runner v4.
|
|
21448
|
+
Stencil Hydrate Runner v4.38.3 | MIT Licensed | https://stenciljs.com
|
|
21582
21449
|
*/
|
|
21583
21450
|
var __defProp = Object.defineProperty;
|
|
21584
21451
|
var __export = (target, all) => {
|
|
@@ -21739,82 +21606,6 @@ var MockAttr = class {
|
|
|
21739
21606
|
}
|
|
21740
21607
|
};
|
|
21741
21608
|
|
|
21742
|
-
// src/mock-doc/class-list.ts
|
|
21743
|
-
var MockClassList = class {
|
|
21744
|
-
constructor(elm) {
|
|
21745
|
-
this.elm = elm;
|
|
21746
|
-
}
|
|
21747
|
-
add(...classNames) {
|
|
21748
|
-
const clsNames = getItems(this.elm);
|
|
21749
|
-
let updated = false;
|
|
21750
|
-
classNames.forEach((className) => {
|
|
21751
|
-
className = String(className);
|
|
21752
|
-
validateClass(className);
|
|
21753
|
-
if (clsNames.includes(className) === false) {
|
|
21754
|
-
clsNames.push(className);
|
|
21755
|
-
updated = true;
|
|
21756
|
-
}
|
|
21757
|
-
});
|
|
21758
|
-
if (updated) {
|
|
21759
|
-
this.elm.setAttributeNS(null, "class", clsNames.join(" "));
|
|
21760
|
-
}
|
|
21761
|
-
}
|
|
21762
|
-
remove(...classNames) {
|
|
21763
|
-
const clsNames = getItems(this.elm);
|
|
21764
|
-
let updated = false;
|
|
21765
|
-
classNames.forEach((className) => {
|
|
21766
|
-
className = String(className);
|
|
21767
|
-
validateClass(className);
|
|
21768
|
-
const index = clsNames.indexOf(className);
|
|
21769
|
-
if (index > -1) {
|
|
21770
|
-
clsNames.splice(index, 1);
|
|
21771
|
-
updated = true;
|
|
21772
|
-
}
|
|
21773
|
-
});
|
|
21774
|
-
if (updated) {
|
|
21775
|
-
this.elm.setAttributeNS(null, "class", clsNames.filter((c) => c.length > 0).join(" "));
|
|
21776
|
-
}
|
|
21777
|
-
}
|
|
21778
|
-
contains(className) {
|
|
21779
|
-
className = String(className);
|
|
21780
|
-
return getItems(this.elm).includes(className);
|
|
21781
|
-
}
|
|
21782
|
-
toggle(className) {
|
|
21783
|
-
className = String(className);
|
|
21784
|
-
if (this.contains(className) === true) {
|
|
21785
|
-
this.remove(className);
|
|
21786
|
-
} else {
|
|
21787
|
-
this.add(className);
|
|
21788
|
-
}
|
|
21789
|
-
}
|
|
21790
|
-
get length() {
|
|
21791
|
-
return getItems(this.elm).length;
|
|
21792
|
-
}
|
|
21793
|
-
item(index) {
|
|
21794
|
-
return getItems(this.elm)[index];
|
|
21795
|
-
}
|
|
21796
|
-
toString() {
|
|
21797
|
-
return getItems(this.elm).join(" ");
|
|
21798
|
-
}
|
|
21799
|
-
};
|
|
21800
|
-
function validateClass(className) {
|
|
21801
|
-
if (className === "") {
|
|
21802
|
-
throw new Error("The token provided must not be empty.");
|
|
21803
|
-
}
|
|
21804
|
-
if (/\s/.test(className)) {
|
|
21805
|
-
throw new Error(
|
|
21806
|
-
`The token provided ('${className}') contains HTML space characters, which are not valid in tokens.`
|
|
21807
|
-
);
|
|
21808
|
-
}
|
|
21809
|
-
}
|
|
21810
|
-
function getItems(elm) {
|
|
21811
|
-
const className = elm.getAttribute("class");
|
|
21812
|
-
if (typeof className === "string" && className.length > 0) {
|
|
21813
|
-
return className.trim().split(" ").filter((c) => c.length > 0);
|
|
21814
|
-
}
|
|
21815
|
-
return [];
|
|
21816
|
-
}
|
|
21817
|
-
|
|
21818
21609
|
// src/mock-doc/css-style-declaration.ts
|
|
21819
21610
|
var MockCSSStyleDeclaration = class {
|
|
21820
21611
|
constructor() {
|
|
@@ -32330,6 +32121,81 @@ var STRUCTURE_ELEMENTS = /* @__PURE__ */ new Set([
|
|
|
32330
32121
|
"style"
|
|
32331
32122
|
]);
|
|
32332
32123
|
|
|
32124
|
+
// src/mock-doc/token-list.ts
|
|
32125
|
+
var MockTokenList = class {
|
|
32126
|
+
constructor(elm, attr) {
|
|
32127
|
+
this.elm = elm;
|
|
32128
|
+
this.attr = attr;
|
|
32129
|
+
}
|
|
32130
|
+
add(...tokens) {
|
|
32131
|
+
const items = getItems(this.elm, this.attr);
|
|
32132
|
+
let updated = false;
|
|
32133
|
+
tokens.forEach((token) => {
|
|
32134
|
+
token = String(token);
|
|
32135
|
+
validateToken(token);
|
|
32136
|
+
if (items.includes(token) === false) {
|
|
32137
|
+
items.push(token);
|
|
32138
|
+
updated = true;
|
|
32139
|
+
}
|
|
32140
|
+
});
|
|
32141
|
+
if (updated) {
|
|
32142
|
+
this.elm.setAttributeNS(null, this.attr, items.join(" "));
|
|
32143
|
+
}
|
|
32144
|
+
}
|
|
32145
|
+
remove(...tokens) {
|
|
32146
|
+
const items = getItems(this.elm, this.attr);
|
|
32147
|
+
let updated = false;
|
|
32148
|
+
tokens.forEach((token) => {
|
|
32149
|
+
token = String(token);
|
|
32150
|
+
validateToken(token);
|
|
32151
|
+
const index = items.indexOf(token);
|
|
32152
|
+
if (index > -1) {
|
|
32153
|
+
items.splice(index, 1);
|
|
32154
|
+
updated = true;
|
|
32155
|
+
}
|
|
32156
|
+
});
|
|
32157
|
+
if (updated) {
|
|
32158
|
+
this.elm.setAttributeNS(null, this.attr, items.filter((c) => c.length > 0).join(" "));
|
|
32159
|
+
}
|
|
32160
|
+
}
|
|
32161
|
+
contains(token) {
|
|
32162
|
+
token = String(token);
|
|
32163
|
+
return getItems(this.elm, this.attr).includes(token);
|
|
32164
|
+
}
|
|
32165
|
+
toggle(token) {
|
|
32166
|
+
token = String(token);
|
|
32167
|
+
if (this.contains(token) === true) {
|
|
32168
|
+
this.remove(token);
|
|
32169
|
+
} else {
|
|
32170
|
+
this.add(token);
|
|
32171
|
+
}
|
|
32172
|
+
}
|
|
32173
|
+
get length() {
|
|
32174
|
+
return getItems(this.elm, this.attr).length;
|
|
32175
|
+
}
|
|
32176
|
+
item(index) {
|
|
32177
|
+
return getItems(this.elm, this.attr)[index];
|
|
32178
|
+
}
|
|
32179
|
+
toString() {
|
|
32180
|
+
return getItems(this.elm, this.attr).join(" ");
|
|
32181
|
+
}
|
|
32182
|
+
};
|
|
32183
|
+
function validateToken(token) {
|
|
32184
|
+
if (token === "") {
|
|
32185
|
+
throw new Error("The token provided must not be empty.");
|
|
32186
|
+
}
|
|
32187
|
+
if (/\s/.test(token)) {
|
|
32188
|
+
throw new Error(`The token provided ('${token}') contains HTML space characters, which are not valid in tokens.`);
|
|
32189
|
+
}
|
|
32190
|
+
}
|
|
32191
|
+
function getItems(elm, attr) {
|
|
32192
|
+
const value = elm.getAttribute(attr);
|
|
32193
|
+
if (typeof value === "string" && value.length > 0) {
|
|
32194
|
+
return value.trim().split(" ").filter((c) => c.length > 0);
|
|
32195
|
+
}
|
|
32196
|
+
return [];
|
|
32197
|
+
}
|
|
32198
|
+
|
|
32333
32199
|
// src/mock-doc/node.ts
|
|
32334
32200
|
var MockNode2 = class {
|
|
32335
32201
|
constructor(ownerDocument, nodeType, nodeName, nodeValue) {
|
|
@@ -32597,7 +32463,10 @@ var MockElement = class extends MockNode2 {
|
|
|
32597
32463
|
this.setAttributeNS(null, "class", value);
|
|
32598
32464
|
}
|
|
32599
32465
|
get classList() {
|
|
32600
|
-
return new
|
|
32466
|
+
return new MockTokenList(this, "class");
|
|
32467
|
+
}
|
|
32468
|
+
get part() {
|
|
32469
|
+
return new MockTokenList(this, "part");
|
|
32601
32470
|
}
|
|
32602
32471
|
click() {
|
|
32603
32472
|
dispatchEvent(this, new MockEvent("click", { bubbles: true, cancelable: true, composed: true }));
|
|
@@ -35480,7 +35349,7 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
|
|
|
35480
35349
|
}
|
|
35481
35350
|
set location(val) {
|
|
35482
35351
|
if (this.defaultView != null) {
|
|
35483
|
-
this.defaultView.location = val;
|
|
35352
|
+
this.defaultView.location.href = val;
|
|
35484
35353
|
}
|
|
35485
35354
|
}
|
|
35486
35355
|
get baseURI() {
|
|
@@ -36255,6 +36124,9 @@ var _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
|
36255
36124
|
var setMode = (handler) => modeResolutionChain.push(handler);
|
|
36256
36125
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
36257
36126
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
36127
|
+
var baseClass = BUILD.lazyLoad ? class {
|
|
36128
|
+
} : globalThis.HTMLElement || class {
|
|
36129
|
+
};
|
|
36258
36130
|
|
|
36259
36131
|
// src/compiler/html/canonical-link.ts
|
|
36260
36132
|
var updateCanonicalLink = (doc, href) => {
|