@peculiar/certificates-viewer 4.7.1-alpha.4 → 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 +93 -94
- 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 +6 -4
- 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-DTtJlxk8.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-DCeacaAw.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 +8 -10
- 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-DE-0eDXE.js → pkcs10_certificate_request-DZLiHGCV.js} +3 -3
- package/dist/cjs/{pkcs10_certificate_request-DE-0eDXE.js.map → pkcs10_certificate_request-DZLiHGCV.js.map} +1 -1
- package/dist/cjs/{ssh_certificate-D2q_p49O.js → ssh_certificate-Bh14rhzR.js} +93 -93
- package/dist/cjs/ssh_certificate-Bh14rhzR.js.map +1 -0
- package/dist/cjs/{x509_certificate-Cto1q-eu.js → x509_certificate-p8RMn7Hw.js} +4 -4
- package/dist/cjs/{x509_certificate-Cto1q-eu.js.map → x509_certificate-p8RMn7Hw.js.map} +1 -1
- package/dist/cjs/{x509_crl-CgixMZrh.js → x509_crl-tjmX6l3R.js} +5 -5
- package/dist/cjs/{x509_crl-CgixMZrh.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 +3 -4
- 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/-components/miscellaneous.js +1 -1
- package/dist/collection/components/ssh-certificate-viewer/-components/miscellaneous.js.map +1 -1
- 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 +10 -5
- package/dist/collection/crypto/ssh_certificate.js.map +1 -1
- package/dist/collection/locales/en.json +0 -1
- package/dist/collection/utils/download.js +2 -2
- package/dist/collection/utils/download.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-DmlhftES.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-BTlqwN5_.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 +8 -10
- 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-B5C1NYFc.js → pkcs10_certificate_request-Crr9FABo.js} +3 -3
- package/dist/{esm-es5/pkcs10_certificate_request-B5C1NYFc.js.map → esm/pkcs10_certificate_request-Crr9FABo.js.map} +1 -1
- package/dist/esm/{ssh_certificate-PCn0WXhQ.js → ssh_certificate-CmOVFH_Z.js} +93 -93
- package/dist/esm/ssh_certificate-CmOVFH_Z.js.map +1 -0
- package/dist/esm/{x509_certificate-BiAmXJ4S.js → x509_certificate-C2EVTspY.js} +4 -4
- package/dist/{esm-es5/x509_certificate-BiAmXJ4S.js.map → esm/x509_certificate-C2EVTspY.js.map} +1 -1
- package/dist/esm/{x509_crl-CCeoLLUZ.js → x509_crl-Bdnys_YT.js} +5 -5
- package/dist/{esm-es5/x509_crl-CCeoLLUZ.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-DmlhftES.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-BTlqwN5_.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 +4 -4
- 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-B5C1NYFc.js → pkcs10_certificate_request-Crr9FABo.js} +3 -3
- package/dist/{esm/pkcs10_certificate_request-B5C1NYFc.js.map → esm-es5/pkcs10_certificate_request-Crr9FABo.js.map} +1 -1
- package/dist/esm-es5/{ssh_certificate-PCn0WXhQ.js → ssh_certificate-CmOVFH_Z.js} +7 -7
- package/dist/esm-es5/ssh_certificate-CmOVFH_Z.js.map +1 -0
- package/dist/esm-es5/{x509_certificate-BiAmXJ4S.js → x509_certificate-C2EVTspY.js} +4 -4
- package/dist/{esm/x509_certificate-BiAmXJ4S.js.map → esm-es5/x509_certificate-C2EVTspY.js.map} +1 -1
- package/dist/esm-es5/{x509_crl-CCeoLLUZ.js → x509_crl-Bdnys_YT.js} +4 -4
- package/dist/{esm/x509_crl-CCeoLLUZ.js.map → esm-es5/x509_crl-Bdnys_YT.js.map} +1 -1
- package/dist/peculiar/index.esm.js +1 -1
- package/dist/peculiar/locales/en.json +0 -1
- package/dist/peculiar/p--UIbyTPo.system.js.map +1 -0
- package/dist/peculiar/p-16bd5fac.system.entry.js +153 -0
- package/dist/peculiar/p-16bd5fac.system.entry.js.map +1 -0
- package/dist/peculiar/{p-71eab586.entry.js → p-26e1e392.entry.js} +3 -3
- package/dist/peculiar/p-26e1e392.entry.js.map +1 -0
- package/dist/peculiar/{p-7273601a.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-46c17c8d.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-83bfd8e5.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-h7XP7otl.js → p-B4vvBwd6.js} +2 -2
- package/dist/peculiar/{p-h7XP7otl.js.map → p-B4vvBwd6.js.map} +1 -1
- package/dist/peculiar/{p-Db41gPxb.js → p-B7cL9SBA.js} +4 -4
- package/dist/peculiar/{p-Db41gPxb.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-DPbpwYQ8.system.js → p-Bfl7RVFY.system.js} +4 -4
- package/dist/peculiar/{p-DPbpwYQ8.system.js.map → p-Bfl7RVFY.system.js.map} +1 -1
- package/dist/peculiar/{p-DnOLjFJP.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-CstRxc9v.js → p-BxiR02Uf.js} +4 -4
- package/dist/peculiar/{p-CstRxc9v.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-B5GO6_Ut.system.js → p-CCPSoWEH.system.js} +43 -43
- package/dist/peculiar/p-CCPSoWEH.system.js.map +1 -0
- package/dist/peculiar/{p-B2FH4Pv2.system.js → p-CGipIfjs.system.js} +4 -4
- package/dist/peculiar/{p-B2FH4Pv2.system.js.map → p-CGipIfjs.system.js.map} +1 -1
- package/dist/peculiar/{p-DMDALRLP.system.js → p-CLcRtCZ9.system.js} +7 -7
- 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-PCn0WXhQ.js → p-CmOVFH_Z.js} +6 -6
- 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-SjVQtfgD.system.js → p-DberG072.system.js} +5 -5
- package/dist/peculiar/{p-SjVQtfgD.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-24861cf6.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-98219569.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 +2 -2
- package/dist/types/interface.d.ts +86 -86
- package/dist/types/stencil-public-runtime.d.ts +49 -2
- package/dist/types/utils/download.d.ts +1 -1
- package/dist/types/utils/l10n.d.ts +0 -1
- package/hydrate/index.d.ts +2 -0
- package/hydrate/index.js +373 -502
- package/hydrate/index.mjs +373 -502
- 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-DTtJlxk8.js.map +0 -1
- package/dist/cjs/index-uHmGhObe.js.map +0 -1
- package/dist/cjs/miscellaneous-DCeacaAw.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-D2q_p49O.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-DmlhftES.js.map +0 -1
- package/dist/esm/index-CwgZaF40.js.map +0 -1
- package/dist/esm/miscellaneous-BTlqwN5_.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-PCn0WXhQ.js.map +0 -1
- package/dist/esm-es5/extension-DmlhftES.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-BTlqwN5_.js.map +0 -1
- package/dist/esm-es5/ssh_certificate-PCn0WXhQ.js.map +0 -1
- package/dist/peculiar/p-24861cf6.system.entry.js.map +0 -1
- package/dist/peculiar/p-27ae6a3a.entry.js.map +0 -1
- package/dist/peculiar/p-46c17c8d.system.entry.js.map +0 -1
- package/dist/peculiar/p-607d08e8.system.entry.js.map +0 -1
- package/dist/peculiar/p-71cb31c6.entry.js +0 -152
- package/dist/peculiar/p-71cb31c6.entry.js.map +0 -1
- package/dist/peculiar/p-71eab586.entry.js.map +0 -1
- package/dist/peculiar/p-7273601a.entry.js.map +0 -1
- package/dist/peculiar/p-83bfd8e5.system.entry.js.map +0 -1
- package/dist/peculiar/p-98219569.entry.js.map +0 -1
- package/dist/peculiar/p-9MJeDspO.system.js.map +0 -1
- package/dist/peculiar/p-9d9f24bd.entry.js.map +0 -1
- package/dist/peculiar/p-AjXipXSl.system.js +0 -12
- package/dist/peculiar/p-AjXipXSl.system.js.map +0 -1
- package/dist/peculiar/p-B5GO6_Ut.system.js.map +0 -1
- package/dist/peculiar/p-B82-c-xr.system.js.map +0 -1
- package/dist/peculiar/p-BGASC3UX.system.js.map +0 -1
- package/dist/peculiar/p-BHpSDBz_.system.js.map +0 -1
- package/dist/peculiar/p-BwlcJAh0.js +0 -12
- package/dist/peculiar/p-BwlcJAh0.js.map +0 -1
- package/dist/peculiar/p-CSz5liuX.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-DKl0YViA.system.js +0 -6
- package/dist/peculiar/p-DKl0YViA.system.js.map +0 -1
- package/dist/peculiar/p-DMDALRLP.system.js.map +0 -1
- package/dist/peculiar/p-DnOLjFJP.js.map +0 -1
- package/dist/peculiar/p-PCn0WXhQ.js.map +0 -1
- package/dist/peculiar/p-cc01a2da.system.entry.js +0 -153
- package/dist/peculiar/p-cc01a2da.system.entry.js.map +0 -1
- package/dist/peculiar/p-dOkqMp-O.system.js +0 -5
- package/dist/peculiar/p-dOkqMp-O.system.js.map +0 -1
- package/dist/peculiar/p-de857304.system.entry.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 })
|
|
@@ -10002,7 +10010,6 @@ var en = {
|
|
|
10002
10010
|
download: download,
|
|
10003
10011
|
"download.pem": "Download PEM",
|
|
10004
10012
|
"download.der": "Download DER",
|
|
10005
|
-
"download.ssh": "Download SSH",
|
|
10006
10013
|
serialNumber: serialNumber,
|
|
10007
10014
|
version: version,
|
|
10008
10015
|
validity: validity,
|
|
@@ -10175,8 +10182,8 @@ Download.crl = {
|
|
|
10175
10182
|
},
|
|
10176
10183
|
};
|
|
10177
10184
|
Download.certSSH = {
|
|
10178
|
-
|
|
10179
|
-
downloadFromBuffer(Convert.FromString(value), name, '
|
|
10185
|
+
asPub: (value, name) => {
|
|
10186
|
+
downloadFromBuffer(Convert.FromString(value), name, 'pub', 'text/plain');
|
|
10180
10187
|
},
|
|
10181
10188
|
};
|
|
10182
10189
|
|
|
@@ -12587,14 +12594,19 @@ function camelCaseToWords(value) {
|
|
|
12587
12594
|
* LICENSE file in the root directory of this source tree.
|
|
12588
12595
|
*/
|
|
12589
12596
|
var __classPrivateFieldSet$2 = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
12590
|
-
if (kind === "m")
|
|
12591
|
-
|
|
12592
|
-
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");
|
|
12593
12603
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
12594
12604
|
};
|
|
12595
12605
|
var __classPrivateFieldGet$2 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
12596
|
-
if (kind === "a" && !f)
|
|
12597
|
-
|
|
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");
|
|
12598
12610
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12599
12611
|
};
|
|
12600
12612
|
var _Name_asn;
|
|
@@ -12681,7 +12693,6 @@ const id_pe_qcStatements = `${id_pe$1}.3`;
|
|
|
12681
12693
|
class QCStatement {
|
|
12682
12694
|
constructor() {
|
|
12683
12695
|
this.statementId = "";
|
|
12684
|
-
this.statementInfo = new ArrayBuffer(0);
|
|
12685
12696
|
}
|
|
12686
12697
|
}
|
|
12687
12698
|
__decorate$1([
|
|
@@ -14123,8 +14134,12 @@ __decorate$1([
|
|
|
14123
14134
|
|
|
14124
14135
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
14125
14136
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14126
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
14127
|
-
|
|
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;
|
|
14128
14143
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14129
14144
|
};
|
|
14130
14145
|
/**
|
|
@@ -14175,14 +14190,19 @@ __decorate([
|
|
|
14175
14190
|
* LICENSE file in the root directory of this source tree.
|
|
14176
14191
|
*/
|
|
14177
14192
|
var __classPrivateFieldSet$1 = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
14178
|
-
if (kind === "m")
|
|
14179
|
-
|
|
14180
|
-
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");
|
|
14181
14199
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
14182
14200
|
};
|
|
14183
14201
|
var __classPrivateFieldGet$1 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
14184
|
-
if (kind === "a" && !f)
|
|
14185
|
-
|
|
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");
|
|
14186
14206
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
14187
14207
|
};
|
|
14188
14208
|
var _AsnData_asn, _AsnData_raw;
|
|
@@ -15340,7 +15360,14 @@ __decorate$1([
|
|
|
15340
15360
|
AsnProp({ type: DigestAlgorithmIdentifier })
|
|
15341
15361
|
], SignerInfo.prototype, "digestAlgorithm", void 0);
|
|
15342
15362
|
__decorate$1([
|
|
15343
|
-
AsnProp({
|
|
15363
|
+
AsnProp({
|
|
15364
|
+
type: Attribute$1,
|
|
15365
|
+
repeated: "set",
|
|
15366
|
+
context: 0,
|
|
15367
|
+
implicit: true,
|
|
15368
|
+
optional: true,
|
|
15369
|
+
raw: true,
|
|
15370
|
+
})
|
|
15344
15371
|
], SignerInfo.prototype, "signedAttrs", void 0);
|
|
15345
15372
|
__decorate$1([
|
|
15346
15373
|
AsnProp({ type: SignatureAlgorithmIdentifier })
|
|
@@ -15361,17 +15388,18 @@ SignerInfos = SignerInfos_1 = __decorate$1([
|
|
|
15361
15388
|
AsnType({ type: AsnTypeTypes.Set, itemType: SignerInfo })
|
|
15362
15389
|
], SignerInfos);
|
|
15363
15390
|
|
|
15364
|
-
let SigningTime$1 = class SigningTime extends Time {
|
|
15365
|
-
};
|
|
15366
|
-
SigningTime$1 = __decorate$1([
|
|
15367
|
-
AsnType({ type: AsnTypeTypes.Choice })
|
|
15368
|
-
], SigningTime$1);
|
|
15369
15391
|
let CounterSignature$1 = class CounterSignature extends SignerInfo {
|
|
15370
15392
|
};
|
|
15371
15393
|
CounterSignature$1 = __decorate$1([
|
|
15372
15394
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
15373
15395
|
], CounterSignature$1);
|
|
15374
15396
|
|
|
15397
|
+
let SigningTime$1 = class SigningTime extends Time {
|
|
15398
|
+
};
|
|
15399
|
+
SigningTime$1 = __decorate$1([
|
|
15400
|
+
AsnType({ type: AsnTypeTypes.Choice })
|
|
15401
|
+
], SigningTime$1);
|
|
15402
|
+
|
|
15375
15403
|
var CertificateSet_1;
|
|
15376
15404
|
class OtherCertificateFormat {
|
|
15377
15405
|
constructor(params = {}) {
|
|
@@ -16407,7 +16435,7 @@ __decorate$1([
|
|
|
16407
16435
|
AsnProp({ type: SubjectPublicKeyInfo })
|
|
16408
16436
|
], CertificationRequestInfo.prototype, "subjectPKInfo", void 0);
|
|
16409
16437
|
__decorate$1([
|
|
16410
|
-
AsnProp({ type: Attributes$1, implicit: true, context: 0 })
|
|
16438
|
+
AsnProp({ type: Attributes$1, implicit: true, context: 0, optional: true })
|
|
16411
16439
|
], CertificationRequestInfo.prototype, "attributes", void 0);
|
|
16412
16440
|
|
|
16413
16441
|
class CertificationRequest {
|
|
@@ -16419,7 +16447,7 @@ class CertificationRequest {
|
|
|
16419
16447
|
}
|
|
16420
16448
|
}
|
|
16421
16449
|
__decorate$1([
|
|
16422
|
-
AsnProp({ type: CertificationRequestInfo })
|
|
16450
|
+
AsnProp({ type: CertificationRequestInfo, raw: true })
|
|
16423
16451
|
], CertificationRequest.prototype, "certificationRequestInfo", void 0);
|
|
16424
16452
|
__decorate$1([
|
|
16425
16453
|
AsnProp({ type: AlgorithmIdentifier })
|
|
@@ -18237,21 +18265,28 @@ let SshCertificate$1 = class SshCertificate extends SshObject {
|
|
|
18237
18265
|
};
|
|
18238
18266
|
|
|
18239
18267
|
var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
18240
|
-
if (kind === "m")
|
|
18241
|
-
|
|
18242
|
-
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");
|
|
18243
18274
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
18244
18275
|
};
|
|
18245
18276
|
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
18246
|
-
if (kind === "a" && !f)
|
|
18247
|
-
|
|
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");
|
|
18248
18281
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
18249
18282
|
};
|
|
18250
18283
|
var _SshCertificate_cert;
|
|
18251
18284
|
class SshCertificate {
|
|
18252
18285
|
constructor(raw) {
|
|
18253
18286
|
_SshCertificate_cert.set(this, void 0);
|
|
18254
|
-
const blob = parse(raw.trim())
|
|
18287
|
+
const blob = parse(Convert.isBase64Url(raw.trim())
|
|
18288
|
+
? Convert.ToString(Convert.FromBase64Url(raw.trim()))
|
|
18289
|
+
: raw.trim());
|
|
18255
18290
|
// @ts-expect-error - SshCertificateType is not a constructor
|
|
18256
18291
|
__classPrivateFieldSet(this, _SshCertificate_cert, new SshCertificate$1(blob), "f");
|
|
18257
18292
|
this.notBefore = __classPrivateFieldGet(this, _SshCertificate_cert, "f").validAfter;
|
|
@@ -18286,15 +18321,18 @@ class SshCertificate {
|
|
|
18286
18321
|
thumbprint: Convert.ToBase64(thumbprint),
|
|
18287
18322
|
};
|
|
18288
18323
|
}
|
|
18289
|
-
|
|
18290
|
-
|
|
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
|
+
}
|
|
18291
18329
|
return __classPrivateFieldGet(this, _SshCertificate_cert, "f").toSSH();
|
|
18292
18330
|
}
|
|
18293
18331
|
get commonName() {
|
|
18294
18332
|
return __classPrivateFieldGet(this, _SshCertificate_cert, "f").principals.join('_') || __classPrivateFieldGet(this, _SshCertificate_cert, "f").keyId || __classPrivateFieldGet(this, _SshCertificate_cert, "f").certType;
|
|
18295
18333
|
}
|
|
18296
|
-
async
|
|
18297
|
-
Download.certSSH.
|
|
18334
|
+
async downloadAsPub(name) {
|
|
18335
|
+
Download.certSSH.asPub(await this.toString(), name || [this.commonName, 'cert'].join('-'));
|
|
18298
18336
|
}
|
|
18299
18337
|
}
|
|
18300
18338
|
_SshCertificate_cert = new WeakMap();
|
|
@@ -18330,8 +18368,9 @@ function isLink(value) {
|
|
|
18330
18368
|
*/
|
|
18331
18369
|
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
18332
18370
|
var t = {};
|
|
18333
|
-
for (var p in s)
|
|
18334
|
-
|
|
18371
|
+
for (var p in s)
|
|
18372
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
18373
|
+
t[p] = s[p];
|
|
18335
18374
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18336
18375
|
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18337
18376
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
@@ -18363,9 +18402,7 @@ const Typography = (props, children) => {
|
|
|
18363
18402
|
[`t-${variant}`]: true,
|
|
18364
18403
|
[`c-${color}`]: true,
|
|
18365
18404
|
[classProp]: Boolean(classProp),
|
|
18366
|
-
} }),
|
|
18367
|
-
hAsync("span", null),
|
|
18368
|
-
children));
|
|
18405
|
+
} }), hAsync("span", null), children));
|
|
18369
18406
|
};
|
|
18370
18407
|
|
|
18371
18408
|
/**
|
|
@@ -18377,7 +18414,7 @@ const Typography = (props, children) => {
|
|
|
18377
18414
|
*/
|
|
18378
18415
|
const Link = (props, children) => {
|
|
18379
18416
|
const { href, variant, } = props;
|
|
18380
|
-
return (hAsync(Typography, { component: "a", variant: variant, color: "secondary",
|
|
18417
|
+
return (hAsync(Typography, { component: "a", variant: variant, color: "secondary",
|
|
18381
18418
|
// @ts-expect-error - href is a string
|
|
18382
18419
|
href: href, target: "_blank", rel: "noreferrer noopener" }, children));
|
|
18383
18420
|
};
|
|
@@ -18389,21 +18426,15 @@ const Link = (props, children) => {
|
|
|
18389
18426
|
* This source code is licensed under the MIT license found in the
|
|
18390
18427
|
* LICENSE file in the root directory of this source tree.
|
|
18391
18428
|
*/
|
|
18392
|
-
const TableRowTable = (_, children) => (hAsync("tr", null,
|
|
18393
|
-
hAsync("td", { colSpan: 2 },
|
|
18394
|
-
hAsync("table", null, children))));
|
|
18429
|
+
const TableRowTable = (_, children) => (hAsync("tr", null, hAsync("td", { colSpan: 2 }, hAsync("table", null, children))));
|
|
18395
18430
|
const RowTitle = (props) => {
|
|
18396
18431
|
const { value } = props;
|
|
18397
18432
|
if (!value) {
|
|
18398
18433
|
return null;
|
|
18399
18434
|
}
|
|
18400
18435
|
return [
|
|
18401
|
-
hAsync("tr", { class: "title" },
|
|
18402
|
-
|
|
18403
|
-
hAsync(Typography, { variant: "s1", color: "black" }, value))),
|
|
18404
|
-
hAsync("tr", null,
|
|
18405
|
-
hAsync("td", { colSpan: 2, class: "divider" },
|
|
18406
|
-
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))),
|
|
18407
18438
|
];
|
|
18408
18439
|
};
|
|
18409
18440
|
const RowValue = (props) => {
|
|
@@ -18422,14 +18453,9 @@ const RowValue = (props) => {
|
|
|
18422
18453
|
elementValue = value;
|
|
18423
18454
|
}
|
|
18424
18455
|
const hasValue = !!value.toString();
|
|
18425
|
-
return (hAsync("tr", null,
|
|
18426
|
-
hAsync(
|
|
18427
|
-
|
|
18428
|
-
hasValue && (hAsync("td", { class: { monospace } }, (isLink(value.toString()) || href)
|
|
18429
|
-
? (hAsync(Link, { variant: "b2", href: href || value.toString() }, value))
|
|
18430
|
-
: (hAsync(Typography, { variant: "b2", color: "black" },
|
|
18431
|
-
elementValue,
|
|
18432
|
-
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))))));
|
|
18433
18459
|
};
|
|
18434
18460
|
|
|
18435
18461
|
/**
|
|
@@ -18593,9 +18619,7 @@ const BasicExtension = (props, children) => {
|
|
|
18593
18619
|
hAsync(RowValue, { name: "Name", value: getStringByOID(extension.asn.extnID) }),
|
|
18594
18620
|
hAsync(RowValue, { name: "Critical", value: extension.asn.critical ? l10n.getString('yes') : l10n.getString('no') }),
|
|
18595
18621
|
children,
|
|
18596
|
-
hAsync("tr", null,
|
|
18597
|
-
hAsync("td", { colSpan: 2, class: "divider" },
|
|
18598
|
-
hAsync("span", null))),
|
|
18622
|
+
hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
|
|
18599
18623
|
]);
|
|
18600
18624
|
};
|
|
18601
18625
|
|
|
@@ -18608,8 +18632,7 @@ const BasicExtension = (props, children) => {
|
|
|
18608
18632
|
*/
|
|
18609
18633
|
const KeyUsageExtension = (props) => {
|
|
18610
18634
|
const { extension } = props;
|
|
18611
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18612
|
-
hAsync(RowValue, { name: "Usage", value: extension.value.toJSON().join(', ') })));
|
|
18635
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Usage", value: extension.value.toJSON().join(', ') })));
|
|
18613
18636
|
};
|
|
18614
18637
|
|
|
18615
18638
|
/**
|
|
@@ -18621,9 +18644,7 @@ const KeyUsageExtension = (props) => {
|
|
|
18621
18644
|
*/
|
|
18622
18645
|
const BasicConstraintsExtension = (props) => {
|
|
18623
18646
|
const { extension } = props;
|
|
18624
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18625
|
-
hAsync(RowValue, { name: "Certificate Authority", value: extension.value.cA ? l10n.getString('yes') : l10n.getString('no') }),
|
|
18626
|
-
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 })));
|
|
18627
18648
|
};
|
|
18628
18649
|
|
|
18629
18650
|
/**
|
|
@@ -18637,8 +18658,7 @@ const ExtendedKeyUsageExtension = (props) => {
|
|
|
18637
18658
|
const { extension } = props;
|
|
18638
18659
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
18639
18660
|
hAsync(RowValue, { name: "Purposes", value: "" }),
|
|
18640
|
-
extension.value.map((usage) => (hAsync(TableRowTable, null,
|
|
18641
|
-
hAsync(RowValue, { name: "Purpose", value: getStringByOID(usage) })))),
|
|
18661
|
+
extension.value.map((usage) => (hAsync(TableRowTable, null, hAsync(RowValue, { name: "Purpose", value: getStringByOID(usage) })))),
|
|
18642
18662
|
])));
|
|
18643
18663
|
};
|
|
18644
18664
|
|
|
@@ -18654,17 +18674,10 @@ const SubjectKeyIdentifierExtension = (props) => {
|
|
|
18654
18674
|
const keyId = Convert.ToHex(extension.value.buffer);
|
|
18655
18675
|
const childrenLink = getSubjectKeyIdChildrenLink(keyId);
|
|
18656
18676
|
const siblingsLink = getSubjectKeyIdSiblingsLink(keyId);
|
|
18657
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18658
|
-
|
|
18659
|
-
|
|
18660
|
-
|
|
18661
|
-
hAsync(Link, { href: childrenLink }, "children"),
|
|
18662
|
-
"]")),
|
|
18663
|
-
siblingsLink && (hAsync("span", null,
|
|
18664
|
-
"\u00A0[",
|
|
18665
|
-
hAsync(Link, { href: siblingsLink }, "siblings"),
|
|
18666
|
-
"]")),
|
|
18667
|
-
] })));
|
|
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
|
+
] })));
|
|
18668
18681
|
};
|
|
18669
18682
|
|
|
18670
18683
|
/**
|
|
@@ -18679,17 +18692,10 @@ const AuthorityKeyIdentifierExtension = (props) => {
|
|
|
18679
18692
|
const keyId = Convert.ToHex(extension.value.keyIdentifier.buffer);
|
|
18680
18693
|
const parentLink = getAuthKeyIdParentLink(keyId);
|
|
18681
18694
|
const siblingsLink = getAuthKeyIdSiblingsLink(keyId);
|
|
18682
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18683
|
-
|
|
18684
|
-
|
|
18685
|
-
|
|
18686
|
-
hAsync(Link, { href: parentLink }, "parents"),
|
|
18687
|
-
"]")),
|
|
18688
|
-
siblingsLink && (hAsync("span", null,
|
|
18689
|
-
"\u00A0[",
|
|
18690
|
-
hAsync(Link, { href: siblingsLink }, "siblings"),
|
|
18691
|
-
"]")),
|
|
18692
|
-
] })));
|
|
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
|
+
] })));
|
|
18693
18699
|
};
|
|
18694
18700
|
|
|
18695
18701
|
/**
|
|
@@ -18787,9 +18793,7 @@ const InfoAccessSyntaxExtension = (props) => {
|
|
|
18787
18793
|
const { extension } = props;
|
|
18788
18794
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
18789
18795
|
hAsync(RowValue, { name: "Descriptions", value: "" }),
|
|
18790
|
-
extension.value.map((description) => (hAsync(TableRowTable, null,
|
|
18791
|
-
hAsync(RowValue, { name: "Method", value: getStringByOID(description.accessMethod) }),
|
|
18792
|
-
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))))),
|
|
18793
18797
|
])));
|
|
18794
18798
|
};
|
|
18795
18799
|
|
|
@@ -18816,27 +18820,25 @@ const CertificatePoliciesExtension = (props) => {
|
|
|
18816
18820
|
const { extension } = props;
|
|
18817
18821
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
18818
18822
|
hAsync(RowValue, { name: "Policies", value: "" }),
|
|
18819
|
-
extension.value.map((policy) => (hAsync(TableRowTable, null,
|
|
18820
|
-
hAsync(RowValue, { name: "
|
|
18821
|
-
policy.policyQualifiers
|
|
18822
|
-
|
|
18823
|
-
|
|
18824
|
-
|
|
18825
|
-
|
|
18826
|
-
|
|
18827
|
-
|
|
18828
|
-
|
|
18829
|
-
|
|
18830
|
-
|
|
18831
|
-
if (
|
|
18832
|
-
|
|
18833
|
-
if (value.explicitText) {
|
|
18834
|
-
data.push(hAsync(RowValue, { name: "Value", value: value.explicitText.toString() }));
|
|
18835
|
-
}
|
|
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() }));
|
|
18836
18837
|
}
|
|
18837
|
-
|
|
18838
|
-
|
|
18839
|
-
|
|
18838
|
+
}
|
|
18839
|
+
return (hAsync(TableRowTable, null, data));
|
|
18840
|
+
}),
|
|
18841
|
+
])))),
|
|
18840
18842
|
])));
|
|
18841
18843
|
};
|
|
18842
18844
|
|
|
@@ -18938,13 +18940,7 @@ const CertificateTransparencyExtension = (props) => {
|
|
|
18938
18940
|
const { extension } = props;
|
|
18939
18941
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.items.length) && ([
|
|
18940
18942
|
hAsync(RowValue, { name: "Signed Certificate Timestamps", value: "" }),
|
|
18941
|
-
extension.value.toJSON().map((signedCertificateTimestamp) => (hAsync(TableRowTable, null,
|
|
18942
|
-
hAsync(RowValue, { name: "Version", value: signedCertificateTimestamp.version + 1 }),
|
|
18943
|
-
hAsync(RowValue, { name: "Log Operator", value: logs[signedCertificateTimestamp.logId] || signedCertificateTimestamp.logId }),
|
|
18944
|
-
hAsync(RowValue, { name: "Log Key ID", value: signedCertificateTimestamp.logId, monospace: true }),
|
|
18945
|
-
hAsync(RowValue, { name: "Timestamp", value: dateShort(signedCertificateTimestamp.timestamp) }),
|
|
18946
|
-
hAsync(RowValue, { name: "Signature Algorithm", value: `${signedCertificateTimestamp.hashAlgorithm} ${signedCertificateTimestamp.signatureAlgorithm}`.toUpperCase() }),
|
|
18947
|
-
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 })))),
|
|
18948
18944
|
])));
|
|
18949
18945
|
};
|
|
18950
18946
|
|
|
@@ -18972,10 +18968,7 @@ const NameConstraintsExtension = (props) => {
|
|
|
18972
18968
|
*/
|
|
18973
18969
|
const CertificateTemplateExtension = (props) => {
|
|
18974
18970
|
const { extension } = props;
|
|
18975
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18976
|
-
hAsync(RowValue, { name: "Template ID", value: extension.value.templateID }),
|
|
18977
|
-
hAsync(RowValue, { name: "Template Major Version", value: extension.value.templateMajorVersion }),
|
|
18978
|
-
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 })));
|
|
18979
18972
|
};
|
|
18980
18973
|
|
|
18981
18974
|
/**
|
|
@@ -18987,8 +18980,7 @@ const CertificateTemplateExtension = (props) => {
|
|
|
18987
18980
|
*/
|
|
18988
18981
|
const EnrollCertTypeChoiceExtension = (props) => {
|
|
18989
18982
|
const { extension } = props;
|
|
18990
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
18991
|
-
hAsync(RowValue, { name: "Name", value: extension.value.toString() })));
|
|
18983
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Name", value: extension.value.toString() })));
|
|
18992
18984
|
};
|
|
18993
18985
|
|
|
18994
18986
|
/**
|
|
@@ -19001,9 +18993,7 @@ const EnrollCertTypeChoiceExtension = (props) => {
|
|
|
19001
18993
|
const CaVersionExtension = (props) => {
|
|
19002
18994
|
const { extension } = props;
|
|
19003
18995
|
const version = extension.value.getVersion();
|
|
19004
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19005
|
-
hAsync(RowValue, { name: "Certificate Index", value: version.certificateIndex }),
|
|
19006
|
-
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 })));
|
|
19007
18997
|
};
|
|
19008
18998
|
|
|
19009
18999
|
var PdsLocations_1, QcEuPDS_1, QcType_1, QcCClegislation_1;
|
|
@@ -19126,7 +19116,7 @@ const id_etsi_qcs_qcType = `${id_etsi_qcs}.6`;
|
|
|
19126
19116
|
const QCStatementsExtension = (props) => {
|
|
19127
19117
|
const { extension } = props;
|
|
19128
19118
|
function renderStatementInfo(statementId, statementInfo) {
|
|
19129
|
-
if (!statementInfo.byteLength) {
|
|
19119
|
+
if (!statementInfo || !statementInfo.byteLength) {
|
|
19130
19120
|
return null;
|
|
19131
19121
|
}
|
|
19132
19122
|
if (statementId === id_qcs_pkixQCSyntax_v2) {
|
|
@@ -19145,18 +19135,14 @@ const QCStatementsExtension = (props) => {
|
|
|
19145
19135
|
const pdsLocations = AsnParser.parse(statementInfo, PdsLocations);
|
|
19146
19136
|
return ([
|
|
19147
19137
|
hAsync(RowValue, { name: "PDS Locations", value: "" }),
|
|
19148
|
-
pdsLocations.map((location) => (hAsync(TableRowTable, null,
|
|
19149
|
-
hAsync(RowValue, { name: "URL", value: location.url }),
|
|
19150
|
-
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 })))),
|
|
19151
19139
|
]);
|
|
19152
19140
|
}
|
|
19153
19141
|
return (hAsync(RowValue, { name: "Info", value: Convert.ToHex(statementInfo), monospace: true }));
|
|
19154
19142
|
}
|
|
19155
19143
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
19156
19144
|
hAsync(RowValue, { name: "Statements", value: "" }),
|
|
19157
|
-
extension.value.map((statement) => (hAsync(TableRowTable, null,
|
|
19158
|
-
hAsync(RowValue, { name: "Statement ID", value: getStringByOID(statement.statementId) }),
|
|
19159
|
-
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)))),
|
|
19160
19146
|
])));
|
|
19161
19147
|
};
|
|
19162
19148
|
|
|
@@ -19169,8 +19155,7 @@ const QCStatementsExtension = (props) => {
|
|
|
19169
19155
|
*/
|
|
19170
19156
|
const NetscapeCommentExtension = (props) => {
|
|
19171
19157
|
const { extension } = props;
|
|
19172
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19173
|
-
hAsync(RowValue, { name: "Comment", value: extension.value.value })));
|
|
19158
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Comment", value: extension.value.value })));
|
|
19174
19159
|
};
|
|
19175
19160
|
|
|
19176
19161
|
/**
|
|
@@ -19182,8 +19167,7 @@ const NetscapeCommentExtension = (props) => {
|
|
|
19182
19167
|
*/
|
|
19183
19168
|
const NetscapeCertTypeExtension = (props) => {
|
|
19184
19169
|
const { extension } = props;
|
|
19185
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19186
|
-
hAsync(RowValue, { name: "Type", value: extension.value.toJSON().join(', ') })));
|
|
19170
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Type", value: extension.value.toJSON().join(', ') })));
|
|
19187
19171
|
};
|
|
19188
19172
|
|
|
19189
19173
|
/**
|
|
@@ -19195,8 +19179,7 @@ const NetscapeCertTypeExtension = (props) => {
|
|
|
19195
19179
|
*/
|
|
19196
19180
|
const LeiRoleExtension = (props) => {
|
|
19197
19181
|
const { extension } = props;
|
|
19198
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19199
|
-
hAsync(RowValue, { name: "Role", value: extension.value.text })));
|
|
19182
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Role", value: extension.value.text })));
|
|
19200
19183
|
};
|
|
19201
19184
|
|
|
19202
19185
|
/**
|
|
@@ -19208,8 +19191,7 @@ const LeiRoleExtension = (props) => {
|
|
|
19208
19191
|
*/
|
|
19209
19192
|
const LeiExtension = (props) => {
|
|
19210
19193
|
const { extension, getLEILink } = props;
|
|
19211
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19212
|
-
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) })));
|
|
19213
19195
|
};
|
|
19214
19196
|
|
|
19215
19197
|
/**
|
|
@@ -19221,10 +19203,7 @@ const LeiExtension = (props) => {
|
|
|
19221
19203
|
*/
|
|
19222
19204
|
const TimestampExtension = (props) => {
|
|
19223
19205
|
const { extension } = props;
|
|
19224
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19225
|
-
hAsync(RowValue, { name: "Version", value: extension.value.version }),
|
|
19226
|
-
hAsync(GeneralNamePart, Object.assign({ generalName: extension.value.location }, props)),
|
|
19227
|
-
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') })));
|
|
19228
19207
|
};
|
|
19229
19208
|
|
|
19230
19209
|
/**
|
|
@@ -19236,8 +19215,7 @@ const TimestampExtension = (props) => {
|
|
|
19236
19215
|
*/
|
|
19237
19216
|
const ArchiveRevInfoExtension = (props) => {
|
|
19238
19217
|
const { extension } = props;
|
|
19239
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19240
|
-
hAsync(RowValue, { name: "Version", value: extension.value.version })));
|
|
19218
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Version", value: extension.value.version })));
|
|
19241
19219
|
};
|
|
19242
19220
|
|
|
19243
19221
|
/**
|
|
@@ -19249,8 +19227,7 @@ const ArchiveRevInfoExtension = (props) => {
|
|
|
19249
19227
|
*/
|
|
19250
19228
|
const CRLReasonExtension = (props) => {
|
|
19251
19229
|
const { extension } = props;
|
|
19252
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19253
|
-
hAsync(RowValue, { name: "Reason", value: extension.value.toJSON() })));
|
|
19230
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Reason", value: extension.value.toJSON() })));
|
|
19254
19231
|
};
|
|
19255
19232
|
|
|
19256
19233
|
/**
|
|
@@ -19275,9 +19252,7 @@ const SubjectDirectoryAttributesExtension = (props) => {
|
|
|
19275
19252
|
const { extension } = props;
|
|
19276
19253
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
19277
19254
|
hAsync(RowValue, { name: "Attributes", value: "" }),
|
|
19278
|
-
extension.value.map((attribute) => (hAsync(TableRowTable, null,
|
|
19279
|
-
hAsync(RowValue, { name: "Type", value: getStringByOID(attribute.type) }),
|
|
19280
|
-
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) })))),
|
|
19281
19256
|
])));
|
|
19282
19257
|
};
|
|
19283
19258
|
|
|
@@ -19290,8 +19265,7 @@ const SubjectDirectoryAttributesExtension = (props) => {
|
|
|
19290
19265
|
*/
|
|
19291
19266
|
const AsStringExtension = (props) => {
|
|
19292
19267
|
const { extension } = props;
|
|
19293
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19294
|
-
hAsync(RowValue, { name: "Value", value: extension.value, monospace: true })));
|
|
19268
|
+
return (hAsync(BasicExtension, { extension: extension }, hAsync(RowValue, { name: "Value", value: extension.value, monospace: true })));
|
|
19295
19269
|
};
|
|
19296
19270
|
|
|
19297
19271
|
/**
|
|
@@ -19303,9 +19277,7 @@ const AsStringExtension = (props) => {
|
|
|
19303
19277
|
*/
|
|
19304
19278
|
const PrivateKeyUsagePeriodExtension = (props) => {
|
|
19305
19279
|
const { extension } = props;
|
|
19306
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19307
|
-
hAsync(RowValue, { name: "Not Before", value: dateShort(extension.value.notBefore) }),
|
|
19308
|
-
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) })));
|
|
19309
19281
|
};
|
|
19310
19282
|
|
|
19311
19283
|
/**
|
|
@@ -19317,9 +19289,7 @@ const PrivateKeyUsagePeriodExtension = (props) => {
|
|
|
19317
19289
|
*/
|
|
19318
19290
|
const EntrustVersionInfoExtension = (props) => {
|
|
19319
19291
|
const { extension } = props;
|
|
19320
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19321
|
-
hAsync(RowValue, { name: "Version", value: extension.value.entrustVers }),
|
|
19322
|
-
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(', ') })));
|
|
19323
19293
|
};
|
|
19324
19294
|
|
|
19325
19295
|
/**
|
|
@@ -19333,12 +19303,7 @@ const BiometricSyntaxExtension = (props) => {
|
|
|
19333
19303
|
const { extension } = props;
|
|
19334
19304
|
return (hAsync(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
19335
19305
|
hAsync(RowValue, { name: "Biometrics", value: "" }),
|
|
19336
|
-
extension.value.map((data) => (hAsync(TableRowTable, null,
|
|
19337
|
-
hAsync(RowValue, { name: "OID", value: getStringByOID(data.typeOfBiometricData.biometricDataOid) }),
|
|
19338
|
-
hAsync(RowValue, { name: "Type", value: data.typeOfBiometricData.predefinedBiometricType }),
|
|
19339
|
-
hAsync(RowValue, { name: "Algorithm", value: getStringByOID(data.hashAlgorithm.algorithm) }),
|
|
19340
|
-
hAsync(RowValue, { name: "Hash", value: Convert.ToHex(data.biometricDataHash.buffer), monospace: true }),
|
|
19341
|
-
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 })))),
|
|
19342
19307
|
])));
|
|
19343
19308
|
};
|
|
19344
19309
|
|
|
@@ -19388,14 +19353,10 @@ const LogotypeExtension = (props) => {
|
|
|
19388
19353
|
hAsync(RowValue, { name: "Type", value: title }),
|
|
19389
19354
|
renderImage(image),
|
|
19390
19355
|
renderAudio(audio),
|
|
19391
|
-
hAsync("tr", null,
|
|
19392
|
-
hAsync("td", null),
|
|
19393
|
-
hAsync("td", null)),
|
|
19356
|
+
hAsync("tr", null, hAsync("td", null), hAsync("td", null)),
|
|
19394
19357
|
];
|
|
19395
19358
|
};
|
|
19396
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19397
|
-
renderLogo('Subject', extension.value.subjectLogo),
|
|
19398
|
-
renderLogo('Issuer', extension.value.issuerLogo)));
|
|
19359
|
+
return (hAsync(BasicExtension, { extension: extension }, renderLogo('Subject', extension.value.subjectLogo), renderLogo('Issuer', extension.value.issuerLogo)));
|
|
19399
19360
|
};
|
|
19400
19361
|
|
|
19401
19362
|
/**
|
|
@@ -19409,10 +19370,7 @@ const TNAuthListExtension = (props) => {
|
|
|
19409
19370
|
const { extension } = props;
|
|
19410
19371
|
return (hAsync(BasicExtension, { extension: extension }, extension.value.length > 0 && ([
|
|
19411
19372
|
hAsync(RowValue, { name: "Entries", value: "" }),
|
|
19412
|
-
extension.value.map((entry) => (hAsync(TableRowTable, null,
|
|
19413
|
-
hAsync(RowValue, { name: "SPC", value: entry.spc }),
|
|
19414
|
-
hAsync(RowValue, { name: "Range", value: entry.range ? `start=${entry.range.start} count==${entry.range.count}` : null }),
|
|
19415
|
-
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 })))),
|
|
19416
19374
|
])));
|
|
19417
19375
|
};
|
|
19418
19376
|
|
|
@@ -19425,9 +19383,7 @@ const TNAuthListExtension = (props) => {
|
|
|
19425
19383
|
*/
|
|
19426
19384
|
const PolicyConstraintsExtension = (props) => {
|
|
19427
19385
|
const { extension } = props;
|
|
19428
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19429
|
-
extension.value.requireExplicitPolicy && (hAsync(RowValue, { name: "Require Explicit Policy", value: AsnIntegerArrayBufferConverter.toASN(extension.value.requireExplicitPolicy).valueBlock.toString() })),
|
|
19430
|
-
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() }))));
|
|
19431
19387
|
};
|
|
19432
19388
|
|
|
19433
19389
|
/**
|
|
@@ -19441,9 +19397,7 @@ const PolicyMappingsExtension = (props) => {
|
|
|
19441
19397
|
const { extension } = props;
|
|
19442
19398
|
return (hAsync(BasicExtension, { extension: extension }, extension.value.length > 0 && ([
|
|
19443
19399
|
hAsync(RowValue, { name: "Policies", value: "" }),
|
|
19444
|
-
extension.value.map((policy) => (hAsync(TableRowTable, null,
|
|
19445
|
-
hAsync(RowValue, { name: "Issuer Domain", value: getStringByOID(policy.issuerDomainPolicy) }),
|
|
19446
|
-
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) })))),
|
|
19447
19401
|
])));
|
|
19448
19402
|
};
|
|
19449
19403
|
|
|
@@ -19456,8 +19410,7 @@ const PolicyMappingsExtension = (props) => {
|
|
|
19456
19410
|
*/
|
|
19457
19411
|
const CRLNumberExtension = (props) => {
|
|
19458
19412
|
const { extension } = props;
|
|
19459
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19460
|
-
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 })));
|
|
19461
19414
|
};
|
|
19462
19415
|
|
|
19463
19416
|
/**
|
|
@@ -19471,12 +19424,7 @@ const IssuingDistributionPointExtension = (props) => {
|
|
|
19471
19424
|
var _a;
|
|
19472
19425
|
const { extension } = props;
|
|
19473
19426
|
return (hAsync(BasicExtension, { extension: extension }, (_a = extension.value.distributionPoint) === null || _a === void 0 ? void 0 :
|
|
19474
|
-
_a.fullName.map((gn) => (hAsync(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
|
|
19475
|
-
extension.value.onlySomeReasons && (hAsync(RowValue, { name: l10n.getString('onlyReasons'), value: extension.value.onlySomeReasons.toJSON().join(', ') })),
|
|
19476
|
-
extension.value.indirectCRL && (hAsync(RowValue, { name: l10n.getString('indirectCRL'), value: l10n.getString('yes') })),
|
|
19477
|
-
extension.value.onlyContainsUserCerts && (hAsync(RowValue, { name: l10n.getString('onlyUserCertificates'), value: l10n.getString('yes') })),
|
|
19478
|
-
extension.value.onlyContainsAttributeCerts && (hAsync(RowValue, { name: l10n.getString('onlyAttributeCertificates'), value: l10n.getString('yes') })),
|
|
19479
|
-
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') }))));
|
|
19480
19428
|
};
|
|
19481
19429
|
|
|
19482
19430
|
/**
|
|
@@ -19518,9 +19466,7 @@ const KeyDescriptionExtension = (props) => {
|
|
|
19518
19466
|
if (parsed.packageInfos.length || parsed.signatureDigests.length) {
|
|
19519
19467
|
return [
|
|
19520
19468
|
hAsync(RowValue, { name: camelCaseToWords(keyName), value: "" }),
|
|
19521
|
-
Boolean(parsed.packageInfos) && (hAsync(TableRowTable, null,
|
|
19522
|
-
hAsync(RowValue, { name: camelCaseToWords('packageInfos'), value: "" }),
|
|
19523
|
-
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)))))),
|
|
19524
19470
|
];
|
|
19525
19471
|
}
|
|
19526
19472
|
}
|
|
@@ -19547,15 +19493,7 @@ const KeyDescriptionExtension = (props) => {
|
|
|
19547
19493
|
hAsync(TableRowTable, null, authorizationList.map(renderRowValue)),
|
|
19548
19494
|
];
|
|
19549
19495
|
};
|
|
19550
|
-
return (hAsync(BasicExtension, { extension: extension },
|
|
19551
|
-
hAsync(RowValue, { name: camelCaseToWords('attestationVersion'), value: extension.value.attestationVersion }),
|
|
19552
|
-
hAsync(RowValue, { name: camelCaseToWords('attestationSecurityLevel'), value: extension.value.attestationSecurityLevel }),
|
|
19553
|
-
hAsync(RowValue, { name: camelCaseToWords('keymasterVersion'), value: extension.value.keymasterVersion }),
|
|
19554
|
-
hAsync(RowValue, { name: camelCaseToWords('keymasterSecurityLevel'), value: extension.value.keymasterSecurityLevel }),
|
|
19555
|
-
hAsync(RowValue, { name: camelCaseToWords('attestationChallenge'), value: Convert.ToString(extension.value.attestationChallenge) }),
|
|
19556
|
-
hAsync(RowValue, { name: camelCaseToWords('uniqueId'), value: Convert.ToString(extension.value.uniqueId) || undefined }),
|
|
19557
|
-
renderAuthorizationList(camelCaseToWords('softwareEnforced'), extension.value.softwareEnforced),
|
|
19558
|
-
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)));
|
|
19559
19497
|
};
|
|
19560
19498
|
|
|
19561
19499
|
/**
|
|
@@ -19714,9 +19652,7 @@ const BasicAttribute = (props, children) => {
|
|
|
19714
19652
|
return ([
|
|
19715
19653
|
hAsync(RowValue, { name: "Name", value: getStringByOID(attribute.asn.type) }),
|
|
19716
19654
|
children,
|
|
19717
|
-
hAsync("tr", null,
|
|
19718
|
-
hAsync("td", { colSpan: 2, class: "divider" },
|
|
19719
|
-
hAsync("span", null))),
|
|
19655
|
+
hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
|
|
19720
19656
|
]);
|
|
19721
19657
|
};
|
|
19722
19658
|
|
|
@@ -19745,8 +19681,7 @@ const NamePart = (props) => {
|
|
|
19745
19681
|
*/
|
|
19746
19682
|
const NameAttribute = (props) => {
|
|
19747
19683
|
const { attribute } = props;
|
|
19748
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19749
|
-
hAsync(NamePart, { name: attribute.value })));
|
|
19684
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(NamePart, { name: attribute.value })));
|
|
19750
19685
|
};
|
|
19751
19686
|
|
|
19752
19687
|
/**
|
|
@@ -19758,15 +19693,7 @@ const NameAttribute = (props) => {
|
|
|
19758
19693
|
*/
|
|
19759
19694
|
const ActivityDescriptionAttribute = (props) => {
|
|
19760
19695
|
const { attribute } = props;
|
|
19761
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19762
|
-
hAsync(RowValue, { name: camelCaseToWords('codeAuthority'), value: "" }),
|
|
19763
|
-
hAsync(TableRowTable, null,
|
|
19764
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.codeAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19765
|
-
hAsync(RowValue, { name: camelCaseToWords('codeId'), value: "" }),
|
|
19766
|
-
hAsync(TableRowTable, null,
|
|
19767
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.codeId, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19768
|
-
hAsync(RowValue, { name: camelCaseToWords('shortName'), value: attribute.value.shortName }),
|
|
19769
|
-
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 })));
|
|
19770
19697
|
};
|
|
19771
19698
|
|
|
19772
19699
|
/**
|
|
@@ -19778,18 +19705,7 @@ const ActivityDescriptionAttribute = (props) => {
|
|
|
19778
19705
|
*/
|
|
19779
19706
|
const WebGdprAttribute = (props) => {
|
|
19780
19707
|
const { attribute } = props;
|
|
19781
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19782
|
-
hAsync(RowValue, { name: camelCaseToWords('assessmentAuthority'), value: "" }),
|
|
19783
|
-
hAsync(TableRowTable, null,
|
|
19784
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.assessmentAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19785
|
-
hAsync(RowValue, { name: camelCaseToWords('assessmentLocation'), value: "" }),
|
|
19786
|
-
hAsync(TableRowTable, null,
|
|
19787
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.assessmentLocation, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19788
|
-
hAsync(RowValue, { name: camelCaseToWords('assessmentRef'), value: "" }),
|
|
19789
|
-
hAsync(TableRowTable, null,
|
|
19790
|
-
hAsync(GeneralNamePart, { generalName: attribute.value.assessmentRef, getDNSNameLink: () => '', getIPAddressLink: () => '' })),
|
|
19791
|
-
hAsync(RowValue, { name: camelCaseToWords('dataStorageTerritory'), value: attribute.value.dataStorageTerritory }),
|
|
19792
|
-
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 })));
|
|
19793
19709
|
};
|
|
19794
19710
|
|
|
19795
19711
|
/**
|
|
@@ -19802,8 +19718,7 @@ const WebGdprAttribute = (props) => {
|
|
|
19802
19718
|
const InsuranceValueAttribute = (props) => {
|
|
19803
19719
|
const { attribute } = props;
|
|
19804
19720
|
const value = `${attribute.value.base} * 10^${attribute.value.degree} ${attribute.value.location}`;
|
|
19805
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19806
|
-
hAsync(RowValue, { name: "Value", value: value })));
|
|
19721
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: value })));
|
|
19807
19722
|
};
|
|
19808
19723
|
|
|
19809
19724
|
/**
|
|
@@ -19841,8 +19756,7 @@ const ValuationRankingAttribute = (props) => {
|
|
|
19841
19756
|
getValueRank(attribute.value[keyName]),
|
|
19842
19757
|
hAsync("br", null),
|
|
19843
19758
|
]));
|
|
19844
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19845
|
-
hAsync(RowValue, { name: "Value", value: values })));
|
|
19759
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: values })));
|
|
19846
19760
|
};
|
|
19847
19761
|
|
|
19848
19762
|
/**
|
|
@@ -19854,8 +19768,7 @@ const ValuationRankingAttribute = (props) => {
|
|
|
19854
19768
|
*/
|
|
19855
19769
|
const AsStringAttribute = (props) => {
|
|
19856
19770
|
const { attribute } = props;
|
|
19857
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19858
|
-
hAsync(RowValue, { name: "Value", value: attribute.value, monospace: true })));
|
|
19771
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: attribute.value, monospace: true })));
|
|
19859
19772
|
};
|
|
19860
19773
|
|
|
19861
19774
|
/**
|
|
@@ -19867,8 +19780,7 @@ const AsStringAttribute = (props) => {
|
|
|
19867
19780
|
*/
|
|
19868
19781
|
const UnstructuredNameAttribute = (props) => {
|
|
19869
19782
|
const { attribute } = props;
|
|
19870
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19871
|
-
hAsync(RowValue, { name: "Value", value: attribute.value.utf8String })));
|
|
19783
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: attribute.value.utf8String })));
|
|
19872
19784
|
};
|
|
19873
19785
|
|
|
19874
19786
|
/**
|
|
@@ -19880,8 +19792,7 @@ const UnstructuredNameAttribute = (props) => {
|
|
|
19880
19792
|
*/
|
|
19881
19793
|
const ChallengePasswordAttribute = (props) => {
|
|
19882
19794
|
const { attribute } = props;
|
|
19883
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19884
|
-
hAsync(RowValue, { name: "Value", value: attribute.value.toString() })));
|
|
19795
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(RowValue, { name: "Value", value: attribute.value.toString() })));
|
|
19885
19796
|
};
|
|
19886
19797
|
|
|
19887
19798
|
/**
|
|
@@ -19897,9 +19808,7 @@ const ExtensionRequestAttribute = (props) => {
|
|
|
19897
19808
|
if (attribute.value) {
|
|
19898
19809
|
extensions = attribute.value.map((e) => new Extension(AsnConvert.serialize(e)));
|
|
19899
19810
|
}
|
|
19900
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19901
|
-
hAsync(TableRowTable, null,
|
|
19902
|
-
hAsync(Extensions, { extensions: extensions, getDNSNameLink: () => '', getIPAddressLink: () => '', getLEILink: () => '' }))));
|
|
19811
|
+
return (hAsync(BasicAttribute, { attribute: attribute }, hAsync(TableRowTable, null, hAsync(Extensions, { extensions: extensions, getDNSNameLink: () => '', getIPAddressLink: () => '', getLEILink: () => '' }))));
|
|
19903
19812
|
};
|
|
19904
19813
|
|
|
19905
19814
|
/**
|
|
@@ -19914,16 +19823,10 @@ const PrivateKeyPossessionStatementAttribute = (props) => {
|
|
|
19914
19823
|
const certificateRaw = attribute.value.cert
|
|
19915
19824
|
? AsnConvert.serialize(attribute.value.cert)
|
|
19916
19825
|
: null;
|
|
19917
|
-
return (hAsync(BasicAttribute, { attribute: attribute },
|
|
19918
|
-
hAsync(RowValue, { name: "
|
|
19919
|
-
hAsync(
|
|
19920
|
-
|
|
19921
|
-
hAsync(NamePart, { name: attribute.value.signer.issuer })),
|
|
19922
|
-
certificateRaw && [
|
|
19923
|
-
hAsync(RowValue, { name: "Certificate", value: "" }),
|
|
19924
|
-
hAsync(TableRowTable, null,
|
|
19925
|
-
hAsync("peculiar-certificate-viewer", { certificate: Convert.ToBase64(certificateRaw) })),
|
|
19926
|
-
]));
|
|
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
|
+
]));
|
|
19927
19830
|
};
|
|
19928
19831
|
|
|
19929
19832
|
/**
|
|
@@ -20001,9 +19904,7 @@ const Button = (props, children) => {
|
|
|
20001
19904
|
// eslint-disable-next-line react/destructuring-assignment
|
|
20002
19905
|
m_no_padding: children.length === 0,
|
|
20003
19906
|
[classProp]: Boolean(classProp),
|
|
20004
|
-
}, onClick: onClick },
|
|
20005
|
-
startIcon,
|
|
20006
|
-
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))));
|
|
20007
19908
|
};
|
|
20008
19909
|
|
|
20009
19910
|
/**
|
|
@@ -20015,8 +19916,7 @@ const Button = (props, children) => {
|
|
|
20015
19916
|
*/
|
|
20016
19917
|
const DetailsIcon = (props) => {
|
|
20017
19918
|
const { color = 'secondary' } = props;
|
|
20018
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" },
|
|
20019
|
-
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" })));
|
|
20020
19920
|
};
|
|
20021
19921
|
|
|
20022
19922
|
/**
|
|
@@ -20028,8 +19928,7 @@ const DetailsIcon = (props) => {
|
|
|
20028
19928
|
*/
|
|
20029
19929
|
const DownloadIcon = (props) => {
|
|
20030
19930
|
const { color = 'secondary' } = props;
|
|
20031
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
|
|
20032
|
-
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" })));
|
|
20033
19932
|
};
|
|
20034
19933
|
|
|
20035
19934
|
/**
|
|
@@ -20041,8 +19940,7 @@ const DownloadIcon = (props) => {
|
|
|
20041
19940
|
*/
|
|
20042
19941
|
const LinkIcon = (props) => {
|
|
20043
19942
|
const { color = 'secondary' } = props;
|
|
20044
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" },
|
|
20045
|
-
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" })));
|
|
20046
19944
|
};
|
|
20047
19945
|
|
|
20048
19946
|
/**
|
|
@@ -20054,8 +19952,7 @@ const LinkIcon = (props) => {
|
|
|
20054
19952
|
*/
|
|
20055
19953
|
const ActionsIcon = (props) => {
|
|
20056
19954
|
const { color = 'gray-10' } = props;
|
|
20057
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "31", fill: "none" },
|
|
20058
|
-
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" })));
|
|
20059
19956
|
};
|
|
20060
19957
|
|
|
20061
19958
|
/**
|
|
@@ -20067,8 +19964,7 @@ const ActionsIcon = (props) => {
|
|
|
20067
19964
|
*/
|
|
20068
19965
|
const ArrowBottomIcon = (props) => {
|
|
20069
19966
|
const { color = 'gray-10' } = props;
|
|
20070
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
|
|
20071
|
-
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" })));
|
|
20072
19968
|
};
|
|
20073
19969
|
|
|
20074
19970
|
/**
|
|
@@ -20080,8 +19976,7 @@ const ArrowBottomIcon = (props) => {
|
|
|
20080
19976
|
*/
|
|
20081
19977
|
const ArrowTopIcon = (props) => {
|
|
20082
19978
|
const { color = 'gray-10' } = props;
|
|
20083
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
|
|
20084
|
-
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" })));
|
|
20085
19980
|
};
|
|
20086
19981
|
|
|
20087
19982
|
/**
|
|
@@ -20093,8 +19988,7 @@ const ArrowTopIcon = (props) => {
|
|
|
20093
19988
|
*/
|
|
20094
19989
|
const CrossIcon = (props) => {
|
|
20095
19990
|
const { color = 'gray-9' } = props;
|
|
20096
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", fill: "none" },
|
|
20097
|
-
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" })));
|
|
20098
19992
|
};
|
|
20099
19993
|
|
|
20100
19994
|
/**
|
|
@@ -20108,12 +20002,8 @@ const Miscellaneous = (props) => {
|
|
|
20108
20002
|
const { certificate } = props;
|
|
20109
20003
|
return [
|
|
20110
20004
|
hAsync(RowTitle, { value: l10n.getString('miscellaneous') }),
|
|
20111
|
-
hAsync("tr", null,
|
|
20112
|
-
|
|
20113
|
-
hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPEM() }, l10n.getString('download.pem')))),
|
|
20114
|
-
hAsync("tr", null,
|
|
20115
|
-
hAsync("td", null,
|
|
20116
|
-
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')))),
|
|
20117
20007
|
];
|
|
20118
20008
|
};
|
|
20119
20009
|
|
|
@@ -20146,16 +20036,13 @@ const RevokedCertificates = (props) => {
|
|
|
20146
20036
|
if (extension.value instanceof CertificateIssuer && extension.value.length) {
|
|
20147
20037
|
return ([
|
|
20148
20038
|
hAsync(RowValue, { name: `${getStringByOID(extension.asn.extnID)}:`, value: "" }),
|
|
20149
|
-
extension.value.map((gn) => (hAsync(TableRowTable, null,
|
|
20150
|
-
hAsync(GeneralNamePart, { generalName: gn, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink })))),
|
|
20039
|
+
extension.value.map((gn) => (hAsync(TableRowTable, null, hAsync(GeneralNamePart, { generalName: gn, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink })))),
|
|
20151
20040
|
]);
|
|
20152
20041
|
}
|
|
20153
20042
|
return (hAsync(RowValue, { name: getStringByOID(extension.asn.extnID), value: Convert.ToHex(extension.asn.extnValue), monospace: true }));
|
|
20154
20043
|
})),
|
|
20155
20044
|
])),
|
|
20156
|
-
hAsync("tr", null,
|
|
20157
|
-
hAsync("td", { colSpan: 2, class: "divider" },
|
|
20158
|
-
hAsync("span", null))),
|
|
20045
|
+
hAsync("tr", null, hAsync("td", { colSpan: 2, class: "divider" }, hAsync("span", null))),
|
|
20159
20046
|
])),
|
|
20160
20047
|
];
|
|
20161
20048
|
};
|
|
@@ -20177,20 +20064,13 @@ const Holder = (props) => {
|
|
|
20177
20064
|
hAsync(RowTitle, { value: l10n.getString('holder') }),
|
|
20178
20065
|
baseCertificateID && ([
|
|
20179
20066
|
baseCertificateID.issuer.map((item) => (hAsync(GeneralNamePart, { generalName: item, getDNSNameLink: () => '', getIPAddressLink: () => '' }))),
|
|
20180
|
-
hAsync("tr", null,
|
|
20181
|
-
hAsync("td", null),
|
|
20182
|
-
hAsync("td", null)),
|
|
20067
|
+
hAsync("tr", null, hAsync("td", null), hAsync("td", null)),
|
|
20183
20068
|
hAsync(RowValue, { name: l10n.getString('serialNumber'), value: Convert.ToHex(baseCertificateID.serial), monospace: true }),
|
|
20184
|
-
hAsync("tr", null,
|
|
20185
|
-
hAsync("td", null),
|
|
20186
|
-
hAsync("td", null)),
|
|
20069
|
+
hAsync("tr", null, hAsync("td", null), hAsync("td", null)),
|
|
20187
20070
|
]),
|
|
20188
20071
|
objectDigestInfo && ([
|
|
20189
20072
|
hAsync(RowValue, { name: l10n.getString('digestInfo'), value: "" }),
|
|
20190
|
-
hAsync(TableRowTable, null,
|
|
20191
|
-
hAsync(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(objectDigestInfo.digestAlgorithm.algorithm) }),
|
|
20192
|
-
hAsync(RowValue, { name: l10n.getString('value'), value: Convert.ToHex(objectDigestInfo.objectDigest), monospace: true }),
|
|
20193
|
-
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 })),
|
|
20194
20074
|
]),
|
|
20195
20075
|
];
|
|
20196
20076
|
};
|
|
@@ -20367,7 +20247,7 @@ class ButtonMenu {
|
|
|
20367
20247
|
}; }
|
|
20368
20248
|
}
|
|
20369
20249
|
|
|
20370
|
-
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}";
|
|
20371
20251
|
|
|
20372
20252
|
class CertificateChainViewer {
|
|
20373
20253
|
constructor(hostRef) {
|
|
@@ -20510,14 +20390,14 @@ class CertificateDecoder {
|
|
|
20510
20390
|
}
|
|
20511
20391
|
render() {
|
|
20512
20392
|
var _a;
|
|
20513
|
-
return (hAsync(Host, { key: '9067f2d7f33a40b3ad0ba03c7338a6f800100dab' }, hAsync("textarea", { key: '9e8962631c259fd5e144a1397d8591dde46d032f', placeholder: "Certificate DER or PEM", class: "textarea t-b2 c-black", ref: (el) => { this.inputPaste = el; }, onDrop: this.handleDropFile }), hAsync("div", { key: '9be2b1e6c9b3de94c9d5e1e6cf31d9fb487960d8', class: "controls" }, hAsync("div", { key: '3959b89ab5c5654a3c10a1166743c056c0340e2e', class: "control_row" }, hAsync(Typography, { key: '3c03f42d14ff5a485264523bab40765bb4f89a8f', variant: "b3", color: "secondary-tint-2" }, "Drag or load file:"), hAsync("input", { key: '
|
|
20393
|
+
return (hAsync(Host, { key: '9067f2d7f33a40b3ad0ba03c7338a6f800100dab' }, hAsync("textarea", { key: '9e8962631c259fd5e144a1397d8591dde46d032f', placeholder: "Certificate DER or PEM", class: "textarea t-b2 c-black", ref: (el) => { this.inputPaste = el; }, onDrop: this.handleDropFile }), hAsync("div", { key: '9be2b1e6c9b3de94c9d5e1e6cf31d9fb487960d8', class: "controls" }, hAsync("div", { key: '3959b89ab5c5654a3c10a1166743c056c0340e2e', class: "control_row" }, hAsync(Typography, { key: '3c03f42d14ff5a485264523bab40765bb4f89a8f', variant: "b3", color: "secondary-tint-2" }, "Drag or load file:"), hAsync("input", { key: '29845cfd11955ded4b43d19be3ede89d77b71fef', type: "file", accept: "application/pkix-cert,application/x-x509-ca-cert,application/x-x509-user-cert,application/pkcs10,application/pkix-crl,.csr,.req,.crl,.pub", value: "", onChange: this.handleChangeInputFile })), ((_a = this.certificateExamples) === null || _a === void 0 ? void 0 : _a.length) && (hAsync("div", { key: 'ec2e21cdcda421bd046d42607569e90eb0a96589', class: "control_row" }, hAsync(Typography, { key: '17850c755e70545949be4f772ec67f02eae829af', variant: "b3", color: "secondary-tint-2" }, "Load examples:"), hAsync("select", { key: '4431af8f0dcc97fd8e26637cef8a9524a83e9519', onChange: this.handleChangeExample }, hAsync("option", { key: 'c08edb4c2faf0f640e100cf62ae7ad07f0714cc3', value: "" }, "None"), this.certificateExamples.map((example) => (hAsync("option", { value: example.value }, example.title)))))), hAsync("div", { key: 'e7f7a693ef5f72ce739fe6a42d8c87345d23a743', class: "control_row" }, hAsync(Button, { key: '7448517bf7f76af06f8a7f60d1e40360613d3acd', onClick: this.handleClickDecode }, "Decode"), hAsync(Button, { key: 'b831592de27a3b292b2d81a19400216fbce7e797', onClick: this.handleClickClear }, "Clear"))), this.renderCertificate()));
|
|
20514
20394
|
}
|
|
20515
20395
|
static get style() { return certificateDecoderCss; }
|
|
20516
20396
|
static get cmpMeta() { return {
|
|
20517
20397
|
"$flags$": 265,
|
|
20518
20398
|
"$tagName$": "peculiar-certificate-decoder",
|
|
20519
20399
|
"$members$": {
|
|
20520
|
-
"certificateExamples": [16
|
|
20400
|
+
"certificateExamples": [16],
|
|
20521
20401
|
"certificateToDecode": [1, "certificate-to-decode"],
|
|
20522
20402
|
"certificateDecoded": [32]
|
|
20523
20403
|
},
|
|
@@ -20658,20 +20538,8 @@ class CertificateViewer {
|
|
|
20658
20538
|
*/
|
|
20659
20539
|
const CertificateSummary = (props) => {
|
|
20660
20540
|
const { certificate, showIssuer, } = props;
|
|
20661
|
-
const renderRow = (name, value) => (hAsync("tr", null,
|
|
20662
|
-
|
|
20663
|
-
hAsync(Typography, { variant: "b2", color: "gray-9" }, name)),
|
|
20664
|
-
hAsync("td", null,
|
|
20665
|
-
hAsync(Typography, { variant: "b2", color: "black" }, value))));
|
|
20666
|
-
return (hAsync("table", null,
|
|
20667
|
-
hAsync("tbody", null,
|
|
20668
|
-
renderRow(l10n.getString('subjectName'), certificate.subjectToString()),
|
|
20669
|
-
showIssuer && renderRow(l10n.getString('issuerName'), certificate.issuerToString()),
|
|
20670
|
-
renderRow(l10n.getString('serialNumber'), certificate.serialNumber),
|
|
20671
|
-
renderRow(l10n.getString('version'), certificate.version),
|
|
20672
|
-
renderRow(l10n.getString('validity'), certificate.validity),
|
|
20673
|
-
renderRow(l10n.getString('issued'), dateShort(certificate.notBefore)),
|
|
20674
|
-
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)))));
|
|
20675
20543
|
};
|
|
20676
20544
|
|
|
20677
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}";
|
|
@@ -21338,9 +21206,7 @@ const SshMiscellaneous = (props) => {
|
|
|
21338
21206
|
const { certificate } = props;
|
|
21339
21207
|
return [
|
|
21340
21208
|
hAsync(RowTitle, { value: l10n.getString('miscellaneous') }),
|
|
21341
|
-
hAsync("tr", null,
|
|
21342
|
-
hAsync("td", null,
|
|
21343
|
-
hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsSSH() }, l10n.getString('download.ssh')))),
|
|
21209
|
+
hAsync("tr", null, hAsync("td", null, hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPub() }, l10n.getString('download')))),
|
|
21344
21210
|
];
|
|
21345
21211
|
};
|
|
21346
21212
|
|
|
@@ -21529,7 +21395,7 @@ var BUILD = {
|
|
|
21529
21395
|
vdomRender: true,
|
|
21530
21396
|
vdomStyle: true,
|
|
21531
21397
|
vdomText: true,
|
|
21532
|
-
|
|
21398
|
+
propChangeCallback: true,
|
|
21533
21399
|
taskQueue: true,
|
|
21534
21400
|
hotModuleReplacement: false,
|
|
21535
21401
|
isDebug: false,
|
|
@@ -21577,7 +21443,7 @@ var NAMESPACE = (
|
|
|
21577
21443
|
);
|
|
21578
21444
|
|
|
21579
21445
|
/*
|
|
21580
|
-
Stencil Hydrate Runner v4.
|
|
21446
|
+
Stencil Hydrate Runner v4.38.3 | MIT Licensed | https://stenciljs.com
|
|
21581
21447
|
*/
|
|
21582
21448
|
var __defProp = Object.defineProperty;
|
|
21583
21449
|
var __export = (target, all) => {
|
|
@@ -21738,82 +21604,6 @@ var MockAttr = class {
|
|
|
21738
21604
|
}
|
|
21739
21605
|
};
|
|
21740
21606
|
|
|
21741
|
-
// src/mock-doc/class-list.ts
|
|
21742
|
-
var MockClassList = class {
|
|
21743
|
-
constructor(elm) {
|
|
21744
|
-
this.elm = elm;
|
|
21745
|
-
}
|
|
21746
|
-
add(...classNames) {
|
|
21747
|
-
const clsNames = getItems(this.elm);
|
|
21748
|
-
let updated = false;
|
|
21749
|
-
classNames.forEach((className) => {
|
|
21750
|
-
className = String(className);
|
|
21751
|
-
validateClass(className);
|
|
21752
|
-
if (clsNames.includes(className) === false) {
|
|
21753
|
-
clsNames.push(className);
|
|
21754
|
-
updated = true;
|
|
21755
|
-
}
|
|
21756
|
-
});
|
|
21757
|
-
if (updated) {
|
|
21758
|
-
this.elm.setAttributeNS(null, "class", clsNames.join(" "));
|
|
21759
|
-
}
|
|
21760
|
-
}
|
|
21761
|
-
remove(...classNames) {
|
|
21762
|
-
const clsNames = getItems(this.elm);
|
|
21763
|
-
let updated = false;
|
|
21764
|
-
classNames.forEach((className) => {
|
|
21765
|
-
className = String(className);
|
|
21766
|
-
validateClass(className);
|
|
21767
|
-
const index = clsNames.indexOf(className);
|
|
21768
|
-
if (index > -1) {
|
|
21769
|
-
clsNames.splice(index, 1);
|
|
21770
|
-
updated = true;
|
|
21771
|
-
}
|
|
21772
|
-
});
|
|
21773
|
-
if (updated) {
|
|
21774
|
-
this.elm.setAttributeNS(null, "class", clsNames.filter((c) => c.length > 0).join(" "));
|
|
21775
|
-
}
|
|
21776
|
-
}
|
|
21777
|
-
contains(className) {
|
|
21778
|
-
className = String(className);
|
|
21779
|
-
return getItems(this.elm).includes(className);
|
|
21780
|
-
}
|
|
21781
|
-
toggle(className) {
|
|
21782
|
-
className = String(className);
|
|
21783
|
-
if (this.contains(className) === true) {
|
|
21784
|
-
this.remove(className);
|
|
21785
|
-
} else {
|
|
21786
|
-
this.add(className);
|
|
21787
|
-
}
|
|
21788
|
-
}
|
|
21789
|
-
get length() {
|
|
21790
|
-
return getItems(this.elm).length;
|
|
21791
|
-
}
|
|
21792
|
-
item(index) {
|
|
21793
|
-
return getItems(this.elm)[index];
|
|
21794
|
-
}
|
|
21795
|
-
toString() {
|
|
21796
|
-
return getItems(this.elm).join(" ");
|
|
21797
|
-
}
|
|
21798
|
-
};
|
|
21799
|
-
function validateClass(className) {
|
|
21800
|
-
if (className === "") {
|
|
21801
|
-
throw new Error("The token provided must not be empty.");
|
|
21802
|
-
}
|
|
21803
|
-
if (/\s/.test(className)) {
|
|
21804
|
-
throw new Error(
|
|
21805
|
-
`The token provided ('${className}') contains HTML space characters, which are not valid in tokens.`
|
|
21806
|
-
);
|
|
21807
|
-
}
|
|
21808
|
-
}
|
|
21809
|
-
function getItems(elm) {
|
|
21810
|
-
const className = elm.getAttribute("class");
|
|
21811
|
-
if (typeof className === "string" && className.length > 0) {
|
|
21812
|
-
return className.trim().split(" ").filter((c) => c.length > 0);
|
|
21813
|
-
}
|
|
21814
|
-
return [];
|
|
21815
|
-
}
|
|
21816
|
-
|
|
21817
21607
|
// src/mock-doc/css-style-declaration.ts
|
|
21818
21608
|
var MockCSSStyleDeclaration = class {
|
|
21819
21609
|
constructor() {
|
|
@@ -32329,6 +32119,81 @@ var STRUCTURE_ELEMENTS = /* @__PURE__ */ new Set([
|
|
|
32329
32119
|
"style"
|
|
32330
32120
|
]);
|
|
32331
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
|
+
|
|
32332
32197
|
// src/mock-doc/node.ts
|
|
32333
32198
|
var MockNode2 = class {
|
|
32334
32199
|
constructor(ownerDocument, nodeType, nodeName, nodeValue) {
|
|
@@ -32596,7 +32461,10 @@ var MockElement = class extends MockNode2 {
|
|
|
32596
32461
|
this.setAttributeNS(null, "class", value);
|
|
32597
32462
|
}
|
|
32598
32463
|
get classList() {
|
|
32599
|
-
return new
|
|
32464
|
+
return new MockTokenList(this, "class");
|
|
32465
|
+
}
|
|
32466
|
+
get part() {
|
|
32467
|
+
return new MockTokenList(this, "part");
|
|
32600
32468
|
}
|
|
32601
32469
|
click() {
|
|
32602
32470
|
dispatchEvent(this, new MockEvent("click", { bubbles: true, cancelable: true, composed: true }));
|
|
@@ -35479,7 +35347,7 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
|
|
|
35479
35347
|
}
|
|
35480
35348
|
set location(val) {
|
|
35481
35349
|
if (this.defaultView != null) {
|
|
35482
|
-
this.defaultView.location = val;
|
|
35350
|
+
this.defaultView.location.href = val;
|
|
35483
35351
|
}
|
|
35484
35352
|
}
|
|
35485
35353
|
get baseURI() {
|
|
@@ -36254,6 +36122,9 @@ var _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
|
36254
36122
|
var setMode = (handler) => modeResolutionChain.push(handler);
|
|
36255
36123
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
36256
36124
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
36125
|
+
var baseClass = BUILD.lazyLoad ? class {
|
|
36126
|
+
} : globalThis.HTMLElement || class {
|
|
36127
|
+
};
|
|
36257
36128
|
|
|
36258
36129
|
// src/compiler/html/canonical-link.ts
|
|
36259
36130
|
var updateCanonicalLink = (doc, href) => {
|