@peculiar/certificates-viewer 4.4.0 → 4.6.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.map +1 -1
- package/components/arrow_top.js.map +1 -1
- package/components/attribute-certificate-viewer.js +2 -4
- package/components/attribute-certificate-viewer.js.map +1 -1
- package/components/attribute.js.map +1 -1
- package/components/button-menu.js +1 -3
- package/components/button-menu.js.map +1 -1
- package/components/button.js +2 -2
- package/components/button.js.map +1 -1
- package/components/certificate-chain-viewer.js +0 -1
- package/components/certificate-chain-viewer.js.map +1 -1
- package/components/certificate-viewer.js +3 -8
- package/components/certificate-viewer.js.map +1 -1
- package/components/circular-progress.js +2 -6
- package/components/circular-progress.js.map +1 -1
- package/components/crl-viewer.js +0 -2
- package/components/crl-viewer.js.map +1 -1
- package/components/cross.js.map +1 -1
- package/components/csr-viewer.js +0 -4
- package/components/csr-viewer.js.map +1 -1
- package/components/download.js +49 -23
- package/components/download.js.map +1 -1
- package/components/highlight-words.js +1 -1
- package/components/highlight-words.js.map +1 -1
- package/components/index2.js +2 -1
- package/components/index2.js.map +1 -1
- package/components/issuer_name.js +3 -1
- package/components/issuer_name.js.map +1 -1
- package/components/miscellaneous.js +15 -16
- package/components/miscellaneous.js.map +1 -1
- package/components/peculiar-certificate-decoder.js +7 -8
- package/components/peculiar-certificate-decoder.js.map +1 -1
- package/components/peculiar-certificates-viewer.js +44 -43
- package/components/peculiar-certificates-viewer.js.map +1 -1
- package/components/peculiar-text-hider.js +1 -1
- package/components/peculiar-text-hider.js.map +1 -1
- package/components/pkcs10_certificate_request.js.map +1 -1
- package/components/read_file.js.map +1 -1
- package/components/subject_name.js.map +1 -1
- package/dist/cjs/actions-Dl4HXXlI.js.map +1 -1
- package/dist/cjs/arrow_top-DBMPHVlB.js.map +1 -1
- package/dist/cjs/{button-C5jDF-CZ.js → button-B0CduHSE.js} +4 -4
- package/dist/cjs/button-B0CduHSE.js.map +1 -0
- package/dist/cjs/{certification_request-Bipg1Az7.js → certification_request-DaJSDP3R.js} +50 -24
- package/dist/cjs/certification_request-DaJSDP3R.js.map +1 -0
- package/dist/cjs/cross-pi7K0cHC.js.map +1 -1
- package/dist/cjs/download-D9skkVoT.js.map +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{link-CwLq-Nge.js → link-kgbgxxVh.js} +4 -4
- package/dist/cjs/link-kgbgxxVh.js.map +1 -0
- package/dist/cjs/{miscellaneous-C0sOAo-1.js → miscellaneous-Ce9aGjKB.js} +23 -22
- package/dist/cjs/miscellaneous-Ce9aGjKB.js.map +1 -0
- package/dist/cjs/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.cjs.js.map +1 -1
- package/dist/cjs/peculiar-attribute-certificate-viewer_4.cjs.entry.js +8 -16
- package/dist/cjs/peculiar-attribute-certificate-viewer_4.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.cjs.js.map +1 -1
- package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +5 -11
- package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +12 -13
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificate-decoder.entry.cjs.js.map +1 -1
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +5 -7
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificate-viewer.entry.cjs.js.map +1 -1
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +47 -46
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificates-viewer.entry.cjs.js.map +1 -1
- package/dist/cjs/peculiar-text-hider.cjs.entry.js +2 -2
- package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-text-hider.entry.cjs.js.map +1 -1
- package/dist/cjs/{pkcs10_certificate_request-BDz0P_px.js → pkcs10_certificate_request-D13Ssi7Z.js} +3 -3
- package/dist/cjs/pkcs10_certificate_request-D13Ssi7Z.js.map +1 -0
- package/dist/cjs/read_file-DWtcn3zU.js.map +1 -1
- package/dist/cjs/{x509_certificate-DRvXOszL.js → x509_certificate-h5GZArG6.js} +6 -9
- package/dist/cjs/x509_certificate-h5GZArG6.js.map +1 -0
- package/dist/cjs/{x509_crl-DVGVym_S.js → x509_crl-CDPt6P1z.js} +6 -6
- package/dist/cjs/x509_crl-CDPt6P1z.js.map +1 -0
- package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +4 -6
- package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js.map +1 -1
- package/dist/collection/components/button/button.js +3 -3
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button/index.js.map +1 -1
- package/dist/collection/components/button-menu/button-menu.js +5 -7
- package/dist/collection/components/button-menu/button-menu.js.map +1 -1
- package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js +1 -2
- package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js.map +1 -1
- package/dist/collection/components/certificate-decoder/certificate-decoder.js +4 -1
- package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/index.js +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/index.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/name_part.js +1 -0
- package/dist/collection/components/certificate-details-parts/attributes/name_part.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/basic_information.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js.map +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/crl_distribution_points_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js +3 -3
- package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/index.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js +0 -1
- package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/holder.js +1 -1
- package/dist/collection/components/certificate-details-parts/holder.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/issuer.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/issuer_name.js +3 -1
- package/dist/collection/components/certificate-details-parts/issuer_name.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/miscellaneous.js +2 -2
- package/dist/collection/components/certificate-details-parts/miscellaneous.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/public_key.js +1 -1
- package/dist/collection/components/certificate-details-parts/public_key.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/revoked_certificates.js +3 -3
- package/dist/collection/components/certificate-details-parts/revoked_certificates.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/row.js +3 -3
- package/dist/collection/components/certificate-details-parts/row.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/signature.js +1 -1
- package/dist/collection/components/certificate-details-parts/signature.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/subject_name.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/thumbprints.js.map +1 -1
- package/dist/collection/components/certificate-summary/certificate-summary.js.map +1 -1
- package/dist/collection/components/certificate-viewer/certificate-viewer.js +5 -7
- package/dist/collection/components/certificate-viewer/certificate-viewer.js.map +1 -1
- package/dist/collection/components/certificates-viewer/certificates-viewer.js +44 -43
- package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -1
- package/dist/collection/components/circular-progress/circular-progress.js +2 -6
- package/dist/collection/components/circular-progress/circular-progress.js.map +1 -1
- package/dist/collection/components/crl-viewer/crl-viewer.js +4 -6
- package/dist/collection/components/crl-viewer/crl-viewer.js.map +1 -1
- package/dist/collection/components/csr-viewer/csr-viewer.js +4 -8
- package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -1
- package/dist/collection/components/highlight-words/highlight-words.js +1 -1
- package/dist/collection/components/highlight-words/highlight-words.js.map +1 -1
- package/dist/collection/components/icons/actions.js.map +1 -1
- package/dist/collection/components/icons/arrow_bottom.js.map +1 -1
- package/dist/collection/components/icons/arrow_top.js.map +1 -1
- package/dist/collection/components/icons/cross.js.map +1 -1
- package/dist/collection/components/icons/details.js.map +1 -1
- package/dist/collection/components/icons/download.js.map +1 -1
- package/dist/collection/components/icons/link.js.map +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/link/link.js.map +1 -1
- package/dist/collection/components/text-hider/text-hider.js +1 -1
- package/dist/collection/components/text-hider/text-hider.js.map +1 -1
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/constants/oids.js +21 -3
- package/dist/collection/constants/oids.js.map +1 -1
- package/dist/collection/crypto/asn_data.js +1 -1
- package/dist/collection/crypto/asn_data.js.map +1 -1
- package/dist/collection/crypto/attribute.js.map +1 -1
- package/dist/collection/crypto/extension.js.map +1 -1
- package/dist/collection/crypto/name.js.map +1 -1
- package/dist/collection/crypto/pem_converter.js +13 -8
- package/dist/collection/crypto/pem_converter.js.map +1 -1
- package/dist/collection/crypto/pkcs10_certificate_request.js.map +1 -1
- package/dist/collection/crypto/provider.js +7 -3
- package/dist/collection/crypto/provider.js.map +1 -1
- package/dist/collection/crypto/utils.js +1 -1
- package/dist/collection/crypto/utils.js.map +1 -1
- package/dist/collection/crypto/x509_attribute_certificate.js +2 -2
- package/dist/collection/crypto/x509_attribute_certificate.js.map +1 -1
- package/dist/collection/crypto/x509_certificate.js +3 -6
- package/dist/collection/crypto/x509_certificate.js.map +1 -1
- package/dist/collection/crypto/x509_certificates.js +3 -7
- package/dist/collection/crypto/x509_certificates.js.map +1 -1
- package/dist/collection/crypto/x509_crl.js.map +1 -1
- package/dist/collection/utils/download.js +1 -0
- package/dist/collection/utils/download.js.map +1 -1
- package/dist/collection/utils/download_from_buffer.js +3 -3
- package/dist/collection/utils/download_from_buffer.js.map +1 -1
- package/dist/collection/utils/l10n.js +1 -3
- package/dist/collection/utils/l10n.js.map +1 -1
- package/dist/collection/utils/read_file.js.map +1 -1
- package/dist/esm/actions-DzoPRObK.js.map +1 -1
- package/dist/esm/arrow_top-CF9pv-tQ.js.map +1 -1
- package/dist/esm/{button-Djn8UI82.js → button-Do0R_8PZ.js} +4 -4
- package/dist/esm/button-Do0R_8PZ.js.map +1 -0
- package/dist/esm/{certification_request-BTbyumBe.js → certification_request-DazysL_f.js} +50 -24
- package/dist/esm/certification_request-DazysL_f.js.map +1 -0
- package/dist/esm/cross-DdCuR1F2.js.map +1 -1
- package/dist/esm/download-Cqfc-Sxf.js.map +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{link-BfDk078v.js → link-qg3yKAoS.js} +4 -4
- package/dist/esm/link-qg3yKAoS.js.map +1 -0
- package/dist/esm/{miscellaneous-CGtCg3Q9.js → miscellaneous-BJPX0Hs_.js} +23 -22
- package/dist/esm/miscellaneous-BJPX0Hs_.js.map +1 -0
- package/dist/esm/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +1 -1
- package/dist/esm/peculiar-attribute-certificate-viewer_4.entry.js +8 -16
- package/dist/esm/peculiar-attribute-certificate-viewer_4.entry.js.map +1 -1
- package/dist/esm/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.entry.js.map +1 -1
- package/dist/esm/peculiar-button-menu_3.entry.js +5 -11
- package/dist/esm/peculiar-button-menu_3.entry.js.map +1 -1
- package/dist/esm/peculiar-certificate-decoder.entry.js +12 -13
- package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -1
- package/dist/esm/peculiar-certificate-viewer.entry.js +5 -7
- package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
- package/dist/esm/peculiar-certificates-viewer.entry.js +47 -46
- package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
- package/dist/esm/peculiar-text-hider.entry.js +2 -2
- package/dist/esm/peculiar-text-hider.entry.js.map +1 -1
- package/dist/esm/{pkcs10_certificate_request-CrA_WcgY.js → pkcs10_certificate_request-SQcYKma2.js} +3 -3
- package/dist/esm/pkcs10_certificate_request-SQcYKma2.js.map +1 -0
- package/dist/esm/read_file-F2F0McJX.js.map +1 -1
- package/dist/esm/{x509_certificate-DX7sKoAD.js → x509_certificate-Dmgw53TR.js} +6 -9
- package/dist/esm/x509_certificate-Dmgw53TR.js.map +1 -0
- package/dist/esm/{x509_crl-DRjoh8Yp.js → x509_crl-B5TRu79b.js} +6 -6
- package/dist/esm/x509_crl-B5TRu79b.js.map +1 -0
- package/dist/esm-es5/actions-DzoPRObK.js.map +1 -1
- package/dist/esm-es5/arrow_top-CF9pv-tQ.js.map +1 -1
- package/dist/esm-es5/{button-Djn8UI82.js → button-Do0R_8PZ.js} +2 -2
- package/dist/esm-es5/button-Do0R_8PZ.js.map +1 -0
- package/dist/esm-es5/{certification_request-BTbyumBe.js → certification_request-DazysL_f.js} +15 -15
- package/dist/esm-es5/certification_request-DazysL_f.js.map +1 -0
- package/dist/esm-es5/cross-DdCuR1F2.js.map +1 -1
- package/dist/esm-es5/download-Cqfc-Sxf.js.map +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{link-BfDk078v.js → link-qg3yKAoS.js} +3 -3
- package/dist/esm-es5/link-qg3yKAoS.js.map +1 -0
- package/dist/esm-es5/{miscellaneous-CGtCg3Q9.js → miscellaneous-BJPX0Hs_.js} +3 -3
- package/dist/esm-es5/miscellaneous-BJPX0Hs_.js.map +1 -0
- package/dist/esm-es5/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_4.entry.js +1 -1
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_4.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.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 +1 -1
- package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
- 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-text-hider.entry.js.map +1 -1
- package/dist/esm-es5/{pkcs10_certificate_request-CrA_WcgY.js → pkcs10_certificate_request-SQcYKma2.js} +2 -2
- package/dist/esm-es5/pkcs10_certificate_request-SQcYKma2.js.map +1 -0
- package/dist/esm-es5/read_file-F2F0McJX.js.map +1 -1
- package/dist/esm-es5/{x509_certificate-DX7sKoAD.js → x509_certificate-Dmgw53TR.js} +3 -3
- package/dist/esm-es5/x509_certificate-Dmgw53TR.js.map +1 -0
- package/dist/esm-es5/{x509_crl-DRjoh8Yp.js → x509_crl-B5TRu79b.js} +4 -4
- package/dist/esm-es5/x509_crl-B5TRu79b.js.map +1 -0
- package/dist/peculiar/index.esm.js +1 -1
- package/dist/peculiar/p--Pej0I-A.system.js.map +1 -0
- package/dist/peculiar/{p-CpTwQbPC.js → p-0HZUc9Ix.js} +3 -3
- package/dist/peculiar/p-0HZUc9Ix.js.map +1 -0
- package/dist/peculiar/p-15c2b820.entry.js +5 -0
- package/dist/peculiar/{p-f4490197.entry.js.map → p-15c2b820.entry.js.map} +1 -1
- package/dist/peculiar/{p-ab220e36.system.entry.js → p-16aa5600.system.entry.js} +2 -2
- package/dist/peculiar/p-16aa5600.system.entry.js.map +1 -0
- package/dist/peculiar/{p-e7266b0a.entry.js → p-1cbb0d6b.entry.js} +15 -15
- package/dist/peculiar/p-1cbb0d6b.entry.js.map +1 -0
- package/dist/peculiar/{p-85667993.entry.js → p-218364f2.entry.js} +2 -2
- package/dist/peculiar/p-218364f2.entry.js.map +1 -0
- package/dist/peculiar/{p-Bw_icgVx.js → p-3zhoLQno.js} +4 -4
- package/dist/peculiar/p-3zhoLQno.js.map +1 -0
- package/dist/peculiar/{p-73a75d1e.system.entry.js → p-44648a8e.system.entry.js} +3 -3
- package/dist/peculiar/p-44648a8e.system.entry.js.map +1 -0
- package/dist/peculiar/{p-092074e8.system.entry.js → p-52444a44.system.entry.js} +2 -2
- package/dist/peculiar/p-52444a44.system.entry.js.map +1 -0
- package/dist/peculiar/{p-c2a805b3.entry.js → p-5b843427.entry.js} +3 -3
- package/dist/peculiar/p-5b843427.entry.js.map +1 -0
- package/dist/peculiar/{p-12d2e080.entry.js → p-7b0e7f43.entry.js} +2 -2
- package/dist/peculiar/p-7b0e7f43.entry.js.map +1 -0
- package/dist/peculiar/p-B2YrZuK2.system.js.map +1 -1
- package/dist/peculiar/p-BA8os2l6.system.js.map +1 -0
- package/dist/peculiar/p-BAB4EyrL.system.js.map +1 -0
- package/dist/peculiar/{p-B7TxZGea.system.js → p-BBZwtkNN.system.js} +4 -4
- package/dist/peculiar/p-BBZwtkNN.system.js.map +1 -0
- package/dist/peculiar/p-BBgwMHRZ.system.js.map +1 -1
- package/dist/peculiar/p-BHBizfwo.js.map +1 -1
- package/dist/peculiar/{p-lnQq6VON.system.js → p-BKKflyKt.system.js} +5 -5
- package/dist/peculiar/p-BKKflyKt.system.js.map +1 -0
- package/dist/peculiar/p-BOSH9vjy.system.js.map +1 -1
- package/dist/peculiar/p-BP2bmYR2.system.js.map +1 -1
- package/dist/peculiar/p-BcFnjn1R.system.js.map +1 -0
- package/dist/peculiar/{p-vMACJe_C.system.js → p-BmIps4bV.system.js} +22 -22
- package/dist/peculiar/p-BmIps4bV.system.js.map +1 -0
- package/dist/peculiar/{p-B0CjUC4o.system.js → p-CDh6shXP.system.js} +9 -9
- package/dist/peculiar/p-CDh6shXP.system.js.map +1 -0
- package/dist/peculiar/{p-BisXzAqN.js → p-CEHpBNWe.js} +3 -3
- package/dist/peculiar/p-CEHpBNWe.js.map +1 -0
- package/dist/peculiar/{p-Ct0zEUB_.js → p-CJro0Exb.js} +12 -12
- package/dist/peculiar/p-CJro0Exb.js.map +1 -0
- package/dist/peculiar/p-CWs-Ocvt.system.js.map +1 -0
- package/dist/peculiar/p-CeKqQ13Z.js.map +1 -1
- package/dist/peculiar/{p-BCATfe_H.js → p-CkwiD_ia.js} +2 -2
- package/dist/peculiar/p-CkwiD_ia.js.map +1 -0
- package/dist/peculiar/{p-BRhx1gbw.system.js → p-Cm-ylIxb.system.js} +2 -2
- package/dist/peculiar/p-Cm-ylIxb.system.js.map +1 -0
- package/dist/peculiar/p-D2QB-8Q6.system.js.map +1 -1
- package/dist/peculiar/p-D5BWI7FK.system.js +1 -1
- package/dist/peculiar/p-DJRm54BZ.system.js.map +1 -0
- package/dist/peculiar/{p-DxdVL_Kj.system.js → p-DRoyzOgk.system.js} +3 -3
- package/dist/peculiar/p-DRoyzOgk.system.js.map +1 -0
- package/dist/peculiar/{p-BTbyumBe.js → p-DazysL_f.js} +9 -9
- package/dist/peculiar/p-DazysL_f.js.map +1 -0
- package/dist/peculiar/p-DhdG07f8.js.map +1 -1
- package/dist/peculiar/p-DkAhB3Vy.js.map +1 -1
- package/dist/peculiar/{p-4IvcYmU7.js → p-DzItK48Y.js} +4 -4
- package/dist/peculiar/p-DzItK48Y.js.map +1 -0
- package/dist/peculiar/p-F2F0McJX.js.map +1 -1
- package/dist/peculiar/{p-wgYkE8CV.system.js → p-YHrZ3f_s.system.js} +2 -2
- package/dist/peculiar/p-YHrZ3f_s.system.js.map +1 -0
- package/dist/peculiar/p-a3c0f753.system.entry.js +5 -0
- package/dist/peculiar/{p-cae95996.system.entry.js.map → p-a3c0f753.system.entry.js.map} +1 -1
- package/dist/peculiar/{p-80fc5538.entry.js → p-ab6a8a44.entry.js} +2 -2
- package/dist/peculiar/p-ab6a8a44.entry.js.map +1 -0
- package/dist/peculiar/{p-1af57833.system.entry.js → p-d16ddef8.system.entry.js} +2 -2
- package/dist/peculiar/p-d16ddef8.system.entry.js.map +1 -0
- package/dist/peculiar/{p-1b3855ec.system.entry.js → p-d9013293.system.entry.js} +16 -16
- package/dist/peculiar/p-d9013293.system.entry.js.map +1 -0
- package/dist/peculiar/{p-B859JpGw.system.js → p-wYK0iVYg.system.js} +2 -2
- package/dist/peculiar/p-wYK0iVYg.system.js.map +1 -0
- package/dist/peculiar/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.esm.js.map +1 -1
- package/dist/peculiar/peculiar-button-menu.peculiar-circular-progress.peculiar-highlight-words.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-text-hider.entry.esm.js.map +1 -1
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/dist/types/components/attribute-certificate-viewer/attribute-certificate-viewer.d.ts +3 -3
- package/dist/types/components/button/button.d.ts +2 -2
- package/dist/types/components/button/index.d.ts +1 -1
- package/dist/types/components/button-menu/button-menu.d.ts +5 -5
- package/dist/types/components/certificate-details-parts/miscellaneous.d.ts +2 -2
- package/dist/types/components/certificate-summary/certificate-summary.d.ts +2 -2
- package/dist/types/components/certificate-viewer/certificate-viewer.d.ts +3 -3
- package/dist/types/components/certificates-viewer/certificates-viewer.d.ts +3 -2
- package/dist/types/components/crl-viewer/crl-viewer.d.ts +3 -3
- package/dist/types/components/csr-viewer/csr-viewer.d.ts +3 -3
- package/dist/types/components/icons/actions.d.ts +2 -2
- package/dist/types/components/icons/arrow_bottom.d.ts +2 -2
- package/dist/types/components/icons/arrow_top.d.ts +2 -2
- package/dist/types/components/icons/cross.d.ts +2 -2
- package/dist/types/components/icons/details.d.ts +2 -2
- package/dist/types/components/icons/download.d.ts +2 -2
- package/dist/types/components/icons/link.d.ts +2 -2
- package/dist/types/components/link/link.d.ts +4 -4
- package/dist/types/components/typography/typography.d.ts +5 -5
- package/dist/types/components.d.ts +20 -20
- package/dist/types/constants/oids.d.ts +20 -3
- package/dist/types/crypto/asn_data.d.ts +1 -3
- package/dist/types/crypto/pem_converter.d.ts +7 -19
- package/dist/types/crypto/provider.d.ts +1 -6
- package/dist/types/interface.d.ts +3 -3
- package/dist/types/utils/l10n.d.ts +6 -6
- package/dist/types/utils/read_file.d.ts +7 -7
- package/hydrate/index.js +132 -124
- package/hydrate/index.mjs +132 -124
- package/package.json +2 -2
- package/dist/cjs/button-C5jDF-CZ.js.map +0 -1
- package/dist/cjs/certification_request-Bipg1Az7.js.map +0 -1
- package/dist/cjs/link-CwLq-Nge.js.map +0 -1
- package/dist/cjs/miscellaneous-C0sOAo-1.js.map +0 -1
- package/dist/cjs/pkcs10_certificate_request-BDz0P_px.js.map +0 -1
- package/dist/cjs/x509_certificate-DRvXOszL.js.map +0 -1
- package/dist/cjs/x509_crl-DVGVym_S.js.map +0 -1
- package/dist/esm/button-Djn8UI82.js.map +0 -1
- package/dist/esm/certification_request-BTbyumBe.js.map +0 -1
- package/dist/esm/link-BfDk078v.js.map +0 -1
- package/dist/esm/miscellaneous-CGtCg3Q9.js.map +0 -1
- package/dist/esm/pkcs10_certificate_request-CrA_WcgY.js.map +0 -1
- package/dist/esm/x509_certificate-DX7sKoAD.js.map +0 -1
- package/dist/esm/x509_crl-DRjoh8Yp.js.map +0 -1
- package/dist/esm-es5/button-Djn8UI82.js.map +0 -1
- package/dist/esm-es5/certification_request-BTbyumBe.js.map +0 -1
- package/dist/esm-es5/link-BfDk078v.js.map +0 -1
- package/dist/esm-es5/miscellaneous-CGtCg3Q9.js.map +0 -1
- package/dist/esm-es5/pkcs10_certificate_request-CrA_WcgY.js.map +0 -1
- package/dist/esm-es5/x509_certificate-DX7sKoAD.js.map +0 -1
- package/dist/esm-es5/x509_crl-DRjoh8Yp.js.map +0 -1
- package/dist/peculiar/p-092074e8.system.entry.js.map +0 -1
- package/dist/peculiar/p-12d2e080.entry.js.map +0 -1
- package/dist/peculiar/p-1af57833.system.entry.js.map +0 -1
- package/dist/peculiar/p-1b3855ec.system.entry.js.map +0 -1
- package/dist/peculiar/p-4IvcYmU7.js.map +0 -1
- package/dist/peculiar/p-73a75d1e.system.entry.js.map +0 -1
- package/dist/peculiar/p-7Nmqck4T.system.js.map +0 -1
- package/dist/peculiar/p-80fc5538.entry.js.map +0 -1
- package/dist/peculiar/p-85667993.entry.js.map +0 -1
- package/dist/peculiar/p-B0CjUC4o.system.js.map +0 -1
- package/dist/peculiar/p-B7TxZGea.system.js.map +0 -1
- package/dist/peculiar/p-B859JpGw.system.js.map +0 -1
- package/dist/peculiar/p-BCATfe_H.js.map +0 -1
- package/dist/peculiar/p-BRhx1gbw.system.js.map +0 -1
- package/dist/peculiar/p-BTbyumBe.js.map +0 -1
- package/dist/peculiar/p-BX9qW3ww.system.js.map +0 -1
- package/dist/peculiar/p-BbPo3hge.system.js.map +0 -1
- package/dist/peculiar/p-BisXzAqN.js.map +0 -1
- package/dist/peculiar/p-Bw_icgVx.js.map +0 -1
- package/dist/peculiar/p-C_7Koml8.system.js.map +0 -1
- package/dist/peculiar/p-CpTwQbPC.js.map +0 -1
- package/dist/peculiar/p-Ct0zEUB_.js.map +0 -1
- package/dist/peculiar/p-DxdVL_Kj.system.js.map +0 -1
- package/dist/peculiar/p-FVz6FuoZ.system.js.map +0 -1
- package/dist/peculiar/p-RW7UbzcZ.system.js.map +0 -1
- package/dist/peculiar/p-ab220e36.system.entry.js.map +0 -1
- package/dist/peculiar/p-c2a805b3.entry.js.map +0 -1
- package/dist/peculiar/p-cae95996.system.entry.js +0 -5
- package/dist/peculiar/p-e7266b0a.entry.js.map +0 -1
- package/dist/peculiar/p-f4490197.entry.js +0 -5
- package/dist/peculiar/p-lnQq6VON.system.js.map +0 -1
- package/dist/peculiar/p-vMACJe_C.system.js.map +0 -1
- package/dist/peculiar/p-wgYkE8CV.system.js.map +0 -1
package/hydrate/index.mjs
CHANGED
|
@@ -9542,9 +9542,7 @@ var en = {
|
|
|
9542
9542
|
* This source code is licensed under the MIT license found in the
|
|
9543
9543
|
* LICENSE file in the root directory of this source tree.
|
|
9544
9544
|
*/
|
|
9545
|
-
const MESSAGES_ALL = {
|
|
9546
|
-
en,
|
|
9547
|
-
};
|
|
9545
|
+
const MESSAGES_ALL = { en };
|
|
9548
9546
|
class Localization {
|
|
9549
9547
|
constructor() {
|
|
9550
9548
|
this.setLocale = (locale) => {
|
|
@@ -9594,9 +9592,9 @@ const l10n = new Localization();
|
|
|
9594
9592
|
*/
|
|
9595
9593
|
function downloadFromBuffer(value, name, extension, mime = 'application/octet-stream') {
|
|
9596
9594
|
const blob = new Blob([value], { type: mime });
|
|
9597
|
-
// @ts-
|
|
9598
|
-
if (navigator.msSaveBlob) {
|
|
9599
|
-
// @ts-
|
|
9595
|
+
// @ts-expect-error - IE10+ : (has Blob, but not a[download] or URL)
|
|
9596
|
+
if (navigator.msSaveBlob) {
|
|
9597
|
+
// @ts-expect-error - IE10+ : (has Blob, but not a[download] or URL)
|
|
9600
9598
|
navigator.msSaveBlob(blob, `${name}.${extension}`);
|
|
9601
9599
|
return new Promise((resolve) => {
|
|
9602
9600
|
setTimeout(resolve, 100);
|
|
@@ -9630,6 +9628,7 @@ function downloadFromBuffer(value, name, extension, mime = 'application/octet-st
|
|
|
9630
9628
|
* This source code is licensed under the MIT license found in the
|
|
9631
9629
|
* LICENSE file in the root directory of this source tree.
|
|
9632
9630
|
*/
|
|
9631
|
+
// eslint-disable-next-line @typescript-eslint/no-extraneous-class
|
|
9633
9632
|
class Download {
|
|
9634
9633
|
}
|
|
9635
9634
|
Download.cert = {
|
|
@@ -10913,6 +10912,7 @@ const OIDs = {
|
|
|
10913
10912
|
'1.3.6.1.4.1.40869.1.1.22.3': 'TWCAEV policy',
|
|
10914
10913
|
'1.3.6.1.4.1.13177.10.1.2.2': 'Corporate certificates for Natural Person',
|
|
10915
10914
|
'1.3.6.1.4.1.37476.9000.64.1': 'Smallstep CA Provisioner ID',
|
|
10915
|
+
'1.3.6.1.5.2.3.4': 'KP Client Authentication',
|
|
10916
10916
|
'1.3.6.1.5.2.3.5': 'KCD Authentication',
|
|
10917
10917
|
'1.3.6.1.5.5.7': 'PKIX',
|
|
10918
10918
|
'1.3.6.1.5.5.7.0.12': 'Attribute Cert',
|
|
@@ -10949,6 +10949,7 @@ const OIDs = {
|
|
|
10949
10949
|
'1.3.6.1.5.5.7.3.11': 'Sbgp Cert AA Server Auth',
|
|
10950
10950
|
'1.3.6.1.5.5.7.3.13': 'Eap Over PPP',
|
|
10951
10951
|
'1.3.6.1.5.5.7.3.14': 'Eap Over LAN',
|
|
10952
|
+
'1.3.6.1.5.5.7.3.21': 'Secure Shell Client',
|
|
10952
10953
|
'1.3.6.1.5.5.7.3.31': 'Brand Indicator for Message Identification',
|
|
10953
10954
|
'1.3.6.1.5.5.7.3.46': 'Document Signing',
|
|
10954
10955
|
'1.3.6.1.5.5.7.4': 'Cmp Information Types',
|
|
@@ -11681,6 +11682,7 @@ const OIDs = {
|
|
|
11681
11682
|
'2.16.840.1.101.3.2.1.3.3': 'FBCA Medium Policy',
|
|
11682
11683
|
'2.16.840.1.101.3.2.1.3.4': 'FBCA High Policy',
|
|
11683
11684
|
'2.16.840.1.101.3.2.1.3.12': 'FBCA Medium Hardware Policy',
|
|
11685
|
+
'2.16.840.1.101.3.2.1.3.13': 'FPKI Common Authentication Policy',
|
|
11684
11686
|
'2.16.840.1.101.3.2.1.48.1': 'Nist Test Policy1',
|
|
11685
11687
|
'2.16.840.1.101.3.2.1.48.2': 'Nist Test Policy2',
|
|
11686
11688
|
'2.16.840.1.101.3.2.1.48.3': 'Nist Test Policy3',
|
|
@@ -11729,9 +11731,8 @@ const OIDs = {
|
|
|
11729
11731
|
'2.16.840.1.101.3.4.2.4': 'SHA-224',
|
|
11730
11732
|
'2.16.840.1.101.3.4.3.1': 'DSA with Sha224',
|
|
11731
11733
|
'2.16.840.1.101.3.4.3.2': 'DSA with Sha256',
|
|
11732
|
-
'2.16.840.1.101.3.
|
|
11733
|
-
'2.16.840.1.101.3.
|
|
11734
|
-
'2.16.840.1.101.3.4.3.19': 'ML-DSA-87',
|
|
11734
|
+
'2.16.840.1.101.3.6.9.1': 'Personal Identity Verification (PIV) National Agency Check with Inquiries (NACI) indicator',
|
|
11735
|
+
'2.16.840.1.101.3.6.6': 'FASC-N',
|
|
11735
11736
|
'2.16.840.1.113719.1.2.8': 'Novell Algorithm',
|
|
11736
11737
|
'2.16.840.1.113719.1.2.8.22': 'DES Cbc IV8',
|
|
11737
11738
|
'2.16.840.1.113719.1.2.8.23': 'DES Cbc Pad IV8',
|
|
@@ -12015,6 +12016,22 @@ const OIDs = {
|
|
|
12015
12016
|
'2.23.140.1.31': 'CA/B Forum Onion EV',
|
|
12016
12017
|
'2.23.140.2.1': 'CA/B Forum Test Certificate',
|
|
12017
12018
|
'2.23.140.3.1': 'CA/B Forum Organization Identifier',
|
|
12019
|
+
// https://github.com/IETF-Hackathon/pqc-certificates/blob/master/docs/oid_mapping.md
|
|
12020
|
+
'2.16.840.1.101.3.4.3.17': 'ML-DSA-44',
|
|
12021
|
+
'2.16.840.1.101.3.4.3.18': 'ML-DSA-65',
|
|
12022
|
+
'2.16.840.1.101.3.4.3.19': 'ML-DSA-87',
|
|
12023
|
+
'2.16.840.1.101.3.4.3.20': 'SLH-DSA-SHA2-128s',
|
|
12024
|
+
'2.16.840.1.101.3.4.3.21': 'SLH-DSA-SHA2-128f',
|
|
12025
|
+
'2.16.840.1.101.3.4.3.22': 'SLH-DSA-SHA2-192s',
|
|
12026
|
+
'2.16.840.1.101.3.4.3.23': 'SLH-DSA-SHA2-192f',
|
|
12027
|
+
'2.16.840.1.101.3.4.3.24': 'SLH-DSA-SHA2-256s',
|
|
12028
|
+
'2.16.840.1.101.3.4.3.25': 'SLH-DSA-SHA2-256f',
|
|
12029
|
+
'2.16.840.1.101.3.4.3.26': 'SLH-DSA-SHAKE-128s',
|
|
12030
|
+
'2.16.840.1.101.3.4.3.27': 'SLH-DSA-SHAKE-128f',
|
|
12031
|
+
'2.16.840.1.101.3.4.3.28': 'SLH-DSA-SHAKE-192f',
|
|
12032
|
+
'2.16.840.1.101.3.4.3.29': 'SLH-DSA-SHAKE-256s',
|
|
12033
|
+
'2.16.840.1.101.3.4.3.30': 'SLH-DSA-SHAKE-256f',
|
|
12034
|
+
'2.16.840.1.101.3.4.3.31': 'SLH-DSA-SHAKE-256f',
|
|
12018
12035
|
};
|
|
12019
12036
|
|
|
12020
12037
|
/**
|
|
@@ -13652,12 +13669,12 @@ var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) ||
|
|
|
13652
13669
|
};
|
|
13653
13670
|
var _AsnData_asn, _AsnData_raw;
|
|
13654
13671
|
class AsnData {
|
|
13672
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
13655
13673
|
constructor(...args) {
|
|
13656
13674
|
_AsnData_asn.set(this, void 0);
|
|
13657
13675
|
_AsnData_raw.set(this, void 0);
|
|
13658
13676
|
if (args.length === 1) {
|
|
13659
13677
|
// asn
|
|
13660
|
-
// eslint-disable-next-line prefer-destructuring
|
|
13661
13678
|
__classPrivateFieldSet(this, _AsnData_asn, args[0], "f");
|
|
13662
13679
|
__classPrivateFieldSet(this, _AsnData_raw, AsnConvert.serialize(__classPrivateFieldGet(this, _AsnData_asn, "f")), "f");
|
|
13663
13680
|
}
|
|
@@ -13772,13 +13789,13 @@ const rPem = `${rBeginTag}${rEolGroup}(?:((?:${rHeaderKey}: ${rHeaderValue})+))?
|
|
|
13772
13789
|
/**
|
|
13773
13790
|
* Represents PEM Converter.
|
|
13774
13791
|
*/
|
|
13792
|
+
// eslint-disable-next-line @typescript-eslint/no-extraneous-class
|
|
13775
13793
|
class PemConverter {
|
|
13776
13794
|
static isPem(data) {
|
|
13777
13795
|
return typeof data === 'string'
|
|
13778
|
-
&& new RegExp(rPem, 'g').test(data);
|
|
13796
|
+
&& new RegExp(rPem, 'g').test(data.replace(/\r/g, ''));
|
|
13779
13797
|
}
|
|
13780
13798
|
static decodeWithHeaders(pem) {
|
|
13781
|
-
// eslint-disable-next-line no-param-reassign
|
|
13782
13799
|
pem = pem.replace(/\r/g, ''); // CRLF -> LF
|
|
13783
13800
|
const pattern = new RegExp(rPem, 'g');
|
|
13784
13801
|
const res = [];
|
|
@@ -13798,7 +13815,6 @@ class PemConverter {
|
|
|
13798
13815
|
if (headersString) {
|
|
13799
13816
|
const headers = headersString.split(new RegExp(rEolGroup, 'g'));
|
|
13800
13817
|
let lastHeader = null;
|
|
13801
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
13802
13818
|
for (const header of headers) {
|
|
13803
13819
|
const [key, value] = header.split(/:(.*)/);
|
|
13804
13820
|
if (value === undefined) {
|
|
@@ -13813,7 +13829,9 @@ class PemConverter {
|
|
|
13813
13829
|
if (lastHeader) {
|
|
13814
13830
|
pemStruct.headers.push(lastHeader);
|
|
13815
13831
|
}
|
|
13816
|
-
lastHeader = {
|
|
13832
|
+
lastHeader = {
|
|
13833
|
+
key, value: value.trim(),
|
|
13834
|
+
};
|
|
13817
13835
|
}
|
|
13818
13836
|
}
|
|
13819
13837
|
// add last header
|
|
@@ -13833,6 +13851,11 @@ class PemConverter {
|
|
|
13833
13851
|
const blocks = this.decodeWithHeaders(pem);
|
|
13834
13852
|
return blocks.map((o) => o.rawData);
|
|
13835
13853
|
}
|
|
13854
|
+
/**
|
|
13855
|
+
* Encodes a list of raws in PEM format
|
|
13856
|
+
* @param raws A list of raws
|
|
13857
|
+
* @param tag PEM tag
|
|
13858
|
+
*/
|
|
13836
13859
|
static encode(rawData, tag) {
|
|
13837
13860
|
if (Array.isArray(rawData)) {
|
|
13838
13861
|
const raws = new Array();
|
|
@@ -13849,10 +13872,10 @@ class PemConverter {
|
|
|
13849
13872
|
});
|
|
13850
13873
|
}
|
|
13851
13874
|
else {
|
|
13852
|
-
// encode
|
|
13875
|
+
// encode IPemStruct[]
|
|
13853
13876
|
rawData.forEach((element) => {
|
|
13854
13877
|
if (!('type' in element)) {
|
|
13855
|
-
throw new TypeError('Cannot encode array of
|
|
13878
|
+
throw new TypeError('Cannot encode array of IPemStruct in PEM format. Not all items of the array are PemStrut');
|
|
13856
13879
|
}
|
|
13857
13880
|
raws.push(this.encodeStruct(element));
|
|
13858
13881
|
});
|
|
@@ -13860,7 +13883,7 @@ class PemConverter {
|
|
|
13860
13883
|
return raws.join('\n');
|
|
13861
13884
|
}
|
|
13862
13885
|
if (!tag) {
|
|
13863
|
-
throw new Error(
|
|
13886
|
+
throw new Error('Required argument \'tag\' is missed');
|
|
13864
13887
|
}
|
|
13865
13888
|
return this.encodeStruct({
|
|
13866
13889
|
type: tag,
|
|
@@ -13878,7 +13901,6 @@ class PemConverter {
|
|
|
13878
13901
|
const res = [];
|
|
13879
13902
|
res.push(`-----BEGIN ${upperCaseType}-----`);
|
|
13880
13903
|
if ((_a = pem.headers) === null || _a === void 0 ? void 0 : _a.length) {
|
|
13881
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
13882
13904
|
for (const header of pem.headers) {
|
|
13883
13905
|
res.push(`${header.key}: ${header.value}`);
|
|
13884
13906
|
}
|
|
@@ -13925,16 +13947,20 @@ PemConverter.AttributeCertificateTag = 'ATTRIBUTE CERTIFICATE';
|
|
|
13925
13947
|
*/
|
|
13926
13948
|
class CryptoProvider {
|
|
13927
13949
|
static isCryptoKeyPair(data) {
|
|
13928
|
-
return data && data
|
|
13950
|
+
return data && typeof data === 'object' && 'privateKey' in data && 'publicKey' in data;
|
|
13929
13951
|
}
|
|
13930
13952
|
constructor() {
|
|
13931
13953
|
this.providers = new Map();
|
|
13932
|
-
// @ts-
|
|
13954
|
+
// @ts-expect-error - window.crypto is not typed
|
|
13933
13955
|
const crypto = window.crypto || window.msCrypto;
|
|
13934
13956
|
if (typeof crypto !== 'undefined') {
|
|
13935
13957
|
this.set(CryptoProvider.DEFAULT, crypto);
|
|
13936
13958
|
}
|
|
13937
13959
|
}
|
|
13960
|
+
/**
|
|
13961
|
+
* Returns crypto by name
|
|
13962
|
+
* @param key Crypto name
|
|
13963
|
+
*/
|
|
13938
13964
|
get(key = CryptoProvider.DEFAULT) {
|
|
13939
13965
|
const crypto = this.providers.get(key.toLowerCase());
|
|
13940
13966
|
if (!crypto) {
|
|
@@ -13945,7 +13971,7 @@ class CryptoProvider {
|
|
|
13945
13971
|
set(key, value) {
|
|
13946
13972
|
if (typeof key === 'string') {
|
|
13947
13973
|
if (!value) {
|
|
13948
|
-
throw new TypeError(
|
|
13974
|
+
throw new TypeError('Argument \'value\' is required');
|
|
13949
13975
|
}
|
|
13950
13976
|
this.providers.set(key.toLowerCase(), value);
|
|
13951
13977
|
}
|
|
@@ -13978,7 +14004,7 @@ const certificateRawToBuffer = (raw) => {
|
|
|
13978
14004
|
if (Convert.isBase64Url(raw)) {
|
|
13979
14005
|
return Convert.FromBase64Url(raw);
|
|
13980
14006
|
}
|
|
13981
|
-
|
|
14007
|
+
return Convert.FromBinary(raw);
|
|
13982
14008
|
};
|
|
13983
14009
|
const getCertificateThumbprint = async (algorithm, data) => {
|
|
13984
14010
|
const crypto = cryptoProvider.get();
|
|
@@ -14009,13 +14035,13 @@ class X509Certificate extends AsnData {
|
|
|
14009
14035
|
const notBefore = tbsCertificate.validity.notBefore.utcTime
|
|
14010
14036
|
|| tbsCertificate.validity.notBefore.generalTime;
|
|
14011
14037
|
if (!notBefore) {
|
|
14012
|
-
throw new Error(
|
|
14038
|
+
throw new Error('Cannot get \'notBefore\' value');
|
|
14013
14039
|
}
|
|
14014
14040
|
this.notBefore = notBefore;
|
|
14015
14041
|
const notAfter = tbsCertificate.validity.notAfter.utcTime
|
|
14016
14042
|
|| tbsCertificate.validity.notAfter.generalTime;
|
|
14017
14043
|
if (!notAfter) {
|
|
14018
|
-
throw new Error(
|
|
14044
|
+
throw new Error('Cannot get \'notAfter\' value');
|
|
14019
14045
|
}
|
|
14020
14046
|
this.notAfter = notAfter;
|
|
14021
14047
|
this.validity = dateDiff(this.notBefore, this.notAfter);
|
|
@@ -14093,10 +14119,7 @@ class X509Certificate extends AsnData {
|
|
|
14093
14119
|
}
|
|
14094
14120
|
for (let i = 0; i < this.issuer.length; i += 1) {
|
|
14095
14121
|
const name = this.issuer[i];
|
|
14096
|
-
if (name.shortName === 'CN') {
|
|
14097
|
-
return name.value;
|
|
14098
|
-
}
|
|
14099
|
-
if (name.shortName === 'E') {
|
|
14122
|
+
if (name.shortName === 'CN' || name.shortName === 'E' || name.shortName === 'O') {
|
|
14100
14123
|
return name.value;
|
|
14101
14124
|
}
|
|
14102
14125
|
}
|
|
@@ -15754,12 +15777,12 @@ class X509AttributeCertificate extends AsnData {
|
|
|
15754
15777
|
this.version = acinfo.version;
|
|
15755
15778
|
const notBefore = acinfo.attrCertValidityPeriod.notBeforeTime;
|
|
15756
15779
|
if (!notBefore) {
|
|
15757
|
-
throw new Error(
|
|
15780
|
+
throw new Error('Cannot get \'notBefore\' value');
|
|
15758
15781
|
}
|
|
15759
15782
|
this.notBefore = notBefore;
|
|
15760
15783
|
const notAfter = acinfo.attrCertValidityPeriod.notAfterTime;
|
|
15761
15784
|
if (!notAfter) {
|
|
15762
|
-
throw new Error(
|
|
15785
|
+
throw new Error('Cannot get \'notAfter\' value');
|
|
15763
15786
|
}
|
|
15764
15787
|
this.notAfter = notAfter;
|
|
15765
15788
|
this.validity = dateDiff(this.notBefore, this.notAfter);
|
|
@@ -16055,7 +16078,6 @@ class X509Certificates extends Array {
|
|
|
16055
16078
|
if (rawItems.length < 2) {
|
|
16056
16079
|
throw new Error('Unable to parse string. The array of elements is less than 2');
|
|
16057
16080
|
}
|
|
16058
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
16059
16081
|
for (const item of rawItems) {
|
|
16060
16082
|
this.push(new X509Certificate(item));
|
|
16061
16083
|
}
|
|
@@ -16069,12 +16091,9 @@ class X509Certificates extends Array {
|
|
|
16069
16091
|
const signedData = new SignedData();
|
|
16070
16092
|
signedData.version = 1;
|
|
16071
16093
|
signedData.encapContentInfo.eContentType = id_data;
|
|
16072
|
-
signedData.encapContentInfo.eContent = new EncapsulatedContent({
|
|
16073
|
-
|
|
16074
|
-
|
|
16075
|
-
signedData.certificates = new CertificateSet(Array.from(this).map((o) => new CertificateChoices({
|
|
16076
|
-
certificate: AsnConvert.parse(o.raw, Certificate),
|
|
16077
|
-
})));
|
|
16094
|
+
signedData.encapContentInfo.eContent = new EncapsulatedContent({ single: new OctetString() });
|
|
16095
|
+
signedData.certificates = new CertificateSet(Array.from(this)
|
|
16096
|
+
.map((o) => new CertificateChoices({ certificate: AsnConvert.parse(o.raw, Certificate) })));
|
|
16078
16097
|
const cms = new ContentInfo({
|
|
16079
16098
|
contentType: id_signedData,
|
|
16080
16099
|
content: AsnConvert.serialize(signedData),
|
|
@@ -16182,7 +16201,7 @@ const Typography = (props, children) => {
|
|
|
16182
16201
|
const Link = (props, children) => {
|
|
16183
16202
|
const { href, variant, } = props;
|
|
16184
16203
|
return (hAsync(Typography, { component: "a", variant: variant, color: "secondary",
|
|
16185
|
-
// @ts-
|
|
16204
|
+
// @ts-expect-error - href is a string
|
|
16186
16205
|
href: href, target: "_blank", rel: "noreferrer noopener" }, children));
|
|
16187
16206
|
};
|
|
16188
16207
|
|
|
@@ -16229,11 +16248,11 @@ const RowValue = (props) => {
|
|
|
16229
16248
|
return (hAsync("tr", null,
|
|
16230
16249
|
hAsync("td", { colSpan: hasValue ? 1 : 2 },
|
|
16231
16250
|
hAsync(Typography, { variant: "b2", color: "gray-9" }, name)),
|
|
16232
|
-
hasValue && (hAsync("td", { class: {
|
|
16233
|
-
|
|
16234
|
-
|
|
16235
|
-
|
|
16236
|
-
|
|
16251
|
+
hasValue && (hAsync("td", { class: { monospace } }, (isLink(value.toString()) || href)
|
|
16252
|
+
? (hAsync(Link, { variant: "b2", href: href || value.toString() }, value))
|
|
16253
|
+
: (hAsync(Typography, { variant: "b2", color: "black" },
|
|
16254
|
+
elementValue,
|
|
16255
|
+
extraValue))))));
|
|
16237
16256
|
};
|
|
16238
16257
|
|
|
16239
16258
|
/**
|
|
@@ -16330,7 +16349,9 @@ const IssuerName = (props) => {
|
|
|
16330
16349
|
const { name, issuerDnLink } = props;
|
|
16331
16350
|
const title = l10n.getString('issuerName');
|
|
16332
16351
|
return [
|
|
16333
|
-
hAsync(RowTitle, { value: issuerDnLink
|
|
16352
|
+
hAsync(RowTitle, { value: issuerDnLink
|
|
16353
|
+
? (hAsync(Link, { href: issuerDnLink }, title))
|
|
16354
|
+
: title }),
|
|
16334
16355
|
name.map((n) => (hAsync(RowValue, { name: n.name || n.type, value: n.value }))),
|
|
16335
16356
|
];
|
|
16336
16357
|
};
|
|
@@ -16452,7 +16473,7 @@ const ExtendedKeyUsageExtension = (props) => {
|
|
|
16452
16473
|
* LICENSE file in the root directory of this source tree.
|
|
16453
16474
|
*/
|
|
16454
16475
|
const SubjectKeyIdentifierExtension = (props) => {
|
|
16455
|
-
const { extension, getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink } = props;
|
|
16476
|
+
const { extension, getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink, } = props;
|
|
16456
16477
|
const keyId = Convert.ToHex(extension.value.buffer);
|
|
16457
16478
|
const childrenLink = getSubjectKeyIdChildrenLink(keyId);
|
|
16458
16479
|
const siblingsLink = getSubjectKeyIdSiblingsLink(keyId);
|
|
@@ -16477,7 +16498,7 @@ const SubjectKeyIdentifierExtension = (props) => {
|
|
|
16477
16498
|
* LICENSE file in the root directory of this source tree.
|
|
16478
16499
|
*/
|
|
16479
16500
|
const AuthorityKeyIdentifierExtension = (props) => {
|
|
16480
|
-
const { extension, getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink } = props;
|
|
16501
|
+
const { extension, getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink, } = props;
|
|
16481
16502
|
const keyId = Convert.ToHex(extension.value.keyIdentifier.buffer);
|
|
16482
16503
|
const parentLink = getAuthKeyIdParentLink(keyId);
|
|
16483
16504
|
const siblingsLink = getAuthKeyIdSiblingsLink(keyId);
|
|
@@ -16513,7 +16534,7 @@ const names = {
|
|
|
16513
16534
|
registeredID: 'Registered ID',
|
|
16514
16535
|
};
|
|
16515
16536
|
const GeneralNamePart = (props) => {
|
|
16516
|
-
const { generalName, getDNSNameLink, getIPAddressLink } = props;
|
|
16537
|
+
const { generalName, getDNSNameLink, getIPAddressLink, } = props;
|
|
16517
16538
|
if (!generalName) {
|
|
16518
16539
|
return null;
|
|
16519
16540
|
}
|
|
@@ -16530,7 +16551,7 @@ const GeneralNamePart = (props) => {
|
|
|
16530
16551
|
const text = AsnParser.parse(value.value, DisplayText);
|
|
16531
16552
|
return (hAsync(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.toString() }));
|
|
16532
16553
|
}
|
|
16533
|
-
catch (
|
|
16554
|
+
catch (_a) {
|
|
16534
16555
|
//
|
|
16535
16556
|
}
|
|
16536
16557
|
try {
|
|
@@ -16539,7 +16560,7 @@ const GeneralNamePart = (props) => {
|
|
|
16539
16560
|
return (hAsync(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.explicitText.toString() }));
|
|
16540
16561
|
}
|
|
16541
16562
|
}
|
|
16542
|
-
catch (
|
|
16563
|
+
catch (_b) {
|
|
16543
16564
|
//
|
|
16544
16565
|
}
|
|
16545
16566
|
return (hAsync(RowValue, { name: OIDs[value.typeId] || value.typeId, value: Convert.ToHex(value.value), monospace: true }));
|
|
@@ -17269,7 +17290,6 @@ const CRLNumberExtension = (props) => {
|
|
|
17269
17290
|
* This source code is licensed under the MIT license found in the
|
|
17270
17291
|
* LICENSE file in the root directory of this source tree.
|
|
17271
17292
|
*/
|
|
17272
|
-
// eslint-disable-next-line max-len
|
|
17273
17293
|
const IssuingDistributionPointExtension = (props) => {
|
|
17274
17294
|
var _a;
|
|
17275
17295
|
const { extension } = props;
|
|
@@ -17327,14 +17347,14 @@ const KeyDescriptionExtension = (props) => {
|
|
|
17327
17347
|
];
|
|
17328
17348
|
}
|
|
17329
17349
|
}
|
|
17330
|
-
catch (
|
|
17350
|
+
catch (_a) {
|
|
17331
17351
|
//
|
|
17332
17352
|
}
|
|
17333
17353
|
}
|
|
17334
17354
|
try {
|
|
17335
17355
|
value = Convert.ToString(keyValue);
|
|
17336
17356
|
}
|
|
17337
|
-
catch (
|
|
17357
|
+
catch (_b) {
|
|
17338
17358
|
value = Convert.ToHex(keyValue);
|
|
17339
17359
|
}
|
|
17340
17360
|
break;
|
|
@@ -17497,7 +17517,7 @@ const Extensions = (props) => {
|
|
|
17497
17517
|
}
|
|
17498
17518
|
return (hAsync(BasicExtension, { extension: extension }));
|
|
17499
17519
|
}
|
|
17500
|
-
catch (
|
|
17520
|
+
catch (_a) {
|
|
17501
17521
|
console.error('Error render extension:', extension.asn.extnID);
|
|
17502
17522
|
return null;
|
|
17503
17523
|
}
|
|
@@ -17530,6 +17550,7 @@ const BasicAttribute = (props, children) => {
|
|
|
17530
17550
|
* This source code is licensed under the MIT license found in the
|
|
17531
17551
|
* LICENSE file in the root directory of this source tree.
|
|
17532
17552
|
*/
|
|
17553
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
17533
17554
|
const NamePart = (props) => {
|
|
17534
17555
|
const { name } = props;
|
|
17535
17556
|
if (!name) {
|
|
@@ -17731,7 +17752,7 @@ const Attributes = (props) => {
|
|
|
17731
17752
|
}
|
|
17732
17753
|
return (hAsync(BasicAttribute, { attribute: attribute }));
|
|
17733
17754
|
}
|
|
17734
|
-
catch (
|
|
17755
|
+
catch (_a) {
|
|
17735
17756
|
console.error('Error render attribute:', attribute.asn.type);
|
|
17736
17757
|
return null;
|
|
17737
17758
|
}
|
|
@@ -17750,12 +17771,12 @@ const Button = (props, children) => {
|
|
|
17750
17771
|
const { href, class: classProp, startIcon, onClick, } = props;
|
|
17751
17772
|
const isLink = !!href;
|
|
17752
17773
|
const TagType = isLink ? 'a' : 'button';
|
|
17753
|
-
return (hAsync(TagType, { type: !isLink && 'button', href: isLink && href, target: isLink && '_blank', rel: isLink && 'noreferrer noopener',
|
|
17774
|
+
return (hAsync(TagType, { type: !isLink && 'button', href: isLink && href, target: isLink && '_blank', rel: isLink && 'noreferrer noopener', class: {
|
|
17754
17775
|
button: true,
|
|
17755
17776
|
// eslint-disable-next-line react/destructuring-assignment
|
|
17756
17777
|
m_no_padding: children.length === 0,
|
|
17757
17778
|
[classProp]: Boolean(classProp),
|
|
17758
|
-
} },
|
|
17779
|
+
}, onClick: onClick },
|
|
17759
17780
|
startIcon,
|
|
17760
17781
|
children.length > 0 && (hAsync(Typography, { variant: "b3", color: "black", component: "span" }, children))));
|
|
17761
17782
|
};
|
|
@@ -17864,10 +17885,10 @@ const Miscellaneous = (props) => {
|
|
|
17864
17885
|
hAsync(RowTitle, { value: l10n.getString('miscellaneous') }),
|
|
17865
17886
|
hAsync("tr", null,
|
|
17866
17887
|
hAsync("td", null,
|
|
17867
|
-
hAsync(Button, { onClick: () => certificate.downloadAsPEM()
|
|
17888
|
+
hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsPEM() }, l10n.getString('download.pem')))),
|
|
17868
17889
|
hAsync("tr", null,
|
|
17869
17890
|
hAsync("td", null,
|
|
17870
|
-
hAsync(Button, { onClick: () => certificate.downloadAsDER()
|
|
17891
|
+
hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsDER() }, l10n.getString('download.der')))),
|
|
17871
17892
|
];
|
|
17872
17893
|
};
|
|
17873
17894
|
|
|
@@ -18048,11 +18069,9 @@ class AttributeCertificateViewer {
|
|
|
18048
18069
|
}
|
|
18049
18070
|
}
|
|
18050
18071
|
}
|
|
18051
|
-
// eslint-disable-next-line class-methods-use-this
|
|
18052
18072
|
renderErrorState() {
|
|
18053
18073
|
return (hAsync("div", { class: "status_wrapper" }, hAsync(Typography, null, "There was an error decoding this attribute certificate.")));
|
|
18054
18074
|
}
|
|
18055
|
-
// eslint-disable-next-line class-methods-use-this
|
|
18056
18075
|
renderEmptyState() {
|
|
18057
18076
|
return (hAsync("div", { class: "status_wrapper" }, hAsync(Typography, null, "There is no attribute certificate available.")));
|
|
18058
18077
|
}
|
|
@@ -18101,9 +18120,7 @@ class ButtonMenu {
|
|
|
18101
18120
|
};
|
|
18102
18121
|
}
|
|
18103
18122
|
render() {
|
|
18104
|
-
return (hAsync(Host, { key: '
|
|
18105
|
-
is_shown: this.open,
|
|
18106
|
-
} }, hAsync(Button, { key: '00b7864c569169633c30a69f26185891ba9c39d1', class: "button_popover", onClick: this.handleClick, startIcon: hAsync(ActionsIcon, null) }), hAsync("div", { key: 'afe0500732f053c8b22c65ec11bd2010546fc5e6', role: "dialog", tabIndex: -1, class: "popover", "aria-hidden": String(this.open) }, this.groups.map((group) => (hAsync("div", { class: "group" }, hAsync(Typography, { variant: "c2", color: "gray-9", class: "group_title" }, group.title), group.options.map((option) => (hAsync(Button, { class: "button_option", startIcon: option.startIcon, href: option.href, onClick: (event) => {
|
|
18123
|
+
return (hAsync(Host, { key: '66dd03eaa8d6e1f6dee3d9782390e094c5804b4a', class: { is_shown: this.open } }, hAsync(Button, { key: 'ba4e5601321b4e778937f6386a8a5220e28f5809', class: "button_popover", startIcon: hAsync(ActionsIcon, null), onClick: this.handleClick }), hAsync("div", { key: 'ed4d374f4a4982a24665e1cb60eaa57428ba0e4e', role: "dialog", tabIndex: -1, class: "popover", "aria-hidden": String(this.open) }, this.groups.map((group) => (hAsync("div", { class: "group" }, hAsync(Typography, { variant: "c2", color: "gray-9", class: "group_title" }, group.title), group.options.map((option) => (hAsync(Button, { class: "button_option", startIcon: option.startIcon, href: option.href, onClick: (event) => {
|
|
18107
18124
|
event.stopPropagation();
|
|
18108
18125
|
this.handleClick();
|
|
18109
18126
|
if (option.onClick) {
|
|
@@ -18132,7 +18149,6 @@ class CertificateChainViewer {
|
|
|
18132
18149
|
registerInstance(this, hostRef);
|
|
18133
18150
|
this.selectedCertificateIndex = 0;
|
|
18134
18151
|
}
|
|
18135
|
-
// eslint-disable-next-line class-methods-use-this
|
|
18136
18152
|
renderEmptyState() {
|
|
18137
18153
|
return (hAsync("div", { class: "status_wrapper" }, hAsync(Typography, null, "There is no certificates available.")));
|
|
18138
18154
|
}
|
|
@@ -18180,6 +18196,7 @@ class CertificateDecoder {
|
|
|
18180
18196
|
this.handleClickClear = () => {
|
|
18181
18197
|
this.clearValue();
|
|
18182
18198
|
};
|
|
18199
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
18183
18200
|
this.handleChangeInputFile = async (event) => {
|
|
18184
18201
|
const element = event.target;
|
|
18185
18202
|
if (element.files) {
|
|
@@ -18190,6 +18207,7 @@ class CertificateDecoder {
|
|
|
18190
18207
|
element.value = '';
|
|
18191
18208
|
}
|
|
18192
18209
|
};
|
|
18210
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
18193
18211
|
this.handleChangeExample = (event) => {
|
|
18194
18212
|
if (event.target.value) {
|
|
18195
18213
|
this.decode(event.target.value);
|
|
@@ -18198,6 +18216,7 @@ class CertificateDecoder {
|
|
|
18198
18216
|
this.clearValue();
|
|
18199
18217
|
}
|
|
18200
18218
|
};
|
|
18219
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
18201
18220
|
this.handleDropFile = async (event) => {
|
|
18202
18221
|
event.stopPropagation();
|
|
18203
18222
|
event.preventDefault();
|
|
@@ -18262,7 +18281,7 @@ class CertificateDecoder {
|
|
|
18262
18281
|
}
|
|
18263
18282
|
render() {
|
|
18264
18283
|
var _a;
|
|
18265
|
-
return (hAsync(Host, { key: '
|
|
18284
|
+
return (hAsync(Host, { key: '2c4ec8c59145c494dee26f7e6eae99b10481f091' }, hAsync("textarea", { key: '88129c0b5c56b2458c4af2df6d746c25d4252fd2', placeholder: "Certificate DER or PEM", class: "textarea t-b2 c-black", ref: (el) => { this.inputPaste = el; }, onDrop: this.handleDropFile }), hAsync("div", { key: '3730b1bade8d27bb9bc1617018dc5bf01f9277ef', class: "controls" }, hAsync("div", { key: 'b803986ab6d5bfaf5e61cd9df57428e6bff6bb55', class: "control_row" }, hAsync(Typography, { key: 'e6ed2ea27f11d0957da4109e19483cd040febb01', variant: "b3", color: "secondary-tint-2" }, "Drag or load file:"), hAsync("input", { key: '898d0fdd1de5f204337ab8bf77ad1dafd25da882', type: "file", accept: "application/pkix-cert,application/x-x509-ca-cert,application/x-x509-user-cert,application/pkcs10,application/pkix-crl,.csr,.req,.crl", value: "", onChange: this.handleChangeInputFile })), ((_a = this.certificateExamples) === null || _a === void 0 ? void 0 : _a.length) && (hAsync("div", { key: 'd6cf99bfc145f44fdfef32e52eb6afa8ec3836cf', class: "control_row" }, hAsync(Typography, { key: '4f7ff1b34fe34837909e328afdf401a5826d89f5', variant: "b3", color: "secondary-tint-2" }, "Load examples:"), hAsync("select", { key: '47c7433eefc2e82fb5dd9a30f062cc71104f7f5b', onChange: this.handleChangeExample }, hAsync("option", { key: '667a68723f7a22b954c1c89e1e86b85ddc6b4fd5', value: "" }, "None"), this.certificateExamples.map((example) => (hAsync("option", { value: example.value }, example.title)))))), hAsync("div", { key: 'e1fc1f00e7bb998d26a818fee955df9561f8e6c0', class: "control_row" }, hAsync(Button, { key: '254fdd5ff25e644ba5d233d9cec2508a28e023c9', onClick: this.handleClickDecode }, "Decode"), hAsync(Button, { key: '594d6e51c56a1b51440f6495eb85af0eda75bcef', onClick: this.handleClickClear }, "Clear"))), this.renderCertificate()));
|
|
18266
18285
|
}
|
|
18267
18286
|
static get style() { return certificateDecoderCss; }
|
|
18268
18287
|
static get cmpMeta() { return {
|
|
@@ -18361,11 +18380,9 @@ class CertificateViewer {
|
|
|
18361
18380
|
getIssuerDnLink() {
|
|
18362
18381
|
return this.issuerDnLink;
|
|
18363
18382
|
}
|
|
18364
|
-
// eslint-disable-next-line class-methods-use-this
|
|
18365
18383
|
renderErrorState() {
|
|
18366
18384
|
return (hAsync("div", { class: "status_wrapper" }, hAsync(Typography, null, "There was an error decoding this certificate.")));
|
|
18367
18385
|
}
|
|
18368
|
-
// eslint-disable-next-line class-methods-use-this
|
|
18369
18386
|
renderEmptyState() {
|
|
18370
18387
|
return (hAsync("div", { class: "status_wrapper" }, hAsync(Typography, null, "There is no certificate available.")));
|
|
18371
18388
|
}
|
|
@@ -18476,7 +18493,8 @@ class CertificatesViewer {
|
|
|
18476
18493
|
this.detailsClose.emit();
|
|
18477
18494
|
};
|
|
18478
18495
|
this.handleSearch = (event) => {
|
|
18479
|
-
|
|
18496
|
+
const target = event.target;
|
|
18497
|
+
this.search = target.value.trim();
|
|
18480
18498
|
};
|
|
18481
18499
|
}
|
|
18482
18500
|
handleMediaQueryChange(event) {
|
|
@@ -18502,7 +18520,6 @@ class CertificatesViewer {
|
|
|
18502
18520
|
return;
|
|
18503
18521
|
}
|
|
18504
18522
|
const data = [];
|
|
18505
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
18506
18523
|
for (const certificate of this.certificates) {
|
|
18507
18524
|
try {
|
|
18508
18525
|
const decoded = new X509Certificate(certificate.value);
|
|
@@ -18524,13 +18541,17 @@ class CertificatesViewer {
|
|
|
18524
18541
|
this.isDecodeInProcess = false;
|
|
18525
18542
|
this.certificatesDecoded = data;
|
|
18526
18543
|
}
|
|
18527
|
-
|
|
18544
|
+
getCertificateName(certificate) {
|
|
18545
|
+
if (typeof certificate.name === 'function') {
|
|
18546
|
+
return certificate.name(certificate.body);
|
|
18547
|
+
}
|
|
18548
|
+
return certificate.name || certificate.body.commonName;
|
|
18549
|
+
}
|
|
18528
18550
|
handleClickDownloadAsPem(certificate) {
|
|
18529
|
-
certificate.body.downloadAsPEM(
|
|
18551
|
+
certificate.body.downloadAsPEM(this.getCertificateName(certificate));
|
|
18530
18552
|
}
|
|
18531
|
-
// eslint-disable-next-line class-methods-use-this
|
|
18532
18553
|
handleClickDownloadAsDer(certificate) {
|
|
18533
|
-
certificate.body.downloadAsDER(
|
|
18554
|
+
certificate.body.downloadAsDER(this.getCertificateName(certificate));
|
|
18534
18555
|
}
|
|
18535
18556
|
handleClickRow(index) {
|
|
18536
18557
|
const isExpandedRowClicked = this.expandedRow === index;
|
|
@@ -18575,26 +18596,34 @@ class CertificatesViewer {
|
|
|
18575
18596
|
},
|
|
18576
18597
|
],
|
|
18577
18598
|
},
|
|
18578
|
-
...(isHasTestURLs
|
|
18579
|
-
|
|
18580
|
-
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
|
|
18586
|
-
|
|
18587
|
-
|
|
18588
|
-
|
|
18589
|
-
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
|
|
18593
|
-
|
|
18594
|
-
|
|
18595
|
-
|
|
18596
|
-
|
|
18597
|
-
|
|
18599
|
+
...(isHasTestURLs
|
|
18600
|
+
? [{
|
|
18601
|
+
title: l10n.getString('testURLs'),
|
|
18602
|
+
options: [
|
|
18603
|
+
...(((_a = certificate.tests) === null || _a === void 0 ? void 0 : _a.valid)
|
|
18604
|
+
? [{
|
|
18605
|
+
text: l10n.getString('valid'),
|
|
18606
|
+
href: certificate.tests.valid,
|
|
18607
|
+
startIcon: hAsync(LinkIcon, null),
|
|
18608
|
+
}]
|
|
18609
|
+
: []),
|
|
18610
|
+
...(((_b = certificate.tests) === null || _b === void 0 ? void 0 : _b.revoked)
|
|
18611
|
+
? [{
|
|
18612
|
+
text: l10n.getString('revoked'),
|
|
18613
|
+
href: certificate.tests.revoked,
|
|
18614
|
+
startIcon: hAsync(LinkIcon, null),
|
|
18615
|
+
}]
|
|
18616
|
+
: []),
|
|
18617
|
+
...(((_c = certificate.tests) === null || _c === void 0 ? void 0 : _c.expired)
|
|
18618
|
+
? [{
|
|
18619
|
+
text: l10n.getString('expired'),
|
|
18620
|
+
href: certificate.tests.expired,
|
|
18621
|
+
startIcon: hAsync(LinkIcon, null),
|
|
18622
|
+
}]
|
|
18623
|
+
: []),
|
|
18624
|
+
],
|
|
18625
|
+
}]
|
|
18626
|
+
: []),
|
|
18598
18627
|
] }));
|
|
18599
18628
|
}
|
|
18600
18629
|
renderExpandedRow(certificate) {
|
|
@@ -18614,8 +18643,7 @@ class CertificatesViewer {
|
|
|
18614
18643
|
const certificateStringForSearch = [
|
|
18615
18644
|
publicKeyValue,
|
|
18616
18645
|
certificate.body.issuerCommonName,
|
|
18617
|
-
certificate
|
|
18618
|
-
certificate.body.commonName,
|
|
18646
|
+
this.getCertificateName(certificate),
|
|
18619
18647
|
certificate.body.thumbprints['SHA-1'],
|
|
18620
18648
|
]
|
|
18621
18649
|
.join(' ')
|
|
@@ -18629,21 +18657,12 @@ class CertificatesViewer {
|
|
|
18629
18657
|
hAsync("tr", { class: {
|
|
18630
18658
|
certificate_row: true,
|
|
18631
18659
|
m_expanded: isExpandedRow,
|
|
18632
|
-
}, key: certificate.body.thumbprints['SHA-1'] }, hAsync("td", null, hAsync("table", null, hAsync("tbody", null, !this.isHasRoots && (hAsync("tr", null, hAsync("td", null, hAsync(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('issuer'))), hAsync("td", null, hAsync(Typography, { variant: "b2", color: "black" }, hAsync("peculiar-highlight-words", { search: searchHighlight }, certificate.body.issuerCommonName))))), hAsync("tr", null, hAsync("td", null, hAsync(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('name'))), hAsync("td", null, hAsync(Typography, { variant: "b2", color: "black" }, hAsync("peculiar-highlight-words", { search: searchHighlight },
|
|
18633
|
-
// eslint-disable-next-line react/jsx-no-bind
|
|
18634
|
-
, {
|
|
18635
|
-
// eslint-disable-next-line react/jsx-no-bind
|
|
18636
|
-
onClick: this.handleClickRow.bind(this, index), startIcon: isExpandedRow ? hAsync(ArrowTopIcon, null) : hAsync(ArrowBottomIcon, null)
|
|
18637
|
-
}))))))),
|
|
18660
|
+
}, key: certificate.body.thumbprints['SHA-1'] }, hAsync("td", null, hAsync("table", null, hAsync("tbody", null, !this.isHasRoots && (hAsync("tr", null, hAsync("td", null, hAsync(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('issuer'))), hAsync("td", null, hAsync(Typography, { variant: "b2", color: "black" }, hAsync("peculiar-highlight-words", { search: searchHighlight }, certificate.body.issuerCommonName))))), hAsync("tr", null, hAsync("td", null, hAsync(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('name'))), hAsync("td", null, hAsync(Typography, { variant: "b2", color: "black" }, hAsync("peculiar-highlight-words", { search: searchHighlight }, this.getCertificateName(certificate))))), hAsync("tr", null, hAsync("td", null, hAsync(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('publicKey'))), hAsync("td", null, hAsync(Typography, { variant: "b2", color: "black" }, hAsync("peculiar-highlight-words", { search: searchHighlight }, publicKeyValue)))), hAsync("tr", null, hAsync("td", null, hAsync(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('fingerprint'), "\u00A0 (SHA-1)")), hAsync("td", null, hAsync(Typography, { variant: "b2", color: "black" }, hAsync("peculiar-highlight-words", { search: searchHighlight }, certificate.body.thumbprints['SHA-1'])))), isExpandedRow && this.renderExpandedRow(certificate.body), hAsync("tr", { class: "certificate_row_actions" }, hAsync("td", null, this.renderCertificateButtonActions(certificate), hAsync(Button, { startIcon: isExpandedRow ? hAsync(ArrowTopIcon, null) : hAsync(ArrowBottomIcon, null), onClick: this.handleClickRow.bind(this, index) }))))))),
|
|
18638
18661
|
]);
|
|
18639
18662
|
return;
|
|
18640
18663
|
}
|
|
18641
18664
|
content.push([
|
|
18642
|
-
hAsync("tr", { class: {
|
|
18643
|
-
m_expanded: isExpandedRow,
|
|
18644
|
-
}, key: certificate.body.thumbprints['SHA-1'] }, hAsync("td", null, hAsync(Button, { class: "button_table_cell",
|
|
18645
|
-
// eslint-disable-next-line react/jsx-no-bind
|
|
18646
|
-
onClick: this.handleClickRow.bind(this, index), startIcon: isExpandedRow ? hAsync(ArrowTopIcon, null) : hAsync(ArrowBottomIcon, null) })), !this.isHasRoots && (hAsync("td", null, hAsync(Typography, null, hAsync("peculiar-highlight-words", { search: searchHighlight }, certificate.body.issuerCommonName)))), hAsync("td", null, hAsync(Typography, null, hAsync("peculiar-highlight-words", { search: searchHighlight }, certificate.name || certificate.body.commonName))), hAsync("td", null, hAsync(Typography, null, hAsync("peculiar-highlight-words", { search: searchHighlight }, publicKeyValue))), hAsync("td", null, hAsync(Typography, null, hAsync("peculiar-highlight-words", { search: searchHighlight }, certificate.body.thumbprints['SHA-1']))), hAsync("td", null, this.renderCertificateButtonActions(certificate))),
|
|
18665
|
+
hAsync("tr", { class: { m_expanded: isExpandedRow }, key: certificate.body.thumbprints['SHA-1'] }, hAsync("td", null, hAsync(Button, { startIcon: isExpandedRow ? hAsync(ArrowTopIcon, null) : hAsync(ArrowBottomIcon, null), class: "button_table_cell", onClick: this.handleClickRow.bind(this, index) })), !this.isHasRoots && (hAsync("td", null, hAsync(Typography, null, hAsync("peculiar-highlight-words", { search: searchHighlight }, certificate.body.issuerCommonName)))), hAsync("td", null, hAsync(Typography, null, hAsync("peculiar-highlight-words", { search: searchHighlight }, this.getCertificateName(certificate)))), hAsync("td", null, hAsync(Typography, null, hAsync("peculiar-highlight-words", { search: searchHighlight }, publicKeyValue))), hAsync("td", null, hAsync(Typography, null, hAsync("peculiar-highlight-words", { search: searchHighlight }, certificate.body.thumbprints['SHA-1']))), hAsync("td", null, this.renderCertificateButtonActions(certificate))),
|
|
18647
18666
|
isExpandedRow && this.renderExpandedRow(certificate.body),
|
|
18648
18667
|
]);
|
|
18649
18668
|
});
|
|
@@ -18653,13 +18672,13 @@ class CertificatesViewer {
|
|
|
18653
18672
|
if (!this.certificateSelectedForDetails) {
|
|
18654
18673
|
return null;
|
|
18655
18674
|
}
|
|
18656
|
-
return (hAsync("div", { class: "modal_wrapper", role: "presentation", "aria-hidden": "false", part: "presentation" }, hAsync("div", { class: "modal_backdrop",
|
|
18675
|
+
return (hAsync("div", { class: "modal_wrapper", role: "presentation", "aria-hidden": "false", part: "presentation" }, hAsync("div", { class: "modal_backdrop", "aria-hidden": "true", onClick: this.handleModalClose }), hAsync("div", { class: "modal_container", role: "dialog", part: "presentation_container" }, hAsync("header", { class: "modal_header" }, hAsync(Typography, { variant: "h4" }, l10n.getString('certificateDetails')), hAsync(Button, { startIcon: hAsync(CrossIcon, null), onClick: this.handleModalClose })), hAsync("div", { class: "modal_content" }, hAsync("peculiar-certificate-viewer", { certificate: this.certificateSelectedForDetails, mobileMediaQueryString: this.mobileMediaQueryString })))));
|
|
18657
18676
|
}
|
|
18658
18677
|
renderSearch() {
|
|
18659
18678
|
if (!this.filterWithSearch && !this.highlightWithSearch) {
|
|
18660
18679
|
return null;
|
|
18661
18680
|
}
|
|
18662
|
-
return (hAsync("div", { class: "search_section" }, hAsync("input", {
|
|
18681
|
+
return (hAsync("div", { class: "search_section" }, hAsync("input", { type: "search", value: "", class: "input_search t-b3 c-black", disabled: !this.certificatesDecoded.length, placeholder: "Search", onInput: this.handleSearch })));
|
|
18663
18682
|
}
|
|
18664
18683
|
renderEmptyState() {
|
|
18665
18684
|
const colSpan = this.getMaxColSpanValue();
|
|
@@ -18669,7 +18688,6 @@ class CertificatesViewer {
|
|
|
18669
18688
|
const colSpan = this.getMaxColSpanValue();
|
|
18670
18689
|
return (hAsync("tr", null, hAsync("td", { class: "status_wrapper", colSpan: colSpan }, hAsync(Typography, { variant: "b1" }, "No results found for \u201C", this.search, "\u201C"))));
|
|
18671
18690
|
}
|
|
18672
|
-
// eslint-disable-next-line class-methods-use-this
|
|
18673
18691
|
renderLoadingState() {
|
|
18674
18692
|
return (hAsync("div", { class: "loading_container" }, hAsync("peculiar-circular-progress", null)));
|
|
18675
18693
|
}
|
|
@@ -18687,7 +18705,7 @@ class CertificatesViewer {
|
|
|
18687
18705
|
return certificatesRows;
|
|
18688
18706
|
}
|
|
18689
18707
|
render() {
|
|
18690
|
-
return (hAsync(Host, { key: '
|
|
18708
|
+
return (hAsync(Host, { key: '894edb33a53c1128d812c2fd7a5b230a4b13493c', "data-mobile-screen-view": String(this.mobileScreenView) }, this.renderSearch(), hAsync("table", { key: '998d37ab98be6743f1564fafb4ce9fc70b79e358' }, !this.mobileScreenView && (hAsync("thead", { key: '4728e09450b6285cbc2f69cf0a0e06135910558f' }, hAsync("tr", { key: '70bf5be60e50b9d7109e27128b661044778e0ded' }, hAsync("th", { key: 'cf0fef5df1b42d0bce49d3bf0af2d91b82de6d05' }), !this.isHasRoots && (hAsync("th", { key: '59f00d345883dfb3c81a97278583821543ce6808', class: "col_issuer" }, hAsync(Typography, { key: '54ce8fba1ab5355ac1f82ccc3aa62945351a3632', variant: "s2" }, l10n.getString('issuer')))), hAsync("th", { key: '9aea7911edafca1482f31e2ca3316d2cde40fd78', class: "col_name" }, hAsync(Typography, { key: '2a0145b0cc56543ed4b5170a8773c3c43e5e64f9', variant: "s2" }, l10n.getString('name'))), hAsync("th", { key: '9eab414d9b1558d6a5b9938f55165aeca5baa54e', class: "col_public_key" }, hAsync(Typography, { key: 'cbdcb1013bbf12ac88e63ca2d268c55854803297', variant: "s2" }, l10n.getString('publicKey'))), hAsync("th", { key: '06adb89146693583a0dad86644b2c8b399e25c0e', class: "col_fingerprint" }, hAsync(Typography, { key: 'eca0440721f16953219f014edb8d3742f312f704', variant: "s2" }, l10n.getString('fingerprint'), "\u00A0 (SHA-1)")), hAsync("th", { key: '56b7fdf83f5c45cf524a8cce81dbca584b9b5fa8' })))), hAsync("tbody", { key: '01ccda1abfa846a8b0cdc00588b106398358ed88' }, this.renderTableBody())), this.renderCertificateDetailsModal(), this.isDecodeInProcess && this.renderLoadingState()));
|
|
18691
18709
|
}
|
|
18692
18710
|
static get watchers() { return {
|
|
18693
18711
|
"certificates": ["watchCertificates"]
|
|
@@ -18730,14 +18748,10 @@ class CircularProgress {
|
|
|
18730
18748
|
this.box = 50;
|
|
18731
18749
|
}
|
|
18732
18750
|
render() {
|
|
18733
|
-
return (hAsync(Host, { key: '
|
|
18751
|
+
return (hAsync(Host, { key: '0a7d6a83e20839fb324b3f24c7e8b1074775c6a3' }, hAsync("div", { key: '88111c52129ca2806ab67f7862ccdbec0e55e68f', class: "circle_progress", style: {
|
|
18734
18752
|
width: `${this.size}px`,
|
|
18735
18753
|
height: `${this.size}px`,
|
|
18736
|
-
} }, hAsync("svg", { key: '
|
|
18737
|
-
strokeWidth: `${this.width}px`,
|
|
18738
|
-
} }), hAsync("circle", { key: 'f61b2daa3fad404e325b787d3be59c8d7f04c118', class: "circle_progress_circle", cx: this.box / 2, cy: this.box / 2, r: (this.box / 2) - 5, fill: "none", style: {
|
|
18739
|
-
strokeWidth: `${this.width}px`,
|
|
18740
|
-
} })))));
|
|
18754
|
+
} }, hAsync("svg", { key: '73b6d9ef7d0b5d09049f8b0c3477e633fa6ee8a3', class: "circle_progress_svg", viewBox: `0 0 ${this.box} ${this.box}` }, hAsync("circle", { key: '764d4d27927cd961c84631ac2d9bf2d0ca3e542f', class: "circle_progress_backdrop", cx: this.box / 2, cy: this.box / 2, r: (this.box / 2) - 5, fill: "none", style: { strokeWidth: `${this.width}px` } }), hAsync("circle", { key: 'b24985974a66d754514f5a82b06fa6e7cae77133', class: "circle_progress_circle", cx: this.box / 2, cy: this.box / 2, r: (this.box / 2) - 5, fill: "none", style: { strokeWidth: `${this.width}px` } })))));
|
|
18741
18755
|
}
|
|
18742
18756
|
static get style() { return circularProgressCss; }
|
|
18743
18757
|
static get cmpMeta() { return {
|
|
@@ -18828,11 +18842,9 @@ class CrlViewer {
|
|
|
18828
18842
|
}
|
|
18829
18843
|
}
|
|
18830
18844
|
}
|
|
18831
|
-
// eslint-disable-next-line class-methods-use-this
|
|
18832
18845
|
renderErrorState() {
|
|
18833
18846
|
return (hAsync("div", { class: "status_wrapper" }, hAsync(Typography, null, "There was an error decoding this certificate revocation list.")));
|
|
18834
18847
|
}
|
|
18835
|
-
// eslint-disable-next-line class-methods-use-this
|
|
18836
18848
|
renderEmptyState() {
|
|
18837
18849
|
return (hAsync("div", { class: "status_wrapper" }, hAsync(Typography, null, "There is no certificate revocation list available.")));
|
|
18838
18850
|
}
|
|
@@ -18883,9 +18895,7 @@ class CsrViewer {
|
|
|
18883
18895
|
this.mobileMediaQueryString = '(max-width: 900px)';
|
|
18884
18896
|
this.mobileScreenView = false;
|
|
18885
18897
|
this.isDecodeInProcess = true;
|
|
18886
|
-
// eslint-disable-next-line class-methods-use-this
|
|
18887
18898
|
this.getAuthKeyIdParentLink = (value) => value;
|
|
18888
|
-
// eslint-disable-next-line class-methods-use-this
|
|
18889
18899
|
this.getAuthKeyIdSiblingsLink = (value) => value;
|
|
18890
18900
|
this.getSubjectKeyIdChildrenLink = (value) => {
|
|
18891
18901
|
var _a;
|
|
@@ -18944,11 +18954,9 @@ class CsrViewer {
|
|
|
18944
18954
|
}
|
|
18945
18955
|
}
|
|
18946
18956
|
}
|
|
18947
|
-
// eslint-disable-next-line class-methods-use-this
|
|
18948
18957
|
renderErrorState() {
|
|
18949
18958
|
return (hAsync("div", { class: "status_wrapper" }, hAsync(Typography, null, "There was an error decoding this certificate request.")));
|
|
18950
18959
|
}
|
|
18951
|
-
// eslint-disable-next-line class-methods-use-this
|
|
18952
18960
|
renderEmptyState() {
|
|
18953
18961
|
return (hAsync("div", { class: "status_wrapper" }, hAsync(Typography, null, "There is no certificate request available.")));
|
|
18954
18962
|
}
|
|
@@ -19011,7 +19019,7 @@ class HighlightWords {
|
|
|
19011
19019
|
return source.replace(substring, '');
|
|
19012
19020
|
}
|
|
19013
19021
|
render() {
|
|
19014
|
-
return (hAsync(Host, { key: '
|
|
19022
|
+
return (hAsync(Host, { key: '95b1cef18522eabfb495710d6756d8eee86dfa73' }, hAsync("slot", { key: '360e1c4d7121833dbfccdd6e1021d2030017373b' })));
|
|
19015
19023
|
}
|
|
19016
19024
|
get host() { return getElement(this); }
|
|
19017
19025
|
static get style() { return highlightWordsCss; }
|
|
@@ -19035,7 +19043,7 @@ class TextHider {
|
|
|
19035
19043
|
this.opened = false;
|
|
19036
19044
|
}
|
|
19037
19045
|
render() {
|
|
19038
|
-
return (hAsync(Host, { key: '
|
|
19046
|
+
return (hAsync(Host, { key: 'e62e0ae5bad2145d9d0f8e47493d89f1c9bdd559', "aria-expanded": String(this.opened) }, hAsync("div", { key: 'ee6a5b678e4ff568d017fde3168a37c818c241da', class: "content" }, hAsync("slot", { key: 'b9d073a716fec21e5e9c1dadc66da3fef292d00b' })), hAsync(Button, { key: '398b81d7ec84ccac8803f46dd4d78104a86b9be7', class: "action", startIcon: this.opened ? hAsync(ArrowTopIcon, { color: "secondary" }) : hAsync(ArrowBottomIcon, { color: "secondary" }), onClick: () => { this.opened = !this.opened; } })));
|
|
19039
19047
|
}
|
|
19040
19048
|
static get style() { return textHiderCss; }
|
|
19041
19049
|
static get cmpMeta() { return {
|