@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.mjs
CHANGED
|
@@ -128,10 +128,10 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
const NAMESPACE = 'peculiar';
|
|
131
|
-
const BUILD = /* peculiar */ { hydratedSelectorName: "hydrated", slotRelocation: true, updatable: true};
|
|
131
|
+
const BUILD = /* peculiar */ { hydratedSelectorName: "hydrated", slotRelocation: true, state: true, updatable: true};
|
|
132
132
|
|
|
133
133
|
/*
|
|
134
|
-
Stencil Hydrate Platform v4.
|
|
134
|
+
Stencil Hydrate Platform v4.38.3 | MIT Licensed | https://stenciljs.com
|
|
135
135
|
*/
|
|
136
136
|
var __defProp = Object.defineProperty;
|
|
137
137
|
var __export = (target, all) => {
|
|
@@ -167,6 +167,40 @@ var TYPE_CONSTANT = "type";
|
|
|
167
167
|
var VALUE_CONSTANT = "value";
|
|
168
168
|
var SERIALIZED_PREFIX = "serialized:";
|
|
169
169
|
|
|
170
|
+
// src/utils/es2022-rewire-class-members.ts
|
|
171
|
+
var reWireGetterSetter = (instance, hostRef) => {
|
|
172
|
+
var _a;
|
|
173
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
174
|
+
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
175
|
+
members.map(([memberName, [memberFlags]]) => {
|
|
176
|
+
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
177
|
+
const ogValue = instance[memberName];
|
|
178
|
+
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
179
|
+
if (ogDescriptor) {
|
|
180
|
+
Object.defineProperty(instance, memberName, {
|
|
181
|
+
get() {
|
|
182
|
+
return ogDescriptor.get.call(this);
|
|
183
|
+
},
|
|
184
|
+
set(newValue) {
|
|
185
|
+
ogDescriptor.set.call(this, newValue);
|
|
186
|
+
},
|
|
187
|
+
configurable: true,
|
|
188
|
+
enumerable: true
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
};
|
|
195
|
+
function getPropertyDescriptor(obj, memberName) {
|
|
196
|
+
while (obj) {
|
|
197
|
+
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
198
|
+
if (desc == null ? void 0 : desc.get) return desc;
|
|
199
|
+
obj = Object.getPrototypeOf(obj);
|
|
200
|
+
}
|
|
201
|
+
return void 0;
|
|
202
|
+
}
|
|
203
|
+
|
|
170
204
|
// src/utils/helpers.ts
|
|
171
205
|
var isDef = (v) => v != null && v !== void 0;
|
|
172
206
|
var isComplexType = (o) => {
|
|
@@ -724,7 +758,7 @@ var convertToPrivate = (node) => {
|
|
|
724
758
|
|
|
725
759
|
// src/runtime/client-hydrate.ts
|
|
726
760
|
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
727
|
-
var _a, _b
|
|
761
|
+
var _a, _b;
|
|
728
762
|
const endHydrate = createTime("hydrateClient", tagName);
|
|
729
763
|
const shadowRoot = hostElm.shadowRoot;
|
|
730
764
|
const childRenderNodes = [];
|
|
@@ -733,21 +767,6 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
733
767
|
const shadowRootNodes = shadowRoot ? [] : null;
|
|
734
768
|
const vnode = newVNode(tagName, null);
|
|
735
769
|
vnode.$elm$ = hostElm;
|
|
736
|
-
const members = Object.entries(((_a = hostRef.$cmpMeta$) == null ? void 0 : _a.$members$) || {});
|
|
737
|
-
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
738
|
-
var _b2;
|
|
739
|
-
if (!(memberFlags & 31 /* Prop */)) {
|
|
740
|
-
return;
|
|
741
|
-
}
|
|
742
|
-
const attributeName = metaAttributeName || memberName;
|
|
743
|
-
const attrVal = hostElm.getAttribute(attributeName);
|
|
744
|
-
if (attrVal !== null) {
|
|
745
|
-
const attrPropVal = parsePropertyValue(
|
|
746
|
-
attrVal,
|
|
747
|
-
memberFlags);
|
|
748
|
-
(_b2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b2.set(memberName, attrPropVal);
|
|
749
|
-
}
|
|
750
|
-
});
|
|
751
770
|
let scopeId2;
|
|
752
771
|
{
|
|
753
772
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -786,7 +805,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
786
805
|
if (childRenderNode.$tag$ === "slot") {
|
|
787
806
|
node["s-cr"] = hostElm["s-cr"];
|
|
788
807
|
}
|
|
789
|
-
} else if (((
|
|
808
|
+
} else if (((_a = childRenderNode.$tag$) == null ? void 0 : _a.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
|
|
790
809
|
const cmpMeta = getHostRef(childRenderNode.$elm$);
|
|
791
810
|
if (cmpMeta) {
|
|
792
811
|
const scopeId3 = getScopeId(
|
|
@@ -855,7 +874,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
855
874
|
}
|
|
856
875
|
}
|
|
857
876
|
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
858
|
-
if (((
|
|
877
|
+
if (((_b = slottedItem.node.parentElement) == null ? void 0 : _b.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
|
|
859
878
|
slottedItem.node.removeAttribute("slot");
|
|
860
879
|
}
|
|
861
880
|
}
|
|
@@ -1559,13 +1578,6 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
|
|
|
1559
1578
|
return cssText;
|
|
1560
1579
|
};
|
|
1561
1580
|
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
1562
|
-
if (typeof propValue === "string" && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
|
|
1563
|
-
try {
|
|
1564
|
-
propValue = JSON.parse(propValue);
|
|
1565
|
-
return propValue;
|
|
1566
|
-
} catch (e) {
|
|
1567
|
-
}
|
|
1568
|
-
}
|
|
1569
1581
|
if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
|
|
1570
1582
|
propValue = deserializeProperty(propValue);
|
|
1571
1583
|
return propValue;
|
|
@@ -2165,9 +2177,11 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
2165
2177
|
hostTagName = hostElm.tagName;
|
|
2166
2178
|
if (cmpMeta.$attrsToReflect$) {
|
|
2167
2179
|
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
2168
|
-
cmpMeta.$attrsToReflect$.
|
|
2169
|
-
|
|
2170
|
-
|
|
2180
|
+
cmpMeta.$attrsToReflect$.forEach(([propName, attribute]) => {
|
|
2181
|
+
{
|
|
2182
|
+
rootVnode.$attrs$[attribute] = hostElm[propName];
|
|
2183
|
+
}
|
|
2184
|
+
});
|
|
2171
2185
|
}
|
|
2172
2186
|
if (isInitialLoad && rootVnode.$attrs$) {
|
|
2173
2187
|
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
@@ -2294,6 +2308,11 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
2294
2308
|
}
|
|
2295
2309
|
let maybePromise;
|
|
2296
2310
|
if (isInitialLoad) {
|
|
2311
|
+
{
|
|
2312
|
+
if (hostRef.$fetchedCbList$.length) {
|
|
2313
|
+
hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
|
|
2314
|
+
}
|
|
2315
|
+
}
|
|
2297
2316
|
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
2298
2317
|
} else {
|
|
2299
2318
|
maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
|
|
@@ -2498,9 +2517,17 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
2498
2517
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
2499
2518
|
var _a;
|
|
2500
2519
|
const prototype = Cstr.prototype;
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
cmpMeta.$watchers$
|
|
2520
|
+
{
|
|
2521
|
+
{
|
|
2522
|
+
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
2523
|
+
cmpMeta.$watchers$ = Cstr.watchers;
|
|
2524
|
+
}
|
|
2525
|
+
if (Cstr.deserializers && !cmpMeta.$deserializers$) {
|
|
2526
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
2527
|
+
}
|
|
2528
|
+
if (Cstr.serializers && !cmpMeta.$serializers$) {
|
|
2529
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
2530
|
+
}
|
|
2504
2531
|
}
|
|
2505
2532
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
2506
2533
|
members.map(([memberName, [memberFlags]]) => {
|
|
@@ -2535,8 +2562,6 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2535
2562
|
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
2536
2563
|
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
2537
2564
|
newValue = ref.$instanceValues$.get(memberName);
|
|
2538
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
2539
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
2540
2565
|
}
|
|
2541
2566
|
origSetter.apply(this, [
|
|
2542
2567
|
parsePropertyValue(
|
|
@@ -2582,6 +2607,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
2582
2607
|
if (!Cstr.isProxied) {
|
|
2583
2608
|
{
|
|
2584
2609
|
cmpMeta.$watchers$ = Cstr.watchers;
|
|
2610
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
2611
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
2585
2612
|
}
|
|
2586
2613
|
proxyComponent(Cstr, cmpMeta);
|
|
2587
2614
|
Cstr.isProxied = true;
|
|
@@ -2871,6 +2898,9 @@ var hAsync = (nodeName, vnodeData, ...children) => {
|
|
|
2871
2898
|
// src/hydrate/platform/proxy-host-element.ts
|
|
2872
2899
|
function proxyHostElement(elm, cstr) {
|
|
2873
2900
|
const cmpMeta = cstr.cmpMeta;
|
|
2901
|
+
cmpMeta.$watchers$ = cmpMeta.$watchers$ || cstr.watchers;
|
|
2902
|
+
cmpMeta.$deserializers$ = cmpMeta.$deserializers$ || cstr.deserializers;
|
|
2903
|
+
cmpMeta.$serializers$ = cmpMeta.$serializers$ || cstr.serializers;
|
|
2874
2904
|
if (typeof elm.componentOnReady !== "function") {
|
|
2875
2905
|
elm.componentOnReady = componentOnReady;
|
|
2876
2906
|
}
|
|
@@ -2884,7 +2914,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
2884
2914
|
const hostRef = getHostRef(elm);
|
|
2885
2915
|
const members = Object.entries(cmpMeta.$members$);
|
|
2886
2916
|
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
2887
|
-
var _a;
|
|
2917
|
+
var _a, _b;
|
|
2888
2918
|
if (memberFlags & 31 /* Prop */) {
|
|
2889
2919
|
const attributeName = metaAttributeName || memberName;
|
|
2890
2920
|
const attrValue = elm.getAttribute(attributeName);
|
|
@@ -2892,7 +2922,13 @@ function proxyHostElement(elm, cstr) {
|
|
|
2892
2922
|
let attrPropVal;
|
|
2893
2923
|
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(cstr.prototype, memberName) || {};
|
|
2894
2924
|
if (attrValue != null) {
|
|
2895
|
-
|
|
2925
|
+
if ((_a = cmpMeta.$deserializers$) == null ? void 0 : _a[memberName]) {
|
|
2926
|
+
for (const methodName of cmpMeta.$deserializers$[memberName]) {
|
|
2927
|
+
attrPropVal = cstr.prototype[methodName](attrValue, memberName);
|
|
2928
|
+
}
|
|
2929
|
+
} else {
|
|
2930
|
+
attrPropVal = parsePropertyValue(attrValue, memberFlags);
|
|
2931
|
+
}
|
|
2896
2932
|
}
|
|
2897
2933
|
if (propValue !== void 0) {
|
|
2898
2934
|
attrPropVal = propValue;
|
|
@@ -2903,7 +2939,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
2903
2939
|
origSetter.apply(elm, [attrPropVal]);
|
|
2904
2940
|
attrPropVal = origGetter ? origGetter.apply(elm) : attrPropVal;
|
|
2905
2941
|
}
|
|
2906
|
-
(
|
|
2942
|
+
(_b = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b.set(memberName, attrPropVal);
|
|
2907
2943
|
}
|
|
2908
2944
|
const getterSetterDescriptor = {
|
|
2909
2945
|
get: function() {
|
|
@@ -2917,21 +2953,18 @@ function proxyHostElement(elm, cstr) {
|
|
|
2917
2953
|
};
|
|
2918
2954
|
Object.defineProperty(elm, memberName, getterSetterDescriptor);
|
|
2919
2955
|
Object.defineProperty(elm, metaAttributeName, getterSetterDescriptor);
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
enumerable: true
|
|
2933
|
-
});
|
|
2934
|
-
}
|
|
2956
|
+
hostRef.$fetchedCbList$.push(() => {
|
|
2957
|
+
var _a2;
|
|
2958
|
+
if (!((_a2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a2.has(memberName))) {
|
|
2959
|
+
setValue(
|
|
2960
|
+
elm,
|
|
2961
|
+
memberName,
|
|
2962
|
+
attrPropVal !== void 0 ? attrPropVal : hostRef.$lazyInstance$[memberName],
|
|
2963
|
+
cmpMeta
|
|
2964
|
+
);
|
|
2965
|
+
}
|
|
2966
|
+
Object.defineProperty(hostRef.$lazyInstance$, memberName, getterSetterDescriptor);
|
|
2967
|
+
});
|
|
2935
2968
|
} else if (memberFlags & 64 /* Method */) {
|
|
2936
2969
|
Object.defineProperty(elm, memberName, {
|
|
2937
2970
|
value(...args) {
|
|
@@ -2947,7 +2980,6 @@ function proxyHostElement(elm, cstr) {
|
|
|
2947
2980
|
});
|
|
2948
2981
|
}
|
|
2949
2982
|
});
|
|
2950
|
-
cstr.prototype.__stencilAugmented = true;
|
|
2951
2983
|
}
|
|
2952
2984
|
}
|
|
2953
2985
|
function componentOnReady() {
|
|
@@ -3296,8 +3328,12 @@ var getHostRef = (ref) => {
|
|
|
3296
3328
|
return void 0;
|
|
3297
3329
|
};
|
|
3298
3330
|
var registerInstance = (lazyInstance, hostRef) => {
|
|
3331
|
+
if (!hostRef) return void 0;
|
|
3299
3332
|
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
3300
3333
|
hostRef.$lazyInstance$ = lazyInstance;
|
|
3334
|
+
if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.state)) {
|
|
3335
|
+
reWireGetterSetter(lazyInstance, hostRef);
|
|
3336
|
+
}
|
|
3301
3337
|
return hostRef;
|
|
3302
3338
|
};
|
|
3303
3339
|
var registerHost = (elm, cmpMeta) => {
|
|
@@ -3306,8 +3342,10 @@ var registerHost = (elm, cmpMeta) => {
|
|
|
3306
3342
|
$cmpMeta$: cmpMeta,
|
|
3307
3343
|
$hostElement$: elm,
|
|
3308
3344
|
$instanceValues$: /* @__PURE__ */ new Map(),
|
|
3345
|
+
$serializerValues$: /* @__PURE__ */ new Map(),
|
|
3309
3346
|
$renderCount$: 0
|
|
3310
3347
|
};
|
|
3348
|
+
hostRef.$fetchedCbList$ = [];
|
|
3311
3349
|
hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
|
|
3312
3350
|
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
|
3313
3351
|
elm["s-p"] = [];
|
|
@@ -7486,6 +7524,7 @@ const AsnProp = (options) => (target, propertyKey) => {
|
|
|
7486
7524
|
}
|
|
7487
7525
|
copyOptions.converter = defaultConverter$1;
|
|
7488
7526
|
}
|
|
7527
|
+
copyOptions.raw = options.raw;
|
|
7489
7528
|
schema.items[propertyKey] = copyOptions;
|
|
7490
7529
|
};
|
|
7491
7530
|
|
|
@@ -7522,15 +7561,11 @@ class AsnParser {
|
|
|
7522
7561
|
targetSchema = choiceResult.targetSchema;
|
|
7523
7562
|
}
|
|
7524
7563
|
const sequenceResult = this.handleSequenceTypes(asn1Schema, schema, target, targetSchema);
|
|
7525
|
-
if (sequenceResult && "isManualMapping" in sequenceResult) {
|
|
7526
|
-
return sequenceResult.result;
|
|
7527
|
-
}
|
|
7528
|
-
const asn1ComparedSchema = sequenceResult;
|
|
7529
7564
|
const res = new target();
|
|
7530
7565
|
if (isTypeOfArray(target)) {
|
|
7531
7566
|
return this.handleArrayTypes(asn1Schema, schema, target);
|
|
7532
7567
|
}
|
|
7533
|
-
this.processSchemaItems(schema,
|
|
7568
|
+
this.processSchemaItems(schema, sequenceResult, res);
|
|
7534
7569
|
return res;
|
|
7535
7570
|
}
|
|
7536
7571
|
catch (error) {
|
|
@@ -7584,65 +7619,20 @@ class AsnParser {
|
|
|
7584
7619
|
}
|
|
7585
7620
|
static handleSequenceTypes(asn1Schema, schema, target, targetSchema) {
|
|
7586
7621
|
if (schema.type === AsnTypeTypes.Sequence) {
|
|
7587
|
-
const optionalChoiceFields = Object.keys(schema.items).filter((key) => {
|
|
7588
|
-
const item = schema.items[key];
|
|
7589
|
-
return (item.optional &&
|
|
7590
|
-
typeof item.type === "function" &&
|
|
7591
|
-
schemaStorage.has(item.type) &&
|
|
7592
|
-
schemaStorage.get(item.type).type === AsnTypeTypes.Choice);
|
|
7593
|
-
});
|
|
7594
|
-
if (optionalChoiceFields.length > 0 &&
|
|
7595
|
-
"value" in asn1Schema.valueBlock &&
|
|
7596
|
-
Array.isArray(asn1Schema.valueBlock.value) &&
|
|
7597
|
-
target.name === "CertReqMsg") {
|
|
7598
|
-
return this.handleManualMapping(asn1Schema, schema, target);
|
|
7599
|
-
}
|
|
7600
7622
|
const asn1ComparedSchema = compareSchema({}, asn1Schema, targetSchema);
|
|
7601
7623
|
if (!asn1ComparedSchema.verified) {
|
|
7602
|
-
throw new AsnSchemaValidationError(`Data does not match to ${target.name} ASN1 schema. ${asn1ComparedSchema.result.error}`);
|
|
7624
|
+
throw new AsnSchemaValidationError(`Data does not match to ${target.name} ASN1 schema.${asn1ComparedSchema.result.error ? ` ${asn1ComparedSchema.result.error}` : ""}`);
|
|
7603
7625
|
}
|
|
7604
7626
|
return asn1ComparedSchema;
|
|
7605
7627
|
}
|
|
7606
7628
|
else {
|
|
7607
7629
|
const asn1ComparedSchema = compareSchema({}, asn1Schema, targetSchema);
|
|
7608
7630
|
if (!asn1ComparedSchema.verified) {
|
|
7609
|
-
throw new AsnSchemaValidationError(`Data does not match to ${target.name} ASN1 schema. ${asn1ComparedSchema.result.error}`);
|
|
7631
|
+
throw new AsnSchemaValidationError(`Data does not match to ${target.name} ASN1 schema.${asn1ComparedSchema.result.error ? ` ${asn1ComparedSchema.result.error}` : ""}`);
|
|
7610
7632
|
}
|
|
7611
7633
|
return asn1ComparedSchema;
|
|
7612
7634
|
}
|
|
7613
7635
|
}
|
|
7614
|
-
static handleManualMapping(asn1Schema, schema, target) {
|
|
7615
|
-
const res = new target();
|
|
7616
|
-
const asn1Elements = asn1Schema.valueBlock.value;
|
|
7617
|
-
const schemaKeys = Object.keys(schema.items);
|
|
7618
|
-
let asn1Index = 0;
|
|
7619
|
-
for (let i = 0; i < schemaKeys.length; i++) {
|
|
7620
|
-
const key = schemaKeys[i];
|
|
7621
|
-
const schemaItem = schema.items[key];
|
|
7622
|
-
if (asn1Index >= asn1Elements.length)
|
|
7623
|
-
break;
|
|
7624
|
-
if (schemaItem.repeated) {
|
|
7625
|
-
res[key] = this.processRepeatedField(asn1Elements, asn1Index, schemaItem);
|
|
7626
|
-
break;
|
|
7627
|
-
}
|
|
7628
|
-
else if (typeof schemaItem.type === "number") {
|
|
7629
|
-
res[key] = this.processPrimitiveField(asn1Elements[asn1Index], schemaItem);
|
|
7630
|
-
asn1Index++;
|
|
7631
|
-
}
|
|
7632
|
-
else if (this.isOptionalChoiceField(schemaItem)) {
|
|
7633
|
-
const result = this.processOptionalChoiceField(asn1Elements[asn1Index], schemaItem);
|
|
7634
|
-
if (result.processed) {
|
|
7635
|
-
res[key] = result.value;
|
|
7636
|
-
asn1Index++;
|
|
7637
|
-
}
|
|
7638
|
-
}
|
|
7639
|
-
else {
|
|
7640
|
-
res[key] = this.fromASN(asn1Elements[asn1Index], schemaItem.type);
|
|
7641
|
-
asn1Index++;
|
|
7642
|
-
}
|
|
7643
|
-
}
|
|
7644
|
-
return { result: res, verified: true, isManualMapping: true };
|
|
7645
|
-
}
|
|
7646
7636
|
static processRepeatedField(asn1Elements, asn1Index, schemaItem) {
|
|
7647
7637
|
let elementsToProcess = asn1Elements.slice(asn1Index);
|
|
7648
7638
|
if (elementsToProcess.length === 1 && elementsToProcess[0].constructor.name === "Sequence") {
|
|
@@ -7730,11 +7720,22 @@ class AsnParser {
|
|
|
7730
7720
|
}
|
|
7731
7721
|
const schemaItem = schema.items[key];
|
|
7732
7722
|
const schemaItemType = schemaItem.type;
|
|
7723
|
+
let parsedValue;
|
|
7733
7724
|
if (typeof schemaItemType === "number" || isConvertible(schemaItemType)) {
|
|
7734
|
-
|
|
7725
|
+
parsedValue = this.processPrimitiveSchemaItem(asn1SchemaValue, schemaItem, schemaItemType);
|
|
7726
|
+
}
|
|
7727
|
+
else {
|
|
7728
|
+
parsedValue = this.processComplexSchemaItem(asn1SchemaValue, schemaItem, schemaItemType);
|
|
7729
|
+
}
|
|
7730
|
+
if (parsedValue &&
|
|
7731
|
+
typeof parsedValue === "object" &&
|
|
7732
|
+
"value" in parsedValue &&
|
|
7733
|
+
"raw" in parsedValue) {
|
|
7734
|
+
res[key] = parsedValue.value;
|
|
7735
|
+
res[`${key}Raw`] = parsedValue.raw;
|
|
7735
7736
|
}
|
|
7736
7737
|
else {
|
|
7737
|
-
res[key] =
|
|
7738
|
+
res[key] = parsedValue;
|
|
7738
7739
|
}
|
|
7739
7740
|
}
|
|
7740
7741
|
}
|
|
@@ -7815,7 +7816,14 @@ class AsnParser {
|
|
|
7815
7816
|
}
|
|
7816
7817
|
}
|
|
7817
7818
|
else {
|
|
7818
|
-
|
|
7819
|
+
const parsedValue = this.fromASN(valueToProcess, schemaItemType);
|
|
7820
|
+
if (schemaItem.raw) {
|
|
7821
|
+
return {
|
|
7822
|
+
value: parsedValue,
|
|
7823
|
+
raw: asn1SchemaValue.valueBeforeDecodeView,
|
|
7824
|
+
};
|
|
7825
|
+
}
|
|
7826
|
+
return parsedValue;
|
|
7819
7827
|
}
|
|
7820
7828
|
}
|
|
7821
7829
|
}
|
|
@@ -9283,7 +9291,7 @@ class Certificate {
|
|
|
9283
9291
|
}
|
|
9284
9292
|
}
|
|
9285
9293
|
__decorate$1([
|
|
9286
|
-
AsnProp({ type: TBSCertificate })
|
|
9294
|
+
AsnProp({ type: TBSCertificate, raw: true })
|
|
9287
9295
|
], Certificate.prototype, "tbsCertificate", void 0);
|
|
9288
9296
|
__decorate$1([
|
|
9289
9297
|
AsnProp({ type: AlgorithmIdentifier })
|
|
@@ -9347,7 +9355,7 @@ class CertificateList {
|
|
|
9347
9355
|
}
|
|
9348
9356
|
}
|
|
9349
9357
|
__decorate$1([
|
|
9350
|
-
AsnProp({ type: TBSCertList })
|
|
9358
|
+
AsnProp({ type: TBSCertList, raw: true })
|
|
9351
9359
|
], CertificateList.prototype, "tbsCertList", void 0);
|
|
9352
9360
|
__decorate$1([
|
|
9353
9361
|
AsnProp({ type: AlgorithmIdentifier })
|
|
@@ -12586,14 +12594,19 @@ function camelCaseToWords(value) {
|
|
|
12586
12594
|
* LICENSE file in the root directory of this source tree.
|
|
12587
12595
|
*/
|
|
12588
12596
|
var __classPrivateFieldSet$2 = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
12589
|
-
if (kind === "m")
|
|
12590
|
-
|
|
12591
|
-
if (
|
|
12597
|
+
if (kind === "m")
|
|
12598
|
+
throw new TypeError("Private method is not writable");
|
|
12599
|
+
if (kind === "a" && !f)
|
|
12600
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
12601
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
12602
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
12592
12603
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
12593
12604
|
};
|
|
12594
12605
|
var __classPrivateFieldGet$2 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
12595
|
-
if (kind === "a" && !f)
|
|
12596
|
-
|
|
12606
|
+
if (kind === "a" && !f)
|
|
12607
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
12608
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
12609
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
12597
12610
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12598
12611
|
};
|
|
12599
12612
|
var _Name_asn;
|
|
@@ -12680,7 +12693,6 @@ const id_pe_qcStatements = `${id_pe$1}.3`;
|
|
|
12680
12693
|
class QCStatement {
|
|
12681
12694
|
constructor() {
|
|
12682
12695
|
this.statementId = "";
|
|
12683
|
-
this.statementInfo = new ArrayBuffer(0);
|
|
12684
12696
|
}
|
|
12685
12697
|
}
|
|
12686
12698
|
__decorate$1([
|
|
@@ -14122,8 +14134,12 @@ __decorate$1([
|
|
|
14122
14134
|
|
|
14123
14135
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
14124
14136
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14125
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
14126
|
-
|
|
14137
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
14138
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
14139
|
+
else
|
|
14140
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
14141
|
+
if (d = decorators[i])
|
|
14142
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14127
14143
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14128
14144
|
};
|
|
14129
14145
|
/**
|
|
@@ -14174,14 +14190,19 @@ __decorate([
|
|
|
14174
14190
|
* LICENSE file in the root directory of this source tree.
|
|
14175
14191
|
*/
|
|
14176
14192
|
var __classPrivateFieldSet$1 = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
14177
|
-
if (kind === "m")
|
|
14178
|
-
|
|
14179
|
-
if (
|
|
14193
|
+
if (kind === "m")
|
|
14194
|
+
throw new TypeError("Private method is not writable");
|
|
14195
|
+
if (kind === "a" && !f)
|
|
14196
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
14197
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
14198
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
14180
14199
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
14181
14200
|
};
|
|
14182
14201
|
var __classPrivateFieldGet$1 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
14183
|
-
if (kind === "a" && !f)
|
|
14184
|
-
|
|
14202
|
+
if (kind === "a" && !f)
|
|
14203
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
14204
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
14205
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
14185
14206
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
14186
14207
|
};
|
|
14187
14208
|
var _AsnData_asn, _AsnData_raw;
|
|
@@ -15339,7 +15360,14 @@ __decorate$1([
|
|
|
15339
15360
|
AsnProp({ type: DigestAlgorithmIdentifier })
|
|
15340
15361
|
], SignerInfo.prototype, "digestAlgorithm", void 0);
|
|
15341
15362
|
__decorate$1([
|
|
15342
|
-
AsnProp({
|
|
15363
|
+
AsnProp({
|
|
15364
|
+
type: Attribute$1,
|
|
15365
|
+
repeated: "set",
|
|
15366
|
+
context: 0,
|
|
15367
|
+
implicit: true,
|
|
15368
|
+
optional: true,
|
|
15369
|
+
raw: true,
|
|
15370
|
+
})
|
|
15343
15371
|
], SignerInfo.prototype, "signedAttrs", void 0);
|
|
15344
15372
|
__decorate$1([
|
|
15345
15373
|
AsnProp({ type: SignatureAlgorithmIdentifier })
|
|
@@ -15360,17 +15388,18 @@ SignerInfos = SignerInfos_1 = __decorate$1([
|
|
|
15360
15388
|
AsnType({ type: AsnTypeTypes.Set, itemType: SignerInfo })
|
|
15361
15389
|
], SignerInfos);
|
|
15362
15390
|
|
|
15363
|
-
let SigningTime$1 = class SigningTime extends Time {
|
|
15364
|
-
};
|
|
15365
|
-
SigningTime$1 = __decorate$1([
|
|
15366
|
-
AsnType({ type: AsnTypeTypes.Choice })
|
|
15367
|
-
], SigningTime$1);
|
|
15368
15391
|
let CounterSignature$1 = class CounterSignature extends SignerInfo {
|
|
15369
15392
|
};
|
|
15370
15393
|
CounterSignature$1 = __decorate$1([
|
|
15371
15394
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
15372
15395
|
], CounterSignature$1);
|
|
15373
15396
|
|
|
15397
|
+
let SigningTime$1 = class SigningTime extends Time {
|
|
15398
|
+
};
|
|
15399
|
+
SigningTime$1 = __decorate$1([
|
|
15400
|
+
AsnType({ type: AsnTypeTypes.Choice })
|
|
15401
|
+
], SigningTime$1);
|
|
15402
|
+
|
|
15374
15403
|
var CertificateSet_1;
|
|
15375
15404
|
class OtherCertificateFormat {
|
|
15376
15405
|
constructor(params = {}) {
|
|
@@ -16406,7 +16435,7 @@ __decorate$1([
|
|
|
16406
16435
|
AsnProp({ type: SubjectPublicKeyInfo })
|
|
16407
16436
|
], CertificationRequestInfo.prototype, "subjectPKInfo", void 0);
|
|
16408
16437
|
__decorate$1([
|
|
16409
|
-
AsnProp({ type: Attributes$1, implicit: true, context: 0 })
|
|
16438
|
+
AsnProp({ type: Attributes$1, implicit: true, context: 0, optional: true })
|
|
16410
16439
|
], CertificationRequestInfo.prototype, "attributes", void 0);
|
|
16411
16440
|
|
|
16412
16441
|
class CertificationRequest {
|
|
@@ -16418,7 +16447,7 @@ class CertificationRequest {
|
|
|
16418
16447
|
}
|
|
16419
16448
|
}
|
|
16420
16449
|
__decorate$1([
|
|
16421
|
-
AsnProp({ type: CertificationRequestInfo })
|
|
16450
|
+
AsnProp({ type: CertificationRequestInfo, raw: true })
|
|
16422
16451
|
], CertificationRequest.prototype, "certificationRequestInfo", void 0);
|
|
16423
16452
|
__decorate$1([
|
|
16424
16453
|
AsnProp({ type: AlgorithmIdentifier })
|
|
@@ -18236,21 +18265,28 @@ let SshCertificate$1 = class SshCertificate extends SshObject {
|
|
|
18236
18265
|
};
|
|
18237
18266
|
|
|
18238
18267
|
var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
18239
|
-
if (kind === "m")
|
|
18240
|
-
|
|
18241
|
-
if (
|
|
18268
|
+
if (kind === "m")
|
|
18269
|
+
throw new TypeError("Private method is not writable");
|
|
18270
|
+
if (kind === "a" && !f)
|
|
18271
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
18272
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
18273
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
18242
18274
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
18243
18275
|
};
|
|
18244
18276
|
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
18245
|
-
if (kind === "a" && !f)
|
|
18246
|
-
|
|
18277
|
+
if (kind === "a" && !f)
|
|
18278
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
18279
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
18280
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
18247
18281
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
18248
18282
|
};
|
|
18249
18283
|
var _SshCertificate_cert;
|
|
18250
18284
|
class SshCertificate {
|
|
18251
18285
|
constructor(raw) {
|
|
18252
18286
|
_SshCertificate_cert.set(this, void 0);
|
|
18253
|
-
const blob = parse(raw.trim())
|
|
18287
|
+
const blob = parse(Convert.isBase64Url(raw.trim())
|
|
18288
|
+
? Convert.ToString(Convert.FromBase64Url(raw.trim()))
|
|
18289
|
+
: raw.trim());
|
|
18254
18290
|
// @ts-expect-error - SshCertificateType is not a constructor
|
|
18255
18291
|
__classPrivateFieldSet(this, _SshCertificate_cert, new SshCertificate$1(blob), "f");
|
|
18256
18292
|
this.notBefore = __classPrivateFieldGet(this, _SshCertificate_cert, "f").validAfter;
|
|
@@ -18285,8 +18321,11 @@ class SshCertificate {
|
|
|
18285
18321
|
thumbprint: Convert.ToBase64(thumbprint),
|
|
18286
18322
|
};
|
|
18287
18323
|
}
|
|
18288
|
-
|
|
18289
|
-
|
|
18324
|
+
async toString(format = 'pem') {
|
|
18325
|
+
if (format === 'base64url') {
|
|
18326
|
+
const blob = await __classPrivateFieldGet(this, _SshCertificate_cert, "f").toSSH();
|
|
18327
|
+
return Convert.ToBase64Url(Convert.FromString(blob));
|
|
18328
|
+
}
|
|
18290
18329
|
return __classPrivateFieldGet(this, _SshCertificate_cert, "f").toSSH();
|
|
18291
18330
|
}
|
|
18292
18331
|
get commonName() {
|
|
@@ -18329,8 +18368,9 @@ function isLink(value) {
|
|
|
18329
18368
|
*/
|
|
18330
18369
|
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
18331
18370
|
var t = {};
|
|
18332
|
-
for (var p in s)
|
|
18333
|
-
|
|
18371
|
+
for (var p in s)
|
|
18372
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
18373
|
+
t[p] = s[p];
|
|
18334
18374
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18335
18375
|
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18336
18376
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
@@ -18362,9 +18402,7 @@ const Typography = (props, children) => {
|
|
|
18362
18402
|
[`t-${variant}`]: true,
|
|
18363
18403
|
[`c-${color}`]: true,
|
|
18364
18404
|
[classProp]: Boolean(classProp),
|
|
18365
|
-
} }),
|
|
18366
|
-
hAsync("span", null),
|
|
18367
|
-
children));
|
|
18405
|
+
} }), hAsync("span", null), children));
|
|
18368
18406
|
};
|
|
18369
18407
|
|
|
18370
18408
|
/**
|
|
@@ -18376,7 +18414,7 @@ const Typography = (props, children) => {
|
|
|
18376
18414
|
*/
|
|
18377
18415
|
const Link = (props, children) => {
|
|
18378
18416
|
const { href, variant, } = props;
|
|
18379
|
-
return (hAsync(Typography, { component: "a", variant: variant, color: "secondary",
|
|
18417
|
+
return (hAsync(Typography, { component: "a", variant: variant, color: "secondary",
|
|
18380
18418
|
// @ts-expect-error - href is a string
|
|
18381
18419
|
href: href, target: "_blank", rel: "noreferrer noopener" }, children));
|
|
18382
18420
|
};
|
|
@@ -18388,21 +18426,15 @@ const Link = (props, children) => {
|
|
|
18388
18426
|
* This source code is licensed under the MIT license found in the
|
|
18389
18427
|
* LICENSE file in the root directory of this source tree.
|
|
18390
18428
|
*/
|
|
18391
|
-
const TableRowTable = (_, children) => (hAsync("tr", null,
|
|
18392
|
-
hAsync("td", { colSpan: 2 },
|
|
18393
|
-
hAsync("table", null, children))));
|
|
18429
|
+
const TableRowTable = (_, children) => (hAsync("tr", null, hAsync("td", { colSpan: 2 }, hAsync("table", null, children))));
|
|
18394
18430
|
const RowTitle = (props) => {
|
|
18395
18431
|
const { value } = props;
|
|
18396
18432
|
if (!value) {
|
|
18397
18433
|
return null;
|
|
18398
18434
|
}
|
|
18399
18435
|
return [
|
|
18400
|
-
hAsync("tr", { class: "title" },
|
|
18401
|
-
|
|
18402
|
-
hAsync(Typography, { variant: "s1", color: "black" }, value))),
|
|
18403
|
-
hAsync("tr", null,
|
|
18404
|
-
hAsync("td", { colSpan: 2, class: "divider" },
|
|
18405
|
-
hAsync("span", null))),
|
|
18436
|
+
hAsync("tr", { class: "title" }, hAsync("td", { colSpan: 2 }, hAsync(Typography, { variant: "s1", color: "black" }, value))),
|
|
18437
|
+
hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
|
|
18406
18438
|
];
|
|
18407
18439
|
};
|
|
18408
18440
|
const RowValue = (props) => {
|
|
@@ -18421,14 +18453,9 @@ const RowValue = (props) => {
|
|
|
18421
18453
|
elementValue = value;
|
|
18422
18454
|
}
|
|
18423
18455
|
const hasValue = !!value.toString();
|
|
18424
|
-
return (hAsync("tr", null,
|
|
18425
|
-
hAsync(
|
|
18426
|
-
|
|
18427
|
-
hasValue && (hAsync("td", { class: { monospace } }, (isLink(value.toString()) || href)
|
|
18428
|
-
? (hAsync(Link, { variant: "b2", href: href || value.toString() }, value))
|
|
18429
|
-
: (hAsync(Typography, { variant: "b2", color: "black" },
|
|
18430
|
-
elementValue,
|
|
18431
|
-
extraValue))))));
|
|
18456
|
+
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)
|
|
18457
|
+
? (hAsync(Link, { variant: "b2", href: href || value.toString() }, value))
|
|
18458
|
+
: (hAsync(Typography, { variant: "b2", color: "black" }, elementValue, extraValue))))));
|
|
18432
18459
|
};
|
|
18433
18460
|
|
|
18434
18461
|
/**
|
|
@@ -18592,9 +18619,7 @@ const BasicExtension = (props, children) => {
|
|
|
18592
18619
|
hAsync(RowValue, { name: "Name", value: getStringByOID(extension.asn.extnID) }),
|
|
18593
18620
|
hAsync(RowValue, { name: "Critical", value: extension.asn.critical ? l10n.getString('yes') : l10n.getString('no') }),
|
|
18594
18621
|
children,
|
|
18595
|
-
hAsync("tr", null,
|
|
18596
|
-
hAsync("td", { colSpan: 2, class: "divider" },
|
|
18597
|
-
hAsync("span", null))),
|
|
18622
|
+
hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
|
|
18598
18623
|
]);
|
|
18599
18624
|
};
|
|
18600
18625
|
|
|
@@ -18607,8 +18632,7 @@ const BasicExtension = (props, children) => {
|
|
|
18607
18632
|
*/
|
|
18608
18633
|
const KeyUsageExtension = (props) => {
|
|
18609
18634
|
const { extension } = props;
|
|
18610
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18611
|
-
hAsync(RowValue, { name: "Usage", value: extension.value.toJSON().join(', ') })));
|
|
18635
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Usage", value: extension.value.toJSON().join(', ') })));
|
|
18612
18636
|
};
|
|
18613
18637
|
|
|
18614
18638
|
/**
|
|
@@ -18620,9 +18644,7 @@ const KeyUsageExtension = (props) => {
|
|
|
18620
18644
|
*/
|
|
18621
18645
|
const BasicConstraintsExtension = (props) => {
|
|
18622
18646
|
const { extension } = props;
|
|
18623
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18624
|
-
hAsync(RowValue, { name: "Certificate Authority", value: extension.value.cA ? l10n.getString('yes') : l10n.getString('no') }),
|
|
18625
|
-
hAsync(RowValue, { name: "Path Length Constraint", value: extension.value.pathLenConstraint })));
|
|
18647
|
+
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 })));
|
|
18626
18648
|
};
|
|
18627
18649
|
|
|
18628
18650
|
/**
|
|
@@ -18636,8 +18658,7 @@ const ExtendedKeyUsageExtension = (props) => {
|
|
|
18636
18658
|
const { extension } = props;
|
|
18637
18659
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
18638
18660
|
hAsync(RowValue, { name: "Purposes", value: "" }),
|
|
18639
|
-
extension.value.map((usage) => (hAsync(TableRowTable, null,
|
|
18640
|
-
hAsync(RowValue, { name: "Purpose", value: getStringByOID(usage) })))),
|
|
18661
|
+
extension.value.map((usage) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Purpose", value: getStringByOID(usage) })))),
|
|
18641
18662
|
])));
|
|
18642
18663
|
};
|
|
18643
18664
|
|
|
@@ -18653,17 +18674,10 @@ const SubjectKeyIdentifierExtension = (props) => {
|
|
|
18653
18674
|
const keyId = Convert.ToHex(extension.value.buffer);
|
|
18654
18675
|
const childrenLink = getSubjectKeyIdChildrenLink(keyId);
|
|
18655
18676
|
const siblingsLink = getSubjectKeyIdSiblingsLink(keyId);
|
|
18656
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18657
|
-
|
|
18658
|
-
|
|
18659
|
-
|
|
18660
|
-
hAsync(Link, { href: childrenLink }, "children"),
|
|
18661
|
-
"]")),
|
|
18662
|
-
siblingsLink && (hAsync("span", null,
|
|
18663
|
-
"\u00A0[",
|
|
18664
|
-
hAsync(Link, { href: siblingsLink }, "siblings"),
|
|
18665
|
-
"]")),
|
|
18666
|
-
] })));
|
|
18677
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Key ID", value: keyId, monospace: true, extraValue: [
|
|
18678
|
+
childrenLink && (hAsync("span", null, "\u00A0[", hAsync(Link, { href: childrenLink }, "children"), "]")),
|
|
18679
|
+
siblingsLink && (hAsync("span", null, "\u00A0[", hAsync(Link, { href: siblingsLink }, "siblings"), "]")),
|
|
18680
|
+
] })));
|
|
18667
18681
|
};
|
|
18668
18682
|
|
|
18669
18683
|
/**
|
|
@@ -18678,17 +18692,10 @@ const AuthorityKeyIdentifierExtension = (props) => {
|
|
|
18678
18692
|
const keyId = Convert.ToHex(extension.value.keyIdentifier.buffer);
|
|
18679
18693
|
const parentLink = getAuthKeyIdParentLink(keyId);
|
|
18680
18694
|
const siblingsLink = getAuthKeyIdSiblingsLink(keyId);
|
|
18681
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18682
|
-
|
|
18683
|
-
|
|
18684
|
-
|
|
18685
|
-
hAsync(Link, { href: parentLink }, "parents"),
|
|
18686
|
-
"]")),
|
|
18687
|
-
siblingsLink && (hAsync("span", null,
|
|
18688
|
-
"\u00A0[",
|
|
18689
|
-
hAsync(Link, { href: siblingsLink }, "siblings"),
|
|
18690
|
-
"]")),
|
|
18691
|
-
] })));
|
|
18695
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Key ID", value: keyId, monospace: true, extraValue: [
|
|
18696
|
+
parentLink && (hAsync("span", null, "\u00A0[", hAsync(Link, { href: parentLink }, "parents"), "]")),
|
|
18697
|
+
siblingsLink && (hAsync("span", null, "\u00A0[", hAsync(Link, { href: siblingsLink }, "siblings"), "]")),
|
|
18698
|
+
] })));
|
|
18692
18699
|
};
|
|
18693
18700
|
|
|
18694
18701
|
/**
|
|
@@ -18786,9 +18793,7 @@ const InfoAccessSyntaxExtension = (props) => {
|
|
|
18786
18793
|
const { extension } = props;
|
|
18787
18794
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
18788
18795
|
hAsync(RowValue, { name: "Descriptions", value: "" }),
|
|
18789
|
-
extension.value.map((description) => (hAsync(TableRowTable, null,
|
|
18790
|
-
hAsync(RowValue, { name: "Method", value: getStringByOID(description.accessMethod) }),
|
|
18791
|
-
hAsync(GeneralNamePart, Object.assign({ generalName: description.accessLocation }, props))))),
|
|
18796
|
+
extension.value.map((description) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Method", value: getStringByOID(description.accessMethod) }), hAsync(GeneralNamePart, Object.assign({ generalName: description.accessLocation }, props))))),
|
|
18792
18797
|
])));
|
|
18793
18798
|
};
|
|
18794
18799
|
|
|
@@ -18815,27 +18820,25 @@ const CertificatePoliciesExtension = (props) => {
|
|
|
18815
18820
|
const { extension } = props;
|
|
18816
18821
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
18817
18822
|
hAsync(RowValue, { name: "Policies", value: "" }),
|
|
18818
|
-
extension.value.map((policy) => (hAsync(TableRowTable, null,
|
|
18819
|
-
hAsync(RowValue, { name: "
|
|
18820
|
-
policy.policyQualifiers
|
|
18821
|
-
|
|
18822
|
-
|
|
18823
|
-
|
|
18824
|
-
|
|
18825
|
-
|
|
18826
|
-
|
|
18827
|
-
|
|
18828
|
-
|
|
18829
|
-
|
|
18830
|
-
if (
|
|
18831
|
-
|
|
18832
|
-
if (value.explicitText) {
|
|
18833
|
-
data.push(hAsync(RowValue, { name: "Value", value: value.explicitText.toString() }));
|
|
18834
|
-
}
|
|
18823
|
+
extension.value.map((policy) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Policy ID", value: getStringByOID(policy.policyIdentifier) }), policy.policyQualifiers && Boolean(policy.policyQualifiers.length) && ([
|
|
18824
|
+
hAsync(RowValue, { name: "Qualifiers", value: "" }),
|
|
18825
|
+
policy.policyQualifiers.map((qualifierInfo) => {
|
|
18826
|
+
const data = [
|
|
18827
|
+
hAsync(RowValue, { name: "Qualifier ID", value: getStringByOID(qualifierInfo.policyQualifierId) }),
|
|
18828
|
+
];
|
|
18829
|
+
if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.1') {
|
|
18830
|
+
const value = AsnParser.parse(qualifierInfo.qualifier, DisplayText);
|
|
18831
|
+
data.push(hAsync(RowValue, { name: "Value", value: value.toString() }));
|
|
18832
|
+
}
|
|
18833
|
+
if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.2') {
|
|
18834
|
+
const value = AsnParser.parse(qualifierInfo.qualifier, UserNotice);
|
|
18835
|
+
if (value.explicitText) {
|
|
18836
|
+
data.push(hAsync(RowValue, { name: "Value", value: value.explicitText.toString() }));
|
|
18835
18837
|
}
|
|
18836
|
-
|
|
18837
|
-
|
|
18838
|
-
|
|
18838
|
+
}
|
|
18839
|
+
return (hAsync(TableRowTable, null, data));
|
|
18840
|
+
}),
|
|
18841
|
+
])))),
|
|
18839
18842
|
])));
|
|
18840
18843
|
};
|
|
18841
18844
|
|
|
@@ -18937,13 +18940,7 @@ const CertificateTransparencyExtension = (props) => {
|
|
|
18937
18940
|
const { extension } = props;
|
|
18938
18941
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.items.length) && ([
|
|
18939
18942
|
hAsync(RowValue, { name: "Signed Certificate Timestamps", value: "" }),
|
|
18940
|
-
extension.value.toJSON().map((signedCertificateTimestamp) => (hAsync(TableRowTable, null,
|
|
18941
|
-
hAsync(RowValue, { name: "Version", value: signedCertificateTimestamp.version + 1 }),
|
|
18942
|
-
hAsync(RowValue, { name: "Log Operator", value: logs[signedCertificateTimestamp.logId] || signedCertificateTimestamp.logId }),
|
|
18943
|
-
hAsync(RowValue, { name: "Log Key ID", value: signedCertificateTimestamp.logId, monospace: true }),
|
|
18944
|
-
hAsync(RowValue, { name: "Timestamp", value: dateShort(signedCertificateTimestamp.timestamp) }),
|
|
18945
|
-
hAsync(RowValue, { name: "Signature Algorithm", value: `${signedCertificateTimestamp.hashAlgorithm} ${signedCertificateTimestamp.signatureAlgorithm}`.toUpperCase() }),
|
|
18946
|
-
hAsync(RowValue, { name: "Signature", value: signedCertificateTimestamp.signature, monospace: true })))),
|
|
18943
|
+
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 })))),
|
|
18947
18944
|
])));
|
|
18948
18945
|
};
|
|
18949
18946
|
|
|
@@ -18971,10 +18968,7 @@ const NameConstraintsExtension = (props) => {
|
|
|
18971
18968
|
*/
|
|
18972
18969
|
const CertificateTemplateExtension = (props) => {
|
|
18973
18970
|
const { extension } = props;
|
|
18974
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18975
|
-
hAsync(RowValue, { name: "Template ID", value: extension.value.templateID }),
|
|
18976
|
-
hAsync(RowValue, { name: "Template Major Version", value: extension.value.templateMajorVersion }),
|
|
18977
|
-
hAsync(RowValue, { name: "Template Minor Version", value: extension.value.templateMinorVersion })));
|
|
18971
|
+
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 })));
|
|
18978
18972
|
};
|
|
18979
18973
|
|
|
18980
18974
|
/**
|
|
@@ -18986,8 +18980,7 @@ const CertificateTemplateExtension = (props) => {
|
|
|
18986
18980
|
*/
|
|
18987
18981
|
const EnrollCertTypeChoiceExtension = (props) => {
|
|
18988
18982
|
const { extension } = props;
|
|
18989
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18990
|
-
hAsync(RowValue, { name: "Name", value: extension.value.toString() })));
|
|
18983
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Name", value: extension.value.toString() })));
|
|
18991
18984
|
};
|
|
18992
18985
|
|
|
18993
18986
|
/**
|
|
@@ -19000,9 +18993,7 @@ const EnrollCertTypeChoiceExtension = (props) => {
|
|
|
19000
18993
|
const CaVersionExtension = (props) => {
|
|
19001
18994
|
const { extension } = props;
|
|
19002
18995
|
const version = extension.value.getVersion();
|
|
19003
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19004
|
-
hAsync(RowValue, { name: "Certificate Index", value: version.certificateIndex }),
|
|
19005
|
-
hAsync(RowValue, { name: "Key Index", value: version.keyIndex })));
|
|
18996
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Certificate Index", value: version.certificateIndex }), hAsync(RowValue, { name: "Key Index", value: version.keyIndex })));
|
|
19006
18997
|
};
|
|
19007
18998
|
|
|
19008
18999
|
var PdsLocations_1, QcEuPDS_1, QcType_1, QcCClegislation_1;
|
|
@@ -19125,7 +19116,7 @@ const id_etsi_qcs_qcType = `${id_etsi_qcs}.6`;
|
|
|
19125
19116
|
const QCStatementsExtension = (props) => {
|
|
19126
19117
|
const { extension } = props;
|
|
19127
19118
|
function renderStatementInfo(statementId, statementInfo) {
|
|
19128
|
-
if (!statementInfo.byteLength) {
|
|
19119
|
+
if (!statementInfo || !statementInfo.byteLength) {
|
|
19129
19120
|
return null;
|
|
19130
19121
|
}
|
|
19131
19122
|
if (statementId === id_qcs_pkixQCSyntax_v2) {
|
|
@@ -19144,18 +19135,14 @@ const QCStatementsExtension = (props) => {
|
|
|
19144
19135
|
const pdsLocations = AsnParser.parse(statementInfo, PdsLocations);
|
|
19145
19136
|
return ([
|
|
19146
19137
|
hAsync(RowValue, { name: "PDS Locations", value: "" }),
|
|
19147
|
-
pdsLocations.map((location) => (hAsync(TableRowTable, null,
|
|
19148
|
-
hAsync(RowValue, { name: "URL", value: location.url }),
|
|
19149
|
-
hAsync(RowValue, { name: "Language", value: location.language })))),
|
|
19138
|
+
pdsLocations.map((location) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "URL", value: location.url }), hAsync(RowValue, { name: "Language", value: location.language })))),
|
|
19150
19139
|
]);
|
|
19151
19140
|
}
|
|
19152
19141
|
return (hAsync(RowValue, { name: "Info", value: Convert.ToHex(statementInfo), monospace: true }));
|
|
19153
19142
|
}
|
|
19154
19143
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
19155
19144
|
hAsync(RowValue, { name: "Statements", value: "" }),
|
|
19156
|
-
extension.value.map((statement) => (hAsync(TableRowTable, null,
|
|
19157
|
-
hAsync(RowValue, { name: "Statement ID", value: getStringByOID(statement.statementId) }),
|
|
19158
|
-
renderStatementInfo(statement.statementId, statement.statementInfo)))),
|
|
19145
|
+
extension.value.map((statement) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Statement ID", value: getStringByOID(statement.statementId) }), renderStatementInfo(statement.statementId, statement.statementInfo)))),
|
|
19159
19146
|
])));
|
|
19160
19147
|
};
|
|
19161
19148
|
|
|
@@ -19168,8 +19155,7 @@ const QCStatementsExtension = (props) => {
|
|
|
19168
19155
|
*/
|
|
19169
19156
|
const NetscapeCommentExtension = (props) => {
|
|
19170
19157
|
const { extension } = props;
|
|
19171
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19172
|
-
hAsync(RowValue, { name: "Comment", value: extension.value.value })));
|
|
19158
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Comment", value: extension.value.value })));
|
|
19173
19159
|
};
|
|
19174
19160
|
|
|
19175
19161
|
/**
|
|
@@ -19181,8 +19167,7 @@ const NetscapeCommentExtension = (props) => {
|
|
|
19181
19167
|
*/
|
|
19182
19168
|
const NetscapeCertTypeExtension = (props) => {
|
|
19183
19169
|
const { extension } = props;
|
|
19184
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19185
|
-
hAsync(RowValue, { name: "Type", value: extension.value.toJSON().join(', ') })));
|
|
19170
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Type", value: extension.value.toJSON().join(', ') })));
|
|
19186
19171
|
};
|
|
19187
19172
|
|
|
19188
19173
|
/**
|
|
@@ -19194,8 +19179,7 @@ const NetscapeCertTypeExtension = (props) => {
|
|
|
19194
19179
|
*/
|
|
19195
19180
|
const LeiRoleExtension = (props) => {
|
|
19196
19181
|
const { extension } = props;
|
|
19197
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19198
|
-
hAsync(RowValue, { name: "Role", value: extension.value.text })));
|
|
19182
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Role", value: extension.value.text })));
|
|
19199
19183
|
};
|
|
19200
19184
|
|
|
19201
19185
|
/**
|
|
@@ -19207,8 +19191,7 @@ const LeiRoleExtension = (props) => {
|
|
|
19207
19191
|
*/
|
|
19208
19192
|
const LeiExtension = (props) => {
|
|
19209
19193
|
const { extension, getLEILink } = props;
|
|
19210
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19211
|
-
hAsync(RowValue, { name: "Identifier", value: extension.value.text, href: getLEILink(extension.value.text) })));
|
|
19194
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Identifier", value: extension.value.text, href: getLEILink(extension.value.text) })));
|
|
19212
19195
|
};
|
|
19213
19196
|
|
|
19214
19197
|
/**
|
|
@@ -19220,10 +19203,7 @@ const LeiExtension = (props) => {
|
|
|
19220
19203
|
*/
|
|
19221
19204
|
const TimestampExtension = (props) => {
|
|
19222
19205
|
const { extension } = props;
|
|
19223
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19224
|
-
hAsync(RowValue, { name: "Version", value: extension.value.version }),
|
|
19225
|
-
hAsync(GeneralNamePart, Object.assign({ generalName: extension.value.location }, props)),
|
|
19226
|
-
hAsync(RowValue, { name: "Requires Auth", value: extension.value.requiresAuth ? l10n.getString('yes') : l10n.getString('no') })));
|
|
19206
|
+
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') })));
|
|
19227
19207
|
};
|
|
19228
19208
|
|
|
19229
19209
|
/**
|
|
@@ -19235,8 +19215,7 @@ const TimestampExtension = (props) => {
|
|
|
19235
19215
|
*/
|
|
19236
19216
|
const ArchiveRevInfoExtension = (props) => {
|
|
19237
19217
|
const { extension } = props;
|
|
19238
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19239
|
-
hAsync(RowValue, { name: "Version", value: extension.value.version })));
|
|
19218
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Version", value: extension.value.version })));
|
|
19240
19219
|
};
|
|
19241
19220
|
|
|
19242
19221
|
/**
|
|
@@ -19248,8 +19227,7 @@ const ArchiveRevInfoExtension = (props) => {
|
|
|
19248
19227
|
*/
|
|
19249
19228
|
const CRLReasonExtension = (props) => {
|
|
19250
19229
|
const { extension } = props;
|
|
19251
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19252
|
-
hAsync(RowValue, { name: "Reason", value: extension.value.toJSON() })));
|
|
19230
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Reason", value: extension.value.toJSON() })));
|
|
19253
19231
|
};
|
|
19254
19232
|
|
|
19255
19233
|
/**
|
|
@@ -19274,9 +19252,7 @@ const SubjectDirectoryAttributesExtension = (props) => {
|
|
|
19274
19252
|
const { extension } = props;
|
|
19275
19253
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
19276
19254
|
hAsync(RowValue, { name: "Attributes", value: "" }),
|
|
19277
|
-
extension.value.map((attribute) => (hAsync(TableRowTable, null,
|
|
19278
|
-
hAsync(RowValue, { name: "Type", value: getStringByOID(attribute.type) }),
|
|
19279
|
-
hAsync(RowValue, { name: "Value", value: getAttributeValue(attribute) })))),
|
|
19255
|
+
extension.value.map((attribute) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Type", value: getStringByOID(attribute.type) }), hAsync(RowValue, { name: "Value", value: getAttributeValue(attribute) })))),
|
|
19280
19256
|
])));
|
|
19281
19257
|
};
|
|
19282
19258
|
|
|
@@ -19289,8 +19265,7 @@ const SubjectDirectoryAttributesExtension = (props) => {
|
|
|
19289
19265
|
*/
|
|
19290
19266
|
const AsStringExtension = (props) => {
|
|
19291
19267
|
const { extension } = props;
|
|
19292
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19293
|
-
hAsync(RowValue, { name: "Value", value: extension.value, monospace: true })));
|
|
19268
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Value", value: extension.value, monospace: true })));
|
|
19294
19269
|
};
|
|
19295
19270
|
|
|
19296
19271
|
/**
|
|
@@ -19302,9 +19277,7 @@ const AsStringExtension = (props) => {
|
|
|
19302
19277
|
*/
|
|
19303
19278
|
const PrivateKeyUsagePeriodExtension = (props) => {
|
|
19304
19279
|
const { extension } = props;
|
|
19305
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19306
|
-
hAsync(RowValue, { name: "Not Before", value: dateShort(extension.value.notBefore) }),
|
|
19307
|
-
hAsync(RowValue, { name: "Not After", value: dateShort(extension.value.notAfter) })));
|
|
19280
|
+
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) })));
|
|
19308
19281
|
};
|
|
19309
19282
|
|
|
19310
19283
|
/**
|
|
@@ -19316,9 +19289,7 @@ const PrivateKeyUsagePeriodExtension = (props) => {
|
|
|
19316
19289
|
*/
|
|
19317
19290
|
const EntrustVersionInfoExtension = (props) => {
|
|
19318
19291
|
const { extension } = props;
|
|
19319
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19320
|
-
hAsync(RowValue, { name: "Version", value: extension.value.entrustVers }),
|
|
19321
|
-
hAsync(RowValue, { name: "Info Flags", value: extension.value.entrustInfoFlags.toJSON().join(', ') })));
|
|
19292
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Version", value: extension.value.entrustVers }), hAsync(RowValue, { name: "Info Flags", value: extension.value.entrustInfoFlags.toJSON().join(', ') })));
|
|
19322
19293
|
};
|
|
19323
19294
|
|
|
19324
19295
|
/**
|
|
@@ -19332,12 +19303,7 @@ const BiometricSyntaxExtension = (props) => {
|
|
|
19332
19303
|
const { extension } = props;
|
|
19333
19304
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
19334
19305
|
hAsync(RowValue, { name: "Biometrics", value: "" }),
|
|
19335
|
-
extension.value.map((data) => (hAsync(TableRowTable, null,
|
|
19336
|
-
hAsync(RowValue, { name: "OID", value: getStringByOID(data.typeOfBiometricData.biometricDataOid) }),
|
|
19337
|
-
hAsync(RowValue, { name: "Type", value: data.typeOfBiometricData.predefinedBiometricType }),
|
|
19338
|
-
hAsync(RowValue, { name: "Algorithm", value: getStringByOID(data.hashAlgorithm.algorithm) }),
|
|
19339
|
-
hAsync(RowValue, { name: "Hash", value: Convert.ToHex(data.biometricDataHash.buffer), monospace: true }),
|
|
19340
|
-
hAsync(RowValue, { name: "Source Uri", value: data.sourceDataUri })))),
|
|
19306
|
+
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 })))),
|
|
19341
19307
|
])));
|
|
19342
19308
|
};
|
|
19343
19309
|
|
|
@@ -19387,14 +19353,10 @@ const LogotypeExtension = (props) => {
|
|
|
19387
19353
|
hAsync(RowValue, { name: "Type", value: title }),
|
|
19388
19354
|
renderImage(image),
|
|
19389
19355
|
renderAudio(audio),
|
|
19390
|
-
hAsync("tr", null,
|
|
19391
|
-
hAsync("td", null),
|
|
19392
|
-
hAsync("td", null)),
|
|
19356
|
+
hAsync("tr", null, hAsync("td", null), hAsync("td", null)),
|
|
19393
19357
|
];
|
|
19394
19358
|
};
|
|
19395
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19396
|
-
renderLogo('Subject', extension.value.subjectLogo),
|
|
19397
|
-
renderLogo('Issuer', extension.value.issuerLogo)));
|
|
19359
|
+
return (hAsync(BasicExtension, { extension: extension }, renderLogo('Subject', extension.value.subjectLogo), renderLogo('Issuer', extension.value.issuerLogo)));
|
|
19398
19360
|
};
|
|
19399
19361
|
|
|
19400
19362
|
/**
|
|
@@ -19408,10 +19370,7 @@ const TNAuthListExtension = (props) => {
|
|
|
19408
19370
|
const { extension } = props;
|
|
19409
19371
|
return (hAsync(BasicExtension, { extension: extension }, extension.value.length > 0 && ([
|
|
19410
19372
|
hAsync(RowValue, { name: "Entries", value: "" }),
|
|
19411
|
-
extension.value.map((entry) => (hAsync(TableRowTable, null,
|
|
19412
|
-
hAsync(RowValue, { name: "SPC", value: entry.spc }),
|
|
19413
|
-
hAsync(RowValue, { name: "Range", value: entry.range ? `start=${entry.range.start} count==${entry.range.count}` : null }),
|
|
19414
|
-
hAsync(RowValue, { name: "One", value: entry.one })))),
|
|
19373
|
+
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 })))),
|
|
19415
19374
|
])));
|
|
19416
19375
|
};
|
|
19417
19376
|
|
|
@@ -19424,9 +19383,7 @@ const TNAuthListExtension = (props) => {
|
|
|
19424
19383
|
*/
|
|
19425
19384
|
const PolicyConstraintsExtension = (props) => {
|
|
19426
19385
|
const { extension } = props;
|
|
19427
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19428
|
-
extension.value.requireExplicitPolicy && (hAsync(RowValue, { name: "Require Explicit Policy", value: AsnIntegerArrayBufferConverter.toASN(extension.value.requireExplicitPolicy).valueBlock.toString() })),
|
|
19429
|
-
extension.value.inhibitPolicyMapping && (hAsync(RowValue, { name: "Inhibit Policy Mapping", value: AsnIntegerArrayBufferConverter.toASN(extension.value.inhibitPolicyMapping).valueBlock.toString() }))));
|
|
19386
|
+
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() }))));
|
|
19430
19387
|
};
|
|
19431
19388
|
|
|
19432
19389
|
/**
|
|
@@ -19440,9 +19397,7 @@ const PolicyMappingsExtension = (props) => {
|
|
|
19440
19397
|
const { extension } = props;
|
|
19441
19398
|
return (hAsync(BasicExtension, { extension: extension }, extension.value.length > 0 && ([
|
|
19442
19399
|
hAsync(RowValue, { name: "Policies", value: "" }),
|
|
19443
|
-
extension.value.map((policy) => (hAsync(TableRowTable, null,
|
|
19444
|
-
hAsync(RowValue, { name: "Issuer Domain", value: getStringByOID(policy.issuerDomainPolicy) }),
|
|
19445
|
-
hAsync(RowValue, { name: "Subject Domain", value: getStringByOID(policy.subjectDomainPolicy) })))),
|
|
19400
|
+
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) })))),
|
|
19446
19401
|
])));
|
|
19447
19402
|
};
|
|
19448
19403
|
|
|
@@ -19455,8 +19410,7 @@ const PolicyMappingsExtension = (props) => {
|
|
|
19455
19410
|
*/
|
|
19456
19411
|
const CRLNumberExtension = (props) => {
|
|
19457
19412
|
const { extension } = props;
|
|
19458
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19459
|
-
hAsync(RowValue, { name: l10n.getString('value'), value: extension.value.value })));
|
|
19413
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: l10n.getString('value'), value: extension.value.value })));
|
|
19460
19414
|
};
|
|
19461
19415
|
|
|
19462
19416
|
/**
|
|
@@ -19470,12 +19424,7 @@ const IssuingDistributionPointExtension = (props) => {
|
|
|
19470
19424
|
var _a;
|
|
19471
19425
|
const { extension } = props;
|
|
19472
19426
|
return (hAsync(BasicExtension, { extension: extension }, (_a = extension.value.distributionPoint) === null || _a === void 0 ? void 0 :
|
|
19473
|
-
_a.fullName.map((gn) => (hAsync(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
|
|
19474
|
-
extension.value.onlySomeReasons && (hAsync(RowValue, { name: l10n.getString('onlyReasons'), value: extension.value.onlySomeReasons.toJSON().join(', ') })),
|
|
19475
|
-
extension.value.indirectCRL && (hAsync(RowValue, { name: l10n.getString('indirectCRL'), value: l10n.getString('yes') })),
|
|
19476
|
-
extension.value.onlyContainsUserCerts && (hAsync(RowValue, { name: l10n.getString('onlyUserCertificates'), value: l10n.getString('yes') })),
|
|
19477
|
-
extension.value.onlyContainsAttributeCerts && (hAsync(RowValue, { name: l10n.getString('onlyAttributeCertificates'), value: l10n.getString('yes') })),
|
|
19478
|
-
extension.value.onlyContainsCACerts && (hAsync(RowValue, { name: l10n.getString('onlyCACertificates'), value: l10n.getString('yes') }))));
|
|
19427
|
+
_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') }))));
|
|
19479
19428
|
};
|
|
19480
19429
|
|
|
19481
19430
|
/**
|
|
@@ -19517,9 +19466,7 @@ const KeyDescriptionExtension = (props) => {
|
|
|
19517
19466
|
if (parsed.packageInfos.length || parsed.signatureDigests.length) {
|
|
19518
19467
|
return [
|
|
19519
19468
|
hAsync(RowValue, { name: camelCaseToWords(keyName), value: "" }),
|
|
19520
|
-
Boolean(parsed.packageInfos) && (hAsync(TableRowTable, null,
|
|
19521
|
-
hAsync(RowValue, { name: camelCaseToWords('packageInfos'), value: "" }),
|
|
19522
|
-
parsed.packageInfos.map((attestationPackageInfo) => (hAsync(TableRowTable, null, renderRowValue(attestationPackageInfo)))))),
|
|
19469
|
+
Boolean(parsed.packageInfos) && (hAsync(TableRowTable, null, hAsync(RowValue, { name: camelCaseToWords('packageInfos'), value: "" }), parsed.packageInfos.map((attestationPackageInfo) => (hAsync(TableRowTable, null, renderRowValue(attestationPackageInfo)))))),
|
|
19523
19470
|
];
|
|
19524
19471
|
}
|
|
19525
19472
|
}
|
|
@@ -19546,15 +19493,7 @@ const KeyDescriptionExtension = (props) => {
|
|
|
19546
19493
|
hAsync(TableRowTable, null, authorizationList.map(renderRowValue)),
|
|
19547
19494
|
];
|
|
19548
19495
|
};
|
|
19549
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19550
|
-
hAsync(RowValue, { name: camelCaseToWords('attestationVersion'), value: extension.value.attestationVersion }),
|
|
19551
|
-
hAsync(RowValue, { name: camelCaseToWords('attestationSecurityLevel'), value: extension.value.attestationSecurityLevel }),
|
|
19552
|
-
hAsync(RowValue, { name: camelCaseToWords('keymasterVersion'), value: extension.value.keymasterVersion }),
|
|
19553
|
-
hAsync(RowValue, { name: camelCaseToWords('keymasterSecurityLevel'), value: extension.value.keymasterSecurityLevel }),
|
|
19554
|
-
hAsync(RowValue, { name: camelCaseToWords('attestationChallenge'), value: Convert.ToString(extension.value.attestationChallenge) }),
|
|
19555
|
-
hAsync(RowValue, { name: camelCaseToWords('uniqueId'), value: Convert.ToString(extension.value.uniqueId) || undefined }),
|
|
19556
|
-
renderAuthorizationList(camelCaseToWords('softwareEnforced'), extension.value.softwareEnforced),
|
|
19557
|
-
renderAuthorizationList(camelCaseToWords('teeEnforced'), extension.value.teeEnforced)));
|
|
19496
|
+
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)));
|
|
19558
19497
|
};
|
|
19559
19498
|
|
|
19560
19499
|
/**
|
|
@@ -19713,9 +19652,7 @@ const BasicAttribute = (props, children) => {
|
|
|
19713
19652
|
return ([
|
|
19714
19653
|
hAsync(RowValue, { name: "Name", value: getStringByOID(attribute.asn.type) }),
|
|
19715
19654
|
children,
|
|
19716
|
-
hAsync("tr", null,
|
|
19717
|
-
hAsync("td", { colSpan: 2, class: "divider" },
|
|
19718
|
-
hAsync("span", null))),
|
|
19655
|
+
hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
|
|
19719
19656
|
]);
|
|
19720
19657
|
};
|
|
19721
19658
|
|
|
@@ -19744,8 +19681,7 @@ const NamePart = (props) => {
|
|
|
19744
19681
|
*/
|
|
19745
19682
|
const NameAttribute = (props) => {
|
|
19746
19683
|
const { attribute } = props;
|
|
19747
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19748
|
-
hAsync(NamePart, { name: attribute.value })));
|
|
19684
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(NamePart, { name: attribute.value })));
|
|
19749
19685
|
};
|
|
19750
19686
|
|
|
19751
19687
|
/**
|
|
@@ -19757,15 +19693,7 @@ const NameAttribute = (props) => {
|
|
|
19757
19693
|
*/
|
|
19758
19694
|
const ActivityDescriptionAttribute = (props) => {
|
|
19759
19695
|
const { attribute } = props;
|
|
19760
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19761
|
-
hAsync(RowValue, { name: camelCaseToWords('codeAuthority'), value: "" }),
|
|
19762
|
-
hAsync(TableRowTable, null,
|
|
19763
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.codeAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19764
|
-
hAsync(RowValue, { name: camelCaseToWords('codeId'), value: "" }),
|
|
19765
|
-
hAsync(TableRowTable, null,
|
|
19766
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.codeId, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19767
|
-
hAsync(RowValue, { name: camelCaseToWords('shortName'), value: attribute.value.shortName }),
|
|
19768
|
-
hAsync(RowValue, { name: camelCaseToWords('shortDescription'), value: attribute.value.shortDescription })));
|
|
19696
|
+
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 })));
|
|
19769
19697
|
};
|
|
19770
19698
|
|
|
19771
19699
|
/**
|
|
@@ -19777,18 +19705,7 @@ const ActivityDescriptionAttribute = (props) => {
|
|
|
19777
19705
|
*/
|
|
19778
19706
|
const WebGdprAttribute = (props) => {
|
|
19779
19707
|
const { attribute } = props;
|
|
19780
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19781
|
-
hAsync(RowValue, { name: camelCaseToWords('assessmentAuthority'), value: "" }),
|
|
19782
|
-
hAsync(TableRowTable, null,
|
|
19783
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.assessmentAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19784
|
-
hAsync(RowValue, { name: camelCaseToWords('assessmentLocation'), value: "" }),
|
|
19785
|
-
hAsync(TableRowTable, null,
|
|
19786
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.assessmentLocation, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19787
|
-
hAsync(RowValue, { name: camelCaseToWords('assessmentRef'), value: "" }),
|
|
19788
|
-
hAsync(TableRowTable, null,
|
|
19789
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.assessmentRef, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19790
|
-
hAsync(RowValue, { name: camelCaseToWords('dataStorageTerritory'), value: attribute.value.dataStorageTerritory }),
|
|
19791
|
-
hAsync(RowValue, { name: camelCaseToWords('description'), value: attribute.value.description })));
|
|
19708
|
+
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 })));
|
|
19792
19709
|
};
|
|
19793
19710
|
|
|
19794
19711
|
/**
|
|
@@ -19801,8 +19718,7 @@ const WebGdprAttribute = (props) => {
|
|
|
19801
19718
|
const InsuranceValueAttribute = (props) => {
|
|
19802
19719
|
const { attribute } = props;
|
|
19803
19720
|
const value = `${attribute.value.base} * 10^${attribute.value.degree} ${attribute.value.location}`;
|
|
19804
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19805
|
-
hAsync(RowValue, { name: "Value", value: value })));
|
|
19721
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: value })));
|
|
19806
19722
|
};
|
|
19807
19723
|
|
|
19808
19724
|
/**
|
|
@@ -19840,8 +19756,7 @@ const ValuationRankingAttribute = (props) => {
|
|
|
19840
19756
|
getValueRank(attribute.value[keyName]),
|
|
19841
19757
|
hAsync("br", null),
|
|
19842
19758
|
]));
|
|
19843
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19844
|
-
hAsync(RowValue, { name: "Value", value: values })));
|
|
19759
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: values })));
|
|
19845
19760
|
};
|
|
19846
19761
|
|
|
19847
19762
|
/**
|
|
@@ -19853,8 +19768,7 @@ const ValuationRankingAttribute = (props) => {
|
|
|
19853
19768
|
*/
|
|
19854
19769
|
const AsStringAttribute = (props) => {
|
|
19855
19770
|
const { attribute } = props;
|
|
19856
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19857
|
-
hAsync(RowValue, { name: "Value", value: attribute.value, monospace: true })));
|
|
19771
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: attribute.value, monospace: true })));
|
|
19858
19772
|
};
|
|
19859
19773
|
|
|
19860
19774
|
/**
|
|
@@ -19866,8 +19780,7 @@ const AsStringAttribute = (props) => {
|
|
|
19866
19780
|
*/
|
|
19867
19781
|
const UnstructuredNameAttribute = (props) => {
|
|
19868
19782
|
const { attribute } = props;
|
|
19869
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19870
|
-
hAsync(RowValue, { name: "Value", value: attribute.value.utf8String })));
|
|
19783
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: attribute.value.utf8String })));
|
|
19871
19784
|
};
|
|
19872
19785
|
|
|
19873
19786
|
/**
|
|
@@ -19879,8 +19792,7 @@ const UnstructuredNameAttribute = (props) => {
|
|
|
19879
19792
|
*/
|
|
19880
19793
|
const ChallengePasswordAttribute = (props) => {
|
|
19881
19794
|
const { attribute } = props;
|
|
19882
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19883
|
-
hAsync(RowValue, { name: "Value", value: attribute.value.toString() })));
|
|
19795
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: attribute.value.toString() })));
|
|
19884
19796
|
};
|
|
19885
19797
|
|
|
19886
19798
|
/**
|
|
@@ -19896,9 +19808,7 @@ const ExtensionRequestAttribute = (props) => {
|
|
|
19896
19808
|
if (attribute.value) {
|
|
19897
19809
|
extensions = attribute.value.map((e) => new Extension(AsnConvert.serialize(e)));
|
|
19898
19810
|
}
|
|
19899
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19900
|
-
hAsync(TableRowTable, null,
|
|
19901
|
-
hAsync(Extensions, { extensions: extensions, getDNSNameLink: () => '', getIPAddressLink: () => '', getLEILink: () => '' }))));
|
|
19811
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(TableRowTable, null, hAsync(Extensions, { extensions: extensions, getDNSNameLink: () => '', getIPAddressLink: () => '', getLEILink: () => '' }))));
|
|
19902
19812
|
};
|
|
19903
19813
|
|
|
19904
19814
|
/**
|
|
@@ -19913,16 +19823,10 @@ const PrivateKeyPossessionStatementAttribute = (props) => {
|
|
|
19913
19823
|
const certificateRaw = attribute.value.cert
|
|
19914
19824
|
? AsnConvert.serialize(attribute.value.cert)
|
|
19915
19825
|
: null;
|
|
19916
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19917
|
-
hAsync(RowValue, { name: "
|
|
19918
|
-
hAsync(
|
|
19919
|
-
|
|
19920
|
-
hAsync(NamePart, { name: attribute.value.signer.issuer })),
|
|
19921
|
-
certificateRaw && [
|
|
19922
|
-
hAsync(RowValue, { name: "Certificate", value: "" }),
|
|
19923
|
-
hAsync(TableRowTable, null,
|
|
19924
|
-
hAsync("peculiar-certificate-viewer", { certificate: Convert.ToBase64(certificateRaw) })),
|
|
19925
|
-
]));
|
|
19826
|
+
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 && [
|
|
19827
|
+
hAsync(RowValue, { name: "Certificate", value: "" }),
|
|
19828
|
+
hAsync(TableRowTable, null, hAsync("peculiar-certificate-viewer", { certificate: Convert.ToBase64(certificateRaw) })),
|
|
19829
|
+
]));
|
|
19926
19830
|
};
|
|
19927
19831
|
|
|
19928
19832
|
/**
|
|
@@ -20000,9 +19904,7 @@ const Button = (props, children) => {
|
|
|
20000
19904
|
// eslint-disable-next-line react/destructuring-assignment
|
|
20001
19905
|
m_no_padding: children.length === 0,
|
|
20002
19906
|
[classProp]: Boolean(classProp),
|
|
20003
|
-
}, onClick: onClick },
|
|
20004
|
-
startIcon,
|
|
20005
|
-
children.length > 0 && (hAsync(Typography, { variant: "b3", color: "black", component: "span" }, children))));
|
|
19907
|
+
}, onClick: onClick }, startIcon, children.length > 0 && (hAsync(Typography, { variant: "b3", color: "black", component: "span" }, children))));
|
|
20006
19908
|
};
|
|
20007
19909
|
|
|
20008
19910
|
/**
|
|
@@ -20014,8 +19916,7 @@ const Button = (props, children) => {
|
|
|
20014
19916
|
*/
|
|
20015
19917
|
const DetailsIcon = (props) => {
|
|
20016
19918
|
const { color = 'secondary' } = props;
|
|
20017
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" },
|
|
20018
|
-
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" })));
|
|
19919
|
+
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" })));
|
|
20019
19920
|
};
|
|
20020
19921
|
|
|
20021
19922
|
/**
|
|
@@ -20027,8 +19928,7 @@ const DetailsIcon = (props) => {
|
|
|
20027
19928
|
*/
|
|
20028
19929
|
const DownloadIcon = (props) => {
|
|
20029
19930
|
const { color = 'secondary' } = props;
|
|
20030
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
|
|
20031
|
-
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" })));
|
|
19931
|
+
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" })));
|
|
20032
19932
|
};
|
|
20033
19933
|
|
|
20034
19934
|
/**
|
|
@@ -20040,8 +19940,7 @@ const DownloadIcon = (props) => {
|
|
|
20040
19940
|
*/
|
|
20041
19941
|
const LinkIcon = (props) => {
|
|
20042
19942
|
const { color = 'secondary' } = props;
|
|
20043
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" },
|
|
20044
|
-
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" })));
|
|
19943
|
+
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" })));
|
|
20045
19944
|
};
|
|
20046
19945
|
|
|
20047
19946
|
/**
|
|
@@ -20053,8 +19952,7 @@ const LinkIcon = (props) => {
|
|
|
20053
19952
|
*/
|
|
20054
19953
|
const ActionsIcon = (props) => {
|
|
20055
19954
|
const { color = 'gray-10' } = props;
|
|
20056
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" },
|
|
20057
|
-
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" })));
|
|
19955
|
+
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" })));
|
|
20058
19956
|
};
|
|
20059
19957
|
|
|
20060
19958
|
/**
|
|
@@ -20066,8 +19964,7 @@ const ActionsIcon = (props) => {
|
|
|
20066
19964
|
*/
|
|
20067
19965
|
const ArrowBottomIcon = (props) => {
|
|
20068
19966
|
const { color = 'gray-10' } = props;
|
|
20069
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
|
|
20070
|
-
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" })));
|
|
19967
|
+
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" })));
|
|
20071
19968
|
};
|
|
20072
19969
|
|
|
20073
19970
|
/**
|
|
@@ -20079,8 +19976,7 @@ const ArrowBottomIcon = (props) => {
|
|
|
20079
19976
|
*/
|
|
20080
19977
|
const ArrowTopIcon = (props) => {
|
|
20081
19978
|
const { color = 'gray-10' } = props;
|
|
20082
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
|
|
20083
|
-
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" })));
|
|
19979
|
+
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" })));
|
|
20084
19980
|
};
|
|
20085
19981
|
|
|
20086
19982
|
/**
|
|
@@ -20092,8 +19988,7 @@ const ArrowTopIcon = (props) => {
|
|
|
20092
19988
|
*/
|
|
20093
19989
|
const CrossIcon = (props) => {
|
|
20094
19990
|
const { color = 'gray-9' } = props;
|
|
20095
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
|
|
20096
|
-
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" })));
|
|
19991
|
+
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" })));
|
|
20097
19992
|
};
|
|
20098
19993
|
|
|
20099
19994
|
/**
|
|
@@ -20107,12 +20002,8 @@ const Miscellaneous = (props) => {
|
|
|
20107
20002
|
const { certificate } = props;
|
|
20108
20003
|
return [
|
|
20109
20004
|
hAsync(RowTitle, { value: l10n.getString('miscellaneous') }),
|
|
20110
|
-
hAsync("tr", null,
|
|
20111
|
-
|
|
20112
|
-
hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPEM() }, l10n.getString('download.pem')))),
|
|
20113
|
-
hAsync("tr", null,
|
|
20114
|
-
hAsync("td", null,
|
|
20115
|
-
hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsDER() }, l10n.getString('download.der')))),
|
|
20005
|
+
hAsync("tr", null, hAsync("td", null, hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPEM() }, l10n.getString('download.pem')))),
|
|
20006
|
+
hAsync("tr", null, hAsync("td", null, hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsDER() }, l10n.getString('download.der')))),
|
|
20116
20007
|
];
|
|
20117
20008
|
};
|
|
20118
20009
|
|
|
@@ -20145,16 +20036,13 @@ const RevokedCertificates = (props) => {
|
|
|
20145
20036
|
if (extension.value instanceof CertificateIssuer && extension.value.length) {
|
|
20146
20037
|
return ([
|
|
20147
20038
|
hAsync(RowValue, { name: `${getStringByOID(extension.asn.extnID)}:`, value: "" }),
|
|
20148
|
-
extension.value.map((gn) => (hAsync(TableRowTable, null,
|
|
20149
|
-
hAsync(GeneralNamePart, { generalName: gn, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink })))),
|
|
20039
|
+
extension.value.map((gn) => (hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: gn, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink })))),
|
|
20150
20040
|
]);
|
|
20151
20041
|
}
|
|
20152
20042
|
return (hAsync(RowValue, { name: getStringByOID(extension.asn.extnID), value: Convert.ToHex(extension.asn.extnValue), monospace: true }));
|
|
20153
20043
|
})),
|
|
20154
20044
|
])),
|
|
20155
|
-
hAsync("tr", null,
|
|
20156
|
-
hAsync("td", { colSpan: 2, class: "divider" },
|
|
20157
|
-
hAsync("span", null))),
|
|
20045
|
+
hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
|
|
20158
20046
|
])),
|
|
20159
20047
|
];
|
|
20160
20048
|
};
|
|
@@ -20176,20 +20064,13 @@ const Holder = (props) => {
|
|
|
20176
20064
|
hAsync(RowTitle, { value: l10n.getString('holder') }),
|
|
20177
20065
|
baseCertificateID && ([
|
|
20178
20066
|
baseCertificateID.issuer.map((item) => (hAsync(GeneralNamePart, { generalName: item, getDNSNameLink: () => '', getIPAddressLink: () => '' }))),
|
|
20179
|
-
hAsync("tr", null,
|
|
20180
|
-
hAsync("td", null),
|
|
20181
|
-
hAsync("td", null)),
|
|
20067
|
+
hAsync("tr", null, hAsync("td", null), hAsync("td", null)),
|
|
20182
20068
|
hAsync(RowValue, { name: l10n.getString('serialNumber'), value: Convert.ToHex(baseCertificateID.serial), monospace: true }),
|
|
20183
|
-
hAsync("tr", null,
|
|
20184
|
-
hAsync("td", null),
|
|
20185
|
-
hAsync("td", null)),
|
|
20069
|
+
hAsync("tr", null, hAsync("td", null), hAsync("td", null)),
|
|
20186
20070
|
]),
|
|
20187
20071
|
objectDigestInfo && ([
|
|
20188
20072
|
hAsync(RowValue, { name: l10n.getString('digestInfo'), value: "" }),
|
|
20189
|
-
hAsync(TableRowTable, null,
|
|
20190
|
-
hAsync(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(objectDigestInfo.digestAlgorithm.algorithm) }),
|
|
20191
|
-
hAsync(RowValue, { name: l10n.getString('value'), value: Convert.ToHex(objectDigestInfo.objectDigest), monospace: true }),
|
|
20192
|
-
hAsync(RowValue, { name: l10n.getString('type'), value: objectDigestInfo.digestedObjectType })),
|
|
20073
|
+
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 })),
|
|
20193
20074
|
]),
|
|
20194
20075
|
];
|
|
20195
20076
|
};
|
|
@@ -20366,7 +20247,7 @@ class ButtonMenu {
|
|
|
20366
20247
|
}; }
|
|
20367
20248
|
}
|
|
20368
20249
|
|
|
20369
|
-
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}";
|
|
20250
|
+
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}";
|
|
20370
20251
|
|
|
20371
20252
|
class CertificateChainViewer {
|
|
20372
20253
|
constructor(hostRef) {
|
|
@@ -20516,7 +20397,7 @@ class CertificateDecoder {
|
|
|
20516
20397
|
"$flags$": 265,
|
|
20517
20398
|
"$tagName$": "peculiar-certificate-decoder",
|
|
20518
20399
|
"$members$": {
|
|
20519
|
-
"certificateExamples": [16
|
|
20400
|
+
"certificateExamples": [16],
|
|
20520
20401
|
"certificateToDecode": [1, "certificate-to-decode"],
|
|
20521
20402
|
"certificateDecoded": [32]
|
|
20522
20403
|
},
|
|
@@ -20657,20 +20538,8 @@ class CertificateViewer {
|
|
|
20657
20538
|
*/
|
|
20658
20539
|
const CertificateSummary = (props) => {
|
|
20659
20540
|
const { certificate, showIssuer, } = props;
|
|
20660
|
-
const renderRow = (name, value) => (hAsync("tr", null,
|
|
20661
|
-
|
|
20662
|
-
hAsync(Typography, { variant: "b2", color: "gray-9" }, name)),
|
|
20663
|
-
hAsync("td", null,
|
|
20664
|
-
hAsync(Typography, { variant: "b2", color: "black" }, value))));
|
|
20665
|
-
return (hAsync("table", null,
|
|
20666
|
-
hAsync("tbody", null,
|
|
20667
|
-
renderRow(l10n.getString('subjectName'), certificate.subjectToString()),
|
|
20668
|
-
showIssuer && renderRow(l10n.getString('issuerName'), certificate.issuerToString()),
|
|
20669
|
-
renderRow(l10n.getString('serialNumber'), certificate.serialNumber),
|
|
20670
|
-
renderRow(l10n.getString('version'), certificate.version),
|
|
20671
|
-
renderRow(l10n.getString('validity'), certificate.validity),
|
|
20672
|
-
renderRow(l10n.getString('issued'), dateShort(certificate.notBefore)),
|
|
20673
|
-
renderRow(l10n.getString('expired'), dateShort(certificate.notAfter)))));
|
|
20541
|
+
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))));
|
|
20542
|
+
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)))));
|
|
20674
20543
|
};
|
|
20675
20544
|
|
|
20676
20545
|
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}";
|
|
@@ -21337,9 +21206,7 @@ const SshMiscellaneous = (props) => {
|
|
|
21337
21206
|
const { certificate } = props;
|
|
21338
21207
|
return [
|
|
21339
21208
|
hAsync(RowTitle, { value: l10n.getString('miscellaneous') }),
|
|
21340
|
-
hAsync("tr", null,
|
|
21341
|
-
hAsync("td", null,
|
|
21342
|
-
hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPub() }, l10n.getString('download')))),
|
|
21209
|
+
hAsync("tr", null, hAsync("td", null, hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPub() }, l10n.getString('download')))),
|
|
21343
21210
|
];
|
|
21344
21211
|
};
|
|
21345
21212
|
|
|
@@ -21528,7 +21395,7 @@ var BUILD = {
|
|
|
21528
21395
|
vdomRender: true,
|
|
21529
21396
|
vdomStyle: true,
|
|
21530
21397
|
vdomText: true,
|
|
21531
|
-
|
|
21398
|
+
propChangeCallback: true,
|
|
21532
21399
|
taskQueue: true,
|
|
21533
21400
|
hotModuleReplacement: false,
|
|
21534
21401
|
isDebug: false,
|
|
@@ -21576,7 +21443,7 @@ var NAMESPACE = (
|
|
|
21576
21443
|
);
|
|
21577
21444
|
|
|
21578
21445
|
/*
|
|
21579
|
-
Stencil Hydrate Runner v4.
|
|
21446
|
+
Stencil Hydrate Runner v4.38.3 | MIT Licensed | https://stenciljs.com
|
|
21580
21447
|
*/
|
|
21581
21448
|
var __defProp = Object.defineProperty;
|
|
21582
21449
|
var __export = (target, all) => {
|
|
@@ -21737,82 +21604,6 @@ var MockAttr = class {
|
|
|
21737
21604
|
}
|
|
21738
21605
|
};
|
|
21739
21606
|
|
|
21740
|
-
// src/mock-doc/class-list.ts
|
|
21741
|
-
var MockClassList = class {
|
|
21742
|
-
constructor(elm) {
|
|
21743
|
-
this.elm = elm;
|
|
21744
|
-
}
|
|
21745
|
-
add(...classNames) {
|
|
21746
|
-
const clsNames = getItems(this.elm);
|
|
21747
|
-
let updated = false;
|
|
21748
|
-
classNames.forEach((className) => {
|
|
21749
|
-
className = String(className);
|
|
21750
|
-
validateClass(className);
|
|
21751
|
-
if (clsNames.includes(className) === false) {
|
|
21752
|
-
clsNames.push(className);
|
|
21753
|
-
updated = true;
|
|
21754
|
-
}
|
|
21755
|
-
});
|
|
21756
|
-
if (updated) {
|
|
21757
|
-
this.elm.setAttributeNS(null, "class", clsNames.join(" "));
|
|
21758
|
-
}
|
|
21759
|
-
}
|
|
21760
|
-
remove(...classNames) {
|
|
21761
|
-
const clsNames = getItems(this.elm);
|
|
21762
|
-
let updated = false;
|
|
21763
|
-
classNames.forEach((className) => {
|
|
21764
|
-
className = String(className);
|
|
21765
|
-
validateClass(className);
|
|
21766
|
-
const index = clsNames.indexOf(className);
|
|
21767
|
-
if (index > -1) {
|
|
21768
|
-
clsNames.splice(index, 1);
|
|
21769
|
-
updated = true;
|
|
21770
|
-
}
|
|
21771
|
-
});
|
|
21772
|
-
if (updated) {
|
|
21773
|
-
this.elm.setAttributeNS(null, "class", clsNames.filter((c) => c.length > 0).join(" "));
|
|
21774
|
-
}
|
|
21775
|
-
}
|
|
21776
|
-
contains(className) {
|
|
21777
|
-
className = String(className);
|
|
21778
|
-
return getItems(this.elm).includes(className);
|
|
21779
|
-
}
|
|
21780
|
-
toggle(className) {
|
|
21781
|
-
className = String(className);
|
|
21782
|
-
if (this.contains(className) === true) {
|
|
21783
|
-
this.remove(className);
|
|
21784
|
-
} else {
|
|
21785
|
-
this.add(className);
|
|
21786
|
-
}
|
|
21787
|
-
}
|
|
21788
|
-
get length() {
|
|
21789
|
-
return getItems(this.elm).length;
|
|
21790
|
-
}
|
|
21791
|
-
item(index) {
|
|
21792
|
-
return getItems(this.elm)[index];
|
|
21793
|
-
}
|
|
21794
|
-
toString() {
|
|
21795
|
-
return getItems(this.elm).join(" ");
|
|
21796
|
-
}
|
|
21797
|
-
};
|
|
21798
|
-
function validateClass(className) {
|
|
21799
|
-
if (className === "") {
|
|
21800
|
-
throw new Error("The token provided must not be empty.");
|
|
21801
|
-
}
|
|
21802
|
-
if (/\s/.test(className)) {
|
|
21803
|
-
throw new Error(
|
|
21804
|
-
`The token provided ('${className}') contains HTML space characters, which are not valid in tokens.`
|
|
21805
|
-
);
|
|
21806
|
-
}
|
|
21807
|
-
}
|
|
21808
|
-
function getItems(elm) {
|
|
21809
|
-
const className = elm.getAttribute("class");
|
|
21810
|
-
if (typeof className === "string" && className.length > 0) {
|
|
21811
|
-
return className.trim().split(" ").filter((c) => c.length > 0);
|
|
21812
|
-
}
|
|
21813
|
-
return [];
|
|
21814
|
-
}
|
|
21815
|
-
|
|
21816
21607
|
// src/mock-doc/css-style-declaration.ts
|
|
21817
21608
|
var MockCSSStyleDeclaration = class {
|
|
21818
21609
|
constructor() {
|
|
@@ -32328,6 +32119,81 @@ var STRUCTURE_ELEMENTS = /* @__PURE__ */ new Set([
|
|
|
32328
32119
|
"style"
|
|
32329
32120
|
]);
|
|
32330
32121
|
|
|
32122
|
+
// src/mock-doc/token-list.ts
|
|
32123
|
+
var MockTokenList = class {
|
|
32124
|
+
constructor(elm, attr) {
|
|
32125
|
+
this.elm = elm;
|
|
32126
|
+
this.attr = attr;
|
|
32127
|
+
}
|
|
32128
|
+
add(...tokens) {
|
|
32129
|
+
const items = getItems(this.elm, this.attr);
|
|
32130
|
+
let updated = false;
|
|
32131
|
+
tokens.forEach((token) => {
|
|
32132
|
+
token = String(token);
|
|
32133
|
+
validateToken(token);
|
|
32134
|
+
if (items.includes(token) === false) {
|
|
32135
|
+
items.push(token);
|
|
32136
|
+
updated = true;
|
|
32137
|
+
}
|
|
32138
|
+
});
|
|
32139
|
+
if (updated) {
|
|
32140
|
+
this.elm.setAttributeNS(null, this.attr, items.join(" "));
|
|
32141
|
+
}
|
|
32142
|
+
}
|
|
32143
|
+
remove(...tokens) {
|
|
32144
|
+
const items = getItems(this.elm, this.attr);
|
|
32145
|
+
let updated = false;
|
|
32146
|
+
tokens.forEach((token) => {
|
|
32147
|
+
token = String(token);
|
|
32148
|
+
validateToken(token);
|
|
32149
|
+
const index = items.indexOf(token);
|
|
32150
|
+
if (index > -1) {
|
|
32151
|
+
items.splice(index, 1);
|
|
32152
|
+
updated = true;
|
|
32153
|
+
}
|
|
32154
|
+
});
|
|
32155
|
+
if (updated) {
|
|
32156
|
+
this.elm.setAttributeNS(null, this.attr, items.filter((c) => c.length > 0).join(" "));
|
|
32157
|
+
}
|
|
32158
|
+
}
|
|
32159
|
+
contains(token) {
|
|
32160
|
+
token = String(token);
|
|
32161
|
+
return getItems(this.elm, this.attr).includes(token);
|
|
32162
|
+
}
|
|
32163
|
+
toggle(token) {
|
|
32164
|
+
token = String(token);
|
|
32165
|
+
if (this.contains(token) === true) {
|
|
32166
|
+
this.remove(token);
|
|
32167
|
+
} else {
|
|
32168
|
+
this.add(token);
|
|
32169
|
+
}
|
|
32170
|
+
}
|
|
32171
|
+
get length() {
|
|
32172
|
+
return getItems(this.elm, this.attr).length;
|
|
32173
|
+
}
|
|
32174
|
+
item(index) {
|
|
32175
|
+
return getItems(this.elm, this.attr)[index];
|
|
32176
|
+
}
|
|
32177
|
+
toString() {
|
|
32178
|
+
return getItems(this.elm, this.attr).join(" ");
|
|
32179
|
+
}
|
|
32180
|
+
};
|
|
32181
|
+
function validateToken(token) {
|
|
32182
|
+
if (token === "") {
|
|
32183
|
+
throw new Error("The token provided must not be empty.");
|
|
32184
|
+
}
|
|
32185
|
+
if (/\s/.test(token)) {
|
|
32186
|
+
throw new Error(`The token provided ('${token}') contains HTML space characters, which are not valid in tokens.`);
|
|
32187
|
+
}
|
|
32188
|
+
}
|
|
32189
|
+
function getItems(elm, attr) {
|
|
32190
|
+
const value = elm.getAttribute(attr);
|
|
32191
|
+
if (typeof value === "string" && value.length > 0) {
|
|
32192
|
+
return value.trim().split(" ").filter((c) => c.length > 0);
|
|
32193
|
+
}
|
|
32194
|
+
return [];
|
|
32195
|
+
}
|
|
32196
|
+
|
|
32331
32197
|
// src/mock-doc/node.ts
|
|
32332
32198
|
var MockNode2 = class {
|
|
32333
32199
|
constructor(ownerDocument, nodeType, nodeName, nodeValue) {
|
|
@@ -32595,7 +32461,10 @@ var MockElement = class extends MockNode2 {
|
|
|
32595
32461
|
this.setAttributeNS(null, "class", value);
|
|
32596
32462
|
}
|
|
32597
32463
|
get classList() {
|
|
32598
|
-
return new
|
|
32464
|
+
return new MockTokenList(this, "class");
|
|
32465
|
+
}
|
|
32466
|
+
get part() {
|
|
32467
|
+
return new MockTokenList(this, "part");
|
|
32599
32468
|
}
|
|
32600
32469
|
click() {
|
|
32601
32470
|
dispatchEvent(this, new MockEvent("click", { bubbles: true, cancelable: true, composed: true }));
|
|
@@ -35478,7 +35347,7 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
|
|
|
35478
35347
|
}
|
|
35479
35348
|
set location(val) {
|
|
35480
35349
|
if (this.defaultView != null) {
|
|
35481
|
-
this.defaultView.location = val;
|
|
35350
|
+
this.defaultView.location.href = val;
|
|
35482
35351
|
}
|
|
35483
35352
|
}
|
|
35484
35353
|
get baseURI() {
|
|
@@ -36253,6 +36122,9 @@ var _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
|
36253
36122
|
var setMode = (handler) => modeResolutionChain.push(handler);
|
|
36254
36123
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
36255
36124
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
36125
|
+
var baseClass = BUILD.lazyLoad ? class {
|
|
36126
|
+
} : globalThis.HTMLElement || class {
|
|
36127
|
+
};
|
|
36256
36128
|
|
|
36257
36129
|
// src/compiler/html/canonical-link.ts
|
|
36258
36130
|
var updateCanonicalLink = (doc, href) => {
|