@peculiar/certificates-viewer 4.2.0 → 4.2.1
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 +3 -3
- package/components/actions.js.map +1 -1
- package/components/arrow_top.js +6 -6
- package/components/arrow_top.js.map +1 -1
- package/components/attribute-certificate-viewer.js +222 -220
- package/components/attribute-certificate-viewer.js.map +1 -1
- package/components/button-menu.js +36 -35
- package/components/button-menu.js.map +1 -1
- package/components/button.js +42 -42
- package/components/button.js.map +1 -1
- package/components/certificate-viewer.js +250 -249
- package/components/certificate-viewer.js.map +1 -1
- package/components/circular-progress.js +34 -33
- package/components/circular-progress.js.map +1 -1
- package/components/crl-viewer.js +214 -213
- package/components/crl-viewer.js.map +1 -1
- package/components/cross.js +9 -9
- package/components/cross.js.map +1 -1
- package/components/csr-viewer.js +200 -202
- package/components/csr-viewer.js.map +1 -1
- package/components/download.js +56 -56
- package/components/download.js.map +1 -1
- package/components/highlight-words.js +45 -44
- package/components/highlight-words.js.map +1 -1
- package/components/index2.js +146 -156
- package/components/index2.js.map +1 -1
- package/components/issuer_name.js +6 -6
- package/components/issuer_name.js.map +1 -1
- package/components/miscellaneous.js +3335 -3403
- package/components/miscellaneous.js.map +1 -1
- package/components/peculiar-attribute-certificate-viewer.d.ts +2 -2
- package/components/peculiar-button-menu.d.ts +2 -2
- package/components/peculiar-certificate-decoder.d.ts +2 -2
- package/components/peculiar-certificate-decoder.js +183 -182
- package/components/peculiar-certificate-decoder.js.map +1 -1
- package/components/peculiar-certificate-viewer.d.ts +2 -2
- package/components/peculiar-certificates-viewer.d.ts +2 -2
- package/components/peculiar-certificates-viewer.js +297 -296
- package/components/peculiar-certificates-viewer.js.map +1 -1
- package/components/peculiar-circular-progress.d.ts +2 -2
- package/components/peculiar-crl-viewer.d.ts +2 -2
- package/components/peculiar-csr-viewer.d.ts +2 -2
- package/components/peculiar-highlight-words.d.ts +2 -2
- package/components/peculiar-text-hider.d.ts +2 -2
- package/components/peculiar-text-hider.js +23 -22
- package/components/peculiar-text-hider.js.map +1 -1
- package/components/subject_name.js +35 -35
- package/components/subject_name.js.map +1 -1
- package/dist/cjs/actions-789906f5.js +23 -0
- package/dist/cjs/{actions-19013d4a.js.map → actions-789906f5.js.map} +1 -1
- package/dist/cjs/app-globals-c20ffa41.js +10 -0
- package/dist/cjs/app-globals-c20ffa41.js.map +1 -0
- package/dist/cjs/arrow_top-76e4261e.js +37 -0
- package/dist/cjs/{arrow_top-834fb7ec.js.map → arrow_top-76e4261e.js.map} +1 -1
- package/dist/cjs/button-87086210.js +77 -0
- package/dist/cjs/{button-14e2b73f.js.map → button-87086210.js.map} +1 -1
- package/dist/cjs/{certification_request-5672c667.js → certification_request-b0d72620.js} +2636 -2706
- package/dist/cjs/certification_request-b0d72620.js.map +1 -0
- package/dist/cjs/crl-812dd7a1.js +312 -0
- package/dist/cjs/crl-812dd7a1.js.map +1 -0
- package/dist/cjs/cross-bd099933.js +51 -0
- package/dist/cjs/{cross-9872c473.js.map → cross-bd099933.js.map} +1 -1
- package/dist/cjs/{download-0fa5b33c.js → download-6f550549.js} +50 -50
- package/dist/cjs/download-6f550549.js.map +1 -0
- package/dist/cjs/download-820d66ba.js +23 -0
- package/dist/cjs/{download-254ddc57.js.map → download-820d66ba.js.map} +1 -1
- package/dist/cjs/{index-efd561e9.js → index-e2ae280a.js} +398 -145
- package/dist/cjs/index-e2ae280a.js.map +1 -0
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/link-a3d3799d.js +25 -0
- package/dist/cjs/{link-6aea0be4.js.map → link-a3d3799d.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +4 -2
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/miscellaneous-dcb93a5b.js +1419 -0
- package/dist/cjs/miscellaneous-dcb93a5b.js.map +1 -0
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +481 -480
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +72 -69
- package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +151 -150
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +107 -106
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +258 -257
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-text-hider.cjs.entry.js +12 -11
- package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar.cjs.js +5 -3
- package/dist/cjs/peculiar.cjs.js.map +1 -1
- package/dist/cjs/x509_certificate-ebf4cbd4.js +160 -0
- package/dist/cjs/x509_certificate-ebf4cbd4.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +259 -259
- package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js.map +1 -1
- package/dist/collection/components/button/button.js +9 -9
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button-menu/button-menu.js +60 -60
- package/dist/collection/components/button-menu/button-menu.js.map +1 -1
- package/dist/collection/components/certificate-decoder/certificate-decoder.js +211 -211
- package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js +4 -3
- 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 +2 -2
- 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 +6 -6
- 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 +2 -2
- 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 +42 -42
- 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 +3 -3
- 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 +2 -2
- 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 +5 -5
- 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 +2 -2
- 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 +2 -2
- 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 +14 -14
- 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 +4 -3
- 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 +12 -12
- 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 +2 -2
- 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 +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js +8 -8
- 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 +2 -2
- 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 +7 -7
- 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 +5 -5
- 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 +3 -3
- 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 +2 -2
- 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 +23 -23
- 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 +2 -2
- 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 +5 -5
- 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 +8 -8
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +5 -5
- 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 +52 -52
- 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 +121 -121
- 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 +5 -5
- 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 +4 -4
- 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 +58 -58
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +42 -42
- 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 +5 -5
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +6 -7
- 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 +2 -2
- 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 +29 -29
- 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 +2 -2
- 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 +5 -5
- 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 +8 -8
- 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 +2 -2
- 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 +6 -8
- 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 +19 -21
- package/dist/collection/components/certificate-details-parts/holder.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/issuer.js +8 -8
- package/dist/collection/components/certificate-details-parts/issuer.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/issuer_name.js +6 -6
- package/dist/collection/components/certificate-details-parts/issuer_name.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/miscellaneous.js +6 -6
- package/dist/collection/components/certificate-details-parts/miscellaneous.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/public_key.js +29 -29
- package/dist/collection/components/certificate-details-parts/public_key.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/revoked_certificates.js +30 -30
- package/dist/collection/components/certificate-details-parts/revoked_certificates.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/row.js +26 -26
- package/dist/collection/components/certificate-details-parts/row.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/signature.js +13 -13
- package/dist/collection/components/certificate-details-parts/signature.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/subject_name.js +5 -5
- package/dist/collection/components/certificate-details-parts/subject_name.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/thumbprints.js +12 -12
- package/dist/collection/components/certificate-details-parts/thumbprints.js.map +1 -1
- package/dist/collection/components/certificate-summary/certificate-summary.js +3 -3
- package/dist/collection/components/certificate-summary/certificate-summary.js.map +1 -1
- package/dist/collection/components/certificate-viewer/certificate-viewer.js +278 -278
- package/dist/collection/components/certificate-viewer/certificate-viewer.js.map +1 -1
- package/dist/collection/components/certificates-viewer/certificates-viewer.js +374 -374
- package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -1
- package/dist/collection/components/circular-progress/circular-progress.js +67 -67
- package/dist/collection/components/circular-progress/circular-progress.js.map +1 -1
- package/dist/collection/components/crl-viewer/crl-viewer.js +229 -229
- package/dist/collection/components/crl-viewer/crl-viewer.js.map +1 -1
- package/dist/collection/components/csr-viewer/csr-viewer.js +211 -219
- package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -1
- package/dist/collection/components/highlight-words/highlight-words.js +60 -60
- package/dist/collection/components/highlight-words/highlight-words.js.map +1 -1
- package/dist/collection/components/icons/actions.js +2 -2
- package/dist/collection/components/icons/actions.js.map +1 -1
- package/dist/collection/components/icons/arrow_bottom.js +2 -2
- package/dist/collection/components/icons/arrow_bottom.js.map +1 -1
- package/dist/collection/components/icons/arrow_top.js +2 -2
- package/dist/collection/components/icons/arrow_top.js.map +1 -1
- package/dist/collection/components/icons/cross.js +2 -2
- package/dist/collection/components/icons/cross.js.map +1 -1
- package/dist/collection/components/icons/details.js +2 -2
- package/dist/collection/components/icons/details.js.map +1 -1
- package/dist/collection/components/icons/download.js +2 -2
- package/dist/collection/components/icons/download.js.map +1 -1
- package/dist/collection/components/icons/link.js +2 -2
- package/dist/collection/components/icons/link.js.map +1 -1
- package/dist/collection/components/link/link.js +4 -4
- package/dist/collection/components/link/link.js.map +1 -1
- package/dist/collection/components/text-hider/text-hider.js +23 -23
- package/dist/collection/components/text-hider/text-hider.js.map +1 -1
- package/dist/collection/components/typography/typography.js +32 -32
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/constants/logs.js +77 -77
- package/dist/collection/constants/logs.js.map +1 -1
- package/dist/collection/constants/oids.js +2334 -2334
- package/dist/collection/constants/oids.js.map +1 -1
- package/dist/collection/crypto/asn_data.js +31 -31
- package/dist/collection/crypto/asn_data.js.map +1 -1
- package/dist/collection/crypto/attribute.js +35 -51
- package/dist/collection/crypto/attribute.js.map +1 -1
- package/dist/collection/crypto/crl.js +66 -66
- package/dist/collection/crypto/crl.js.map +1 -1
- package/dist/collection/crypto/csr.js +76 -69
- package/dist/collection/crypto/csr.js.map +1 -1
- package/dist/collection/crypto/extension.js +63 -138
- package/dist/collection/crypto/extension.js.map +1 -1
- package/dist/collection/crypto/extensions/cabforganization_identifier.js +20 -15
- package/dist/collection/crypto/extensions/cabforganization_identifier.js.map +1 -1
- package/dist/collection/crypto/name.js +31 -31
- package/dist/collection/crypto/name.js.map +1 -1
- package/dist/collection/crypto/provider.js +26 -26
- package/dist/collection/crypto/provider.js.map +1 -1
- package/dist/collection/crypto/utils.js +23 -23
- package/dist/collection/crypto/utils.js.map +1 -1
- package/dist/collection/crypto/x509_attribute_certificate.js +66 -66
- package/dist/collection/crypto/x509_attribute_certificate.js.map +1 -1
- package/dist/collection/crypto/x509_certificate.js +139 -139
- package/dist/collection/crypto/x509_certificate.js.map +1 -1
- package/dist/collection/utils/camel_case_to_words.js +2 -2
- package/dist/collection/utils/camel_case_to_words.js.map +1 -1
- package/dist/collection/utils/date_formatter.js +6 -6
- package/dist/collection/utils/date_formatter.js.map +1 -1
- package/dist/collection/utils/download.js +24 -24
- package/dist/collection/utils/download.js.map +1 -1
- package/dist/collection/utils/download_from_buffer.js +25 -25
- package/dist/collection/utils/download_from_buffer.js.map +1 -1
- package/dist/collection/utils/get_string_by_oid.js +5 -5
- package/dist/collection/utils/get_string_by_oid.js.map +1 -1
- package/dist/collection/utils/is_link.js +1 -1
- package/dist/collection/utils/is_link.js.map +1 -1
- package/dist/collection/utils/l10n.js +25 -25
- package/dist/collection/utils/l10n.js.map +1 -1
- package/dist/collection/utils/read_file.js +40 -40
- package/dist/collection/utils/read_file.js.map +1 -1
- package/dist/collection/utils/validator.js +13 -13
- package/dist/collection/utils/validator.js.map +1 -1
- package/dist/esm/actions-aebcbc9d.js +21 -0
- package/dist/esm/{actions-8d745b2a.js.map → actions-aebcbc9d.js.map} +1 -1
- package/dist/esm/app-globals-5e9b67e0.js +8 -0
- package/dist/esm/app-globals-5e9b67e0.js.map +1 -0
- package/dist/esm/arrow_top-aee1ee02.js +34 -0
- package/dist/esm/{arrow_top-fc298828.js.map → arrow_top-aee1ee02.js.map} +1 -1
- package/dist/esm/button-a2fabf9a.js +74 -0
- package/dist/esm/{button-35146bdd.js.map → button-a2fabf9a.js.map} +1 -1
- package/dist/esm/{certification_request-d5ea5973.js → certification_request-2c054ece.js} +2637 -2707
- package/dist/esm/certification_request-2c054ece.js.map +1 -0
- package/dist/esm/crl-a7318483.js +308 -0
- package/dist/esm/crl-a7318483.js.map +1 -0
- package/dist/esm/cross-1377606f.js +47 -0
- package/dist/esm/{cross-9ec9a759.js.map → cross-1377606f.js.map} +1 -1
- package/dist/esm/download-14dc1047.js +21 -0
- package/dist/esm/{download-0cc3077a.js.map → download-14dc1047.js.map} +1 -1
- package/dist/esm/{download-aacb6eff.js → download-8c128e2e.js} +50 -50
- package/dist/esm/download-8c128e2e.js.map +1 -0
- package/dist/esm/{index-4079bbb5.js → index-ae188432.js} +398 -145
- package/dist/esm/index-ae188432.js.map +1 -0
- package/dist/esm/index.js +8 -8
- package/dist/esm/link-7e4e9060.js +23 -0
- package/dist/esm/{link-ad24c3be.js.map → link-7e4e9060.js.map} +1 -1
- package/dist/esm/loader.js +5 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/miscellaneous-0e98b5bc.js +1401 -0
- package/dist/esm/miscellaneous-0e98b5bc.js.map +1 -0
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +481 -480
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
- package/dist/esm/peculiar-button-menu_3.entry.js +72 -69
- package/dist/esm/peculiar-button-menu_3.entry.js.map +1 -1
- package/dist/esm/peculiar-certificate-decoder.entry.js +151 -150
- package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -1
- package/dist/esm/peculiar-certificate-viewer.entry.js +107 -106
- package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
- package/dist/esm/peculiar-certificates-viewer.entry.js +258 -257
- package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
- package/dist/esm/peculiar-text-hider.entry.js +12 -11
- package/dist/esm/peculiar-text-hider.entry.js.map +1 -1
- package/dist/esm/peculiar.js +6 -4
- package/dist/esm/peculiar.js.map +1 -1
- package/dist/esm/x509_certificate-ad568d3a.js +158 -0
- package/dist/esm/x509_certificate-ad568d3a.js.map +1 -0
- package/dist/esm-es5/{actions-8d745b2a.js → actions-aebcbc9d.js} +2 -2
- package/dist/esm-es5/app-globals-5e9b67e0.js +5 -0
- package/dist/esm-es5/app-globals-5e9b67e0.js.map +1 -0
- package/dist/esm-es5/{arrow_top-fc298828.js → arrow_top-aee1ee02.js} +2 -2
- package/dist/esm-es5/button-a2fabf9a.js +19 -0
- package/dist/esm-es5/{certification_request-d5ea5973.js → certification_request-2c054ece.js} +12 -12
- package/dist/esm-es5/certification_request-2c054ece.js.map +1 -0
- package/dist/esm-es5/crl-a7318483.js +33 -0
- package/dist/esm-es5/crl-a7318483.js.map +1 -0
- package/dist/esm-es5/{cross-9ec9a759.js → cross-1377606f.js} +2 -2
- package/dist/esm-es5/{download-0cc3077a.js → download-14dc1047.js} +2 -2
- package/dist/esm-es5/{download-aacb6eff.js → download-8c128e2e.js} +3 -3
- package/dist/esm-es5/{download-aacb6eff.js.map → download-8c128e2e.js.map} +1 -1
- package/dist/esm-es5/index-ae188432.js +6 -0
- package/dist/esm-es5/index-ae188432.js.map +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{link-ad24c3be.js → link-7e4e9060.js} +3 -3
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/{miscellaneous-cdfd8905.js → miscellaneous-0e98b5bc.js} +51 -51
- package/dist/esm-es5/miscellaneous-0e98b5bc.js.map +1 -0
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +17 -17
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.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 +3 -3
- 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 +3 -3
- 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/peculiar.js +2 -2
- package/dist/esm-es5/peculiar.js.map +1 -1
- package/dist/esm-es5/x509_certificate-ad568d3a.js +12 -0
- package/dist/esm-es5/{x509_certificate-a9fcab55.js.map → x509_certificate-ad568d3a.js.map} +1 -1
- package/dist/peculiar/index.esm.js +1 -1
- package/dist/peculiar/{p-3b395604.system.entry.js → p-00302a20.system.entry.js} +3 -3
- package/dist/peculiar/p-00302a20.system.entry.js.map +1 -0
- package/dist/peculiar/p-0dbc8238.system.js +13 -0
- package/dist/peculiar/{p-ab7dc738.system.js.map → p-0dbc8238.system.js.map} +1 -1
- package/dist/peculiar/{p-4a6ceeda.js → p-1302bd67.js} +11 -11
- package/dist/peculiar/p-1302bd67.js.map +1 -0
- package/dist/peculiar/{p-59e5ac12.js → p-1f766dd5.js} +1 -1
- package/dist/peculiar/p-243244af.system.js +13 -0
- package/dist/peculiar/{p-0fc2e2b4.js → p-27ca6743.js} +2 -2
- package/dist/peculiar/p-3cb79cd9.js +6 -0
- package/dist/peculiar/p-3cb79cd9.js.map +1 -0
- package/dist/peculiar/{p-48474b8d.js → p-3d44cbd2.js} +3 -3
- package/dist/peculiar/p-3f9af5f5.system.js +97 -0
- package/dist/peculiar/p-3f9af5f5.system.js.map +1 -0
- package/dist/peculiar/{p-a67b8793.system.entry.js → p-496449cf.system.entry.js} +10 -10
- package/dist/peculiar/p-496449cf.system.entry.js.map +1 -0
- package/dist/peculiar/p-4bc5ddbe.js +19 -0
- package/dist/peculiar/{p-609ee9f0.entry.js → p-54b37ef9.entry.js} +2 -2
- package/dist/peculiar/p-54b37ef9.entry.js.map +1 -0
- package/dist/peculiar/p-5a662d6f.system.js +13 -0
- package/dist/peculiar/{p-a7386b78.entry.js → p-5c6f9a14.entry.js} +3 -3
- package/dist/peculiar/p-5c6f9a14.entry.js.map +1 -0
- package/dist/peculiar/p-5cf4562f.system.entry.js +111 -0
- package/dist/peculiar/p-5cf4562f.system.entry.js.map +1 -0
- package/dist/peculiar/{p-c35b180c.entry.js → p-5f3b0fc7.entry.js} +3 -3
- package/dist/peculiar/p-5f3b0fc7.entry.js.map +1 -0
- package/dist/peculiar/{p-a720c0a5.system.entry.js → p-6680f277.system.entry.js} +10 -10
- package/dist/peculiar/p-6680f277.system.entry.js.map +1 -0
- package/dist/peculiar/p-713563fb.entry.js +5 -0
- package/dist/peculiar/p-713563fb.entry.js.map +1 -0
- package/dist/peculiar/{p-67156853.js → p-75166532.js} +5 -5
- package/dist/peculiar/p-75166532.js.map +1 -0
- package/dist/peculiar/p-821bdcdc.system.js +6 -0
- package/dist/peculiar/p-821bdcdc.system.js.map +1 -0
- package/dist/peculiar/p-8393399a.system.js +5 -0
- package/dist/peculiar/p-8393399a.system.js.map +1 -0
- package/dist/peculiar/p-8bbee8f4.system.js +13 -0
- package/dist/peculiar/p-924790f5.js +33 -0
- package/dist/peculiar/p-924790f5.js.map +1 -0
- package/dist/peculiar/p-9712b827.system.js +20 -0
- package/dist/peculiar/{p-2fcad8cb.system.js.map → p-9712b827.system.js.map} +1 -1
- package/dist/peculiar/{p-370cee20.js → p-99efefea.js} +2 -2
- package/dist/peculiar/{p-1ceb0fe3.js → p-a9487007.js} +2 -2
- package/dist/peculiar/{p-17e3c47b.js → p-ae91d778.js} +2 -2
- package/dist/peculiar/p-afbd1c8e.entry.js +5 -0
- package/dist/peculiar/p-afbd1c8e.entry.js.map +1 -0
- package/dist/peculiar/p-b2890eb8.system.js +5 -0
- package/dist/peculiar/p-b5389885.system.entry.js +5 -0
- package/dist/peculiar/p-b5389885.system.entry.js.map +1 -0
- package/dist/peculiar/p-c156b495.system.js +33 -0
- package/dist/peculiar/p-c156b495.system.js.map +1 -0
- package/dist/peculiar/p-c23fd001.entry.js +110 -0
- package/dist/peculiar/p-c23fd001.entry.js.map +1 -0
- package/dist/peculiar/p-c241e4ba.system.js +20 -0
- package/dist/peculiar/{p-c99507d4.system.js.map → p-c241e4ba.system.js.map} +1 -1
- package/dist/peculiar/p-c2995a63.system.js +5 -0
- package/dist/peculiar/p-c2995a63.system.js.map +1 -0
- package/dist/peculiar/p-dac867e8.js +5 -0
- package/dist/peculiar/p-dac867e8.js.map +1 -0
- package/dist/peculiar/p-dde511c8.system.js +43 -0
- package/dist/{cjs/download-0fa5b33c.js.map → peculiar/p-dde511c8.system.js.map} +1 -1
- package/dist/peculiar/p-e4ad4f13.system.entry.js +5 -0
- package/dist/peculiar/p-e4ad4f13.system.entry.js.map +1 -0
- package/dist/peculiar/p-e6a6e602.js +12 -0
- package/dist/peculiar/p-eea904d7.system.js +27 -0
- package/dist/peculiar/{p-ddae2f8e.system.js.map → p-eea904d7.system.js.map} +1 -1
- package/dist/peculiar/p-ff3ced3c.system.js +369 -0
- package/dist/peculiar/p-ff3ced3c.system.js.map +1 -0
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/dist/peculiar/peculiar.esm.js.map +1 -1
- package/dist/peculiar/peculiar.js +15 -15
- package/dist/types/components/attribute-certificate-viewer/attribute-certificate-viewer.d.ts +68 -68
- package/dist/types/components/button/button.d.ts +4 -4
- package/dist/types/components/button-menu/button-menu.d.ts +7 -7
- package/dist/types/components/certificate-decoder/certificate-decoder.d.ts +31 -31
- package/dist/types/components/certificate-details-parts/attributes/activity_description_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/as_string_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/basic_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/challenge_password_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/index.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/insurance_value_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/name_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/name_part.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/type_relationship_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/unstructured_name_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/valuation_ranking_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/web_gdpr_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/basic_information.d.ts +8 -8
- package/dist/types/components/certificate-details-parts/extensions/archive_rev_info_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/as_string_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/authority_key_identifier_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/basic_constraints_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/basic_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/biometric_syntax_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/ca_version_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/cabforganization_identifier_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/certificate_policies_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/certificate_template_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/certificate_transparency_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/crl_distribution_points_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/crl_number_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/crl_reason_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/enroll_cert_type_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/entrust_version_info_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/extended_key_usage_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/general_name_part.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/index.d.ts +2 -2
- package/dist/types/components/certificate-details-parts/extensions/info_access_syntax_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/issuing_distribution_point_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/key_description_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/key_usage_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/lei_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/lei_role_extennsion.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/logotype_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/name_constraints_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/netscape_cert_type_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/netscape_comment_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/policy_constraints_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/policy_mappings_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/private_key_usage_period_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/qc_statements_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/subject_alternative_name_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/subject_directory_attributes_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/subject_key_identifier_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/timestamp_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/tn_auth_list_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/holder.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/issuer.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/issuer_name.d.ts +2 -2
- package/dist/types/components/certificate-details-parts/miscellaneous.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/public_key.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/revoked_certificates.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/row.d.ts +7 -7
- package/dist/types/components/certificate-details-parts/signature.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/subject_name.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/thumbprints.d.ts +1 -1
- package/dist/types/components/certificate-summary/certificate-summary.d.ts +2 -2
- package/dist/types/components/certificate-viewer/certificate-viewer.d.ts +74 -74
- package/dist/types/components/certificates-viewer/certificates-viewer.d.ts +75 -75
- package/dist/types/components/circular-progress/circular-progress.d.ts +10 -10
- package/dist/types/components/crl-viewer/crl-viewer.d.ts +56 -56
- package/dist/types/components/csr-viewer/csr-viewer.d.ts +52 -53
- package/dist/types/components/highlight-words/highlight-words.d.ts +8 -8
- package/dist/types/components/icons/actions.d.ts +1 -1
- package/dist/types/components/icons/arrow_bottom.d.ts +1 -1
- package/dist/types/components/icons/arrow_top.d.ts +1 -1
- package/dist/types/components/icons/cross.d.ts +1 -1
- package/dist/types/components/icons/details.d.ts +1 -1
- package/dist/types/components/icons/download.d.ts +1 -1
- package/dist/types/components/icons/link.d.ts +1 -1
- package/dist/types/components/link/link.d.ts +2 -2
- package/dist/types/components/text-hider/text-hider.d.ts +2 -2
- package/dist/types/components/typography/typography.d.ts +4 -4
- package/dist/types/components.d.ts +24 -0
- package/dist/types/constants/logs.d.ts +77 -77
- package/dist/types/constants/oids.d.ts +2326 -2326
- package/dist/types/crypto/asn_data.d.ts +6 -6
- package/dist/types/crypto/attribute.d.ts +21 -6
- package/dist/types/crypto/crl.d.ts +23 -23
- package/dist/types/crypto/csr.d.ts +23 -21
- package/dist/types/crypto/extension.d.ts +51 -5
- package/dist/types/crypto/extensions/cabforganization_identifier.d.ts +5 -5
- package/dist/types/crypto/name.d.ts +7 -7
- package/dist/types/crypto/provider.d.ts +15 -15
- package/dist/types/crypto/x509_attribute_certificate.d.ts +24 -24
- package/dist/types/crypto/x509_certificate.d.ts +33 -33
- package/dist/types/stencil-public-runtime.d.ts +29 -0
- package/dist/types/utils/download.d.ts +16 -16
- package/dist/types/utils/l10n.d.ts +56 -56
- package/dist/types/utils/read_file.d.ts +7 -7
- package/hydrate/index.d.ts +2 -2
- package/hydrate/index.js +11363 -9541
- package/package.json +21 -13
- package/dist/cjs/actions-19013d4a.js +0 -23
- package/dist/cjs/arrow_top-834fb7ec.js +0 -37
- package/dist/cjs/button-14e2b73f.js +0 -77
- package/dist/cjs/certification_request-5672c667.js.map +0 -1
- package/dist/cjs/crl-3f681d44.js +0 -322
- package/dist/cjs/crl-3f681d44.js.map +0 -1
- package/dist/cjs/cross-9872c473.js +0 -51
- package/dist/cjs/download-254ddc57.js +0 -23
- package/dist/cjs/index-efd561e9.js.map +0 -1
- package/dist/cjs/link-6aea0be4.js +0 -25
- package/dist/cjs/miscellaneous-905ec852.js +0 -1416
- package/dist/cjs/miscellaneous-905ec852.js.map +0 -1
- package/dist/cjs/x509_certificate-69764c52.js +0 -160
- package/dist/cjs/x509_certificate-69764c52.js.map +0 -1
- package/dist/esm/actions-8d745b2a.js +0 -21
- package/dist/esm/arrow_top-fc298828.js +0 -34
- package/dist/esm/button-35146bdd.js +0 -74
- package/dist/esm/certification_request-d5ea5973.js.map +0 -1
- package/dist/esm/crl-d13d9ec5.js +0 -318
- package/dist/esm/crl-d13d9ec5.js.map +0 -1
- package/dist/esm/cross-9ec9a759.js +0 -47
- package/dist/esm/download-0cc3077a.js +0 -21
- package/dist/esm/download-aacb6eff.js.map +0 -1
- package/dist/esm/index-4079bbb5.js.map +0 -1
- package/dist/esm/link-ad24c3be.js +0 -23
- package/dist/esm/miscellaneous-cdfd8905.js +0 -1399
- package/dist/esm/miscellaneous-cdfd8905.js.map +0 -1
- package/dist/esm/x509_certificate-a9fcab55.js +0 -158
- package/dist/esm/x509_certificate-a9fcab55.js.map +0 -1
- package/dist/esm-es5/button-35146bdd.js +0 -19
- package/dist/esm-es5/certification_request-d5ea5973.js.map +0 -1
- package/dist/esm-es5/crl-d13d9ec5.js +0 -33
- package/dist/esm-es5/crl-d13d9ec5.js.map +0 -1
- package/dist/esm-es5/index-4079bbb5.js +0 -6
- package/dist/esm-es5/index-4079bbb5.js.map +0 -1
- package/dist/esm-es5/miscellaneous-cdfd8905.js.map +0 -1
- package/dist/esm-es5/x509_certificate-a9fcab55.js +0 -12
- package/dist/peculiar/p-0b356bb5.js +0 -6
- package/dist/peculiar/p-0b356bb5.js.map +0 -1
- package/dist/peculiar/p-14f281b0.system.js +0 -43
- package/dist/peculiar/p-14f281b0.system.js.map +0 -1
- package/dist/peculiar/p-2fcad8cb.system.js +0 -20
- package/dist/peculiar/p-33196289.entry.js +0 -5
- package/dist/peculiar/p-33196289.entry.js.map +0 -1
- package/dist/peculiar/p-3b395604.system.entry.js.map +0 -1
- package/dist/peculiar/p-4a6ceeda.js.map +0 -1
- package/dist/peculiar/p-5151cb6f.system.entry.js +0 -5
- package/dist/peculiar/p-5151cb6f.system.entry.js.map +0 -1
- package/dist/peculiar/p-53784f15.system.entry.js +0 -5
- package/dist/peculiar/p-53784f15.system.entry.js.map +0 -1
- package/dist/peculiar/p-5aabeba7.system.js +0 -6
- package/dist/peculiar/p-5aabeba7.system.js.map +0 -1
- package/dist/peculiar/p-5ab007e9.entry.js +0 -5
- package/dist/peculiar/p-5ab007e9.entry.js.map +0 -1
- package/dist/peculiar/p-609ee9f0.entry.js.map +0 -1
- package/dist/peculiar/p-67156853.js.map +0 -1
- package/dist/peculiar/p-6cb88fd6.system.js +0 -13
- package/dist/peculiar/p-6daee4d7.system.js +0 -369
- package/dist/peculiar/p-6daee4d7.system.js.map +0 -1
- package/dist/peculiar/p-6e48afc4.system.js +0 -34
- package/dist/peculiar/p-6e48afc4.system.js.map +0 -1
- package/dist/peculiar/p-718982f4.system.entry.js +0 -111
- package/dist/peculiar/p-718982f4.system.entry.js.map +0 -1
- package/dist/peculiar/p-7f9beaa8.js +0 -19
- package/dist/peculiar/p-80832207.system.js +0 -5
- package/dist/peculiar/p-80832207.system.js.map +0 -1
- package/dist/peculiar/p-8fac1d56.js +0 -33
- package/dist/peculiar/p-8fac1d56.js.map +0 -1
- package/dist/peculiar/p-94a453d7.js +0 -12
- package/dist/peculiar/p-a3eeb94b.system.js +0 -5
- package/dist/peculiar/p-a67b8793.system.entry.js.map +0 -1
- package/dist/peculiar/p-a720c0a5.system.entry.js.map +0 -1
- package/dist/peculiar/p-a7386b78.entry.js.map +0 -1
- package/dist/peculiar/p-ab7dc738.system.js +0 -13
- package/dist/peculiar/p-b313be9e.system.js +0 -13
- package/dist/peculiar/p-c35b180c.entry.js.map +0 -1
- package/dist/peculiar/p-c99507d4.system.js +0 -20
- package/dist/peculiar/p-ddae2f8e.system.js +0 -27
- package/dist/peculiar/p-e0f4bda5.system.js +0 -97
- package/dist/peculiar/p-e0f4bda5.system.js.map +0 -1
- package/dist/peculiar/p-e6a3b4d4.system.js +0 -13
- package/dist/peculiar/p-f86279f6.entry.js +0 -110
- package/dist/peculiar/p-f86279f6.entry.js.map +0 -1
- /package/dist/esm-es5/{actions-8d745b2a.js.map → actions-aebcbc9d.js.map} +0 -0
- /package/dist/esm-es5/{arrow_top-fc298828.js.map → arrow_top-aee1ee02.js.map} +0 -0
- /package/dist/esm-es5/{button-35146bdd.js.map → button-a2fabf9a.js.map} +0 -0
- /package/dist/esm-es5/{cross-9ec9a759.js.map → cross-1377606f.js.map} +0 -0
- /package/dist/esm-es5/{download-0cc3077a.js.map → download-14dc1047.js.map} +0 -0
- /package/dist/esm-es5/{link-ad24c3be.js.map → link-7e4e9060.js.map} +0 -0
- /package/dist/peculiar/{p-59e5ac12.js.map → p-1f766dd5.js.map} +0 -0
- /package/dist/peculiar/{p-6cb88fd6.system.js.map → p-243244af.system.js.map} +0 -0
- /package/dist/peculiar/{p-0fc2e2b4.js.map → p-27ca6743.js.map} +0 -0
- /package/dist/peculiar/{p-48474b8d.js.map → p-3d44cbd2.js.map} +0 -0
- /package/dist/peculiar/{p-7f9beaa8.js.map → p-4bc5ddbe.js.map} +0 -0
- /package/dist/peculiar/{p-b313be9e.system.js.map → p-5a662d6f.system.js.map} +0 -0
- /package/dist/peculiar/{p-e6a3b4d4.system.js.map → p-8bbee8f4.system.js.map} +0 -0
- /package/dist/peculiar/{p-370cee20.js.map → p-99efefea.js.map} +0 -0
- /package/dist/peculiar/{p-1ceb0fe3.js.map → p-a9487007.js.map} +0 -0
- /package/dist/peculiar/{p-17e3c47b.js.map → p-ae91d778.js.map} +0 -0
- /package/dist/peculiar/{p-a3eeb94b.system.js.map → p-b2890eb8.system.js.map} +0 -0
- /package/dist/peculiar/{p-94a453d7.js.map → p-e6a6e602.js.map} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h, proxyCustomElement, HTMLElement, createEvent, Build, Host } from '@stencil/core/internal/client';
|
|
5
5
|
import { X as X509Certificate, d as defineCustomElement$4 } from './certificate-viewer.js';
|
|
6
|
-
import { l as l10n,
|
|
6
|
+
import { l as l10n, ag as dateShort, X as OIDs } from './miscellaneous.js';
|
|
7
7
|
import { a as DownloadIcon } from './download.js';
|
|
8
8
|
import { T as Typography, B as Button } from './button.js';
|
|
9
9
|
import { D as DetailsIcon, L as LinkIcon, C as CrossIcon } from './cross.js';
|
|
@@ -20,320 +20,321 @@ import { d as defineCustomElement$2 } from './highlight-words.js';
|
|
|
20
20
|
* LICENSE file in the root directory of this source tree.
|
|
21
21
|
*/
|
|
22
22
|
const CertificateSummary = (props) => {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
23
|
+
const { certificate, showIssuer, } = props;
|
|
24
|
+
const renderRow = (name, value) => (h("tr", null,
|
|
25
|
+
h("td", null,
|
|
26
|
+
h(Typography, { variant: "b2", color: "gray-9" }, name)),
|
|
27
|
+
h("td", null,
|
|
28
|
+
h(Typography, { variant: "b2", color: "black" }, value))));
|
|
29
|
+
return (h("table", null,
|
|
30
|
+
h("tbody", null,
|
|
31
|
+
renderRow(l10n.getString('subjectName'), certificate.subjectToString()),
|
|
32
|
+
showIssuer && renderRow(l10n.getString('issuerName'), certificate.issuerToString()),
|
|
33
|
+
renderRow(l10n.getString('serialNumber'), certificate.serialNumber),
|
|
34
|
+
renderRow(l10n.getString('version'), certificate.version),
|
|
35
|
+
renderRow(l10n.getString('validity'), certificate.validity),
|
|
36
|
+
renderRow(l10n.getString('issued'), dateShort(certificate.notBefore)),
|
|
37
|
+
renderRow(l10n.getString('expired'), dateShort(certificate.notAfter)))));
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
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}";
|
|
41
|
+
const PeculiarCertificatesViewerStyle0 = certificatesViewerCss;
|
|
41
42
|
|
|
42
43
|
const CertificatesViewer = /*@__PURE__*/ proxyCustomElement(class CertificatesViewer extends HTMLElement {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
handleMediaQueryChange(event) {
|
|
73
|
-
this.mobileScreenView = event.matches;
|
|
74
|
-
}
|
|
75
|
-
componentWillLoad() {
|
|
76
|
-
this.certificatesDecodeAndSet();
|
|
77
|
-
if (Build.isBrowser) {
|
|
78
|
-
this.mobileMediaQuery = window.matchMedia(this.mobileMediaQueryString);
|
|
79
|
-
this.mobileMediaQuery.addEventListener('change', this.handleMediaQueryChange.bind(this));
|
|
80
|
-
this.mobileScreenView = this.mobileMediaQuery.matches;
|
|
44
|
+
constructor() {
|
|
45
|
+
super();
|
|
46
|
+
this.__registerHost();
|
|
47
|
+
this.__attachShadow();
|
|
48
|
+
this.detailsOpen = createEvent(this, "detailsOpen", 7);
|
|
49
|
+
this.detailsClose = createEvent(this, "detailsClose", 7);
|
|
50
|
+
this.isHasRoots = false;
|
|
51
|
+
this.handleClickDetails = (certificate) => {
|
|
52
|
+
this.certificateSelectedForDetails = certificate;
|
|
53
|
+
this.detailsOpen.emit(certificate);
|
|
54
|
+
};
|
|
55
|
+
this.handleModalClose = () => {
|
|
56
|
+
this.certificateSelectedForDetails = undefined;
|
|
57
|
+
this.detailsClose.emit();
|
|
58
|
+
};
|
|
59
|
+
this.handleSearch = (event) => {
|
|
60
|
+
this.search = event.target.value.trim();
|
|
61
|
+
};
|
|
62
|
+
this.certificates = [];
|
|
63
|
+
this.filterWithSearch = true;
|
|
64
|
+
this.highlightWithSearch = true;
|
|
65
|
+
this.mobileMediaQueryString = '(max-width: 900px)';
|
|
66
|
+
this.mobileScreenView = false;
|
|
67
|
+
this.search = '';
|
|
68
|
+
this.certificatesDecoded = [];
|
|
69
|
+
this.expandedRow = undefined;
|
|
70
|
+
this.certificateSelectedForDetails = undefined;
|
|
71
|
+
this.isDecodeInProcess = true;
|
|
81
72
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
this.mobileMediaQuery.removeEventListener('change', this.handleMediaQueryChange.bind(this));
|
|
85
|
-
}
|
|
86
|
-
watchCertificates(newValue, oldValue) {
|
|
87
|
-
/**
|
|
88
|
-
* Prevent rerender after set the same `certificates` prop.
|
|
89
|
-
*/
|
|
90
|
-
if (JSON.stringify(newValue) !== JSON.stringify(oldValue)) {
|
|
91
|
-
this.certificatesDecodeAndSet();
|
|
73
|
+
handleMediaQueryChange(event) {
|
|
74
|
+
this.mobileScreenView = event.matches;
|
|
92
75
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
76
|
+
componentWillLoad() {
|
|
77
|
+
this.certificatesDecodeAndSet();
|
|
78
|
+
if (Build.isBrowser) {
|
|
79
|
+
this.mobileMediaQuery = window.matchMedia(this.mobileMediaQueryString);
|
|
80
|
+
this.mobileMediaQuery.addEventListener('change', this.handleMediaQueryChange.bind(this));
|
|
81
|
+
this.mobileScreenView = this.mobileMediaQuery.matches;
|
|
82
|
+
}
|
|
98
83
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
84
|
+
disconnectedCallback() {
|
|
85
|
+
this.mobileMediaQuery.removeEventListener('change', this.handleMediaQueryChange.bind(this));
|
|
86
|
+
}
|
|
87
|
+
watchCertificates(newValue, oldValue) {
|
|
88
|
+
/**
|
|
89
|
+
* Prevent rerender after set the same `certificates` prop.
|
|
90
|
+
*/
|
|
91
|
+
if (JSON.stringify(newValue) !== JSON.stringify(oldValue)) {
|
|
92
|
+
this.certificatesDecodeAndSet();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
async certificatesDecodeAndSet() {
|
|
96
|
+
let hasRoots = false;
|
|
97
|
+
if (!Array.isArray(this.certificates)) {
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
const data = [];
|
|
101
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
102
|
+
for (const certificate of this.certificates) {
|
|
103
|
+
try {
|
|
104
|
+
const decoded = new X509Certificate(certificate.value);
|
|
105
|
+
await decoded.getThumbprint('SHA-1');
|
|
106
|
+
data.push({
|
|
107
|
+
body: decoded,
|
|
108
|
+
tests: certificate.tests,
|
|
109
|
+
name: certificate.name,
|
|
110
|
+
});
|
|
111
|
+
if (!hasRoots && decoded.isRoot) {
|
|
112
|
+
hasRoots = true;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
catch (error) {
|
|
116
|
+
console.error('Error certificate parse:', error);
|
|
117
|
+
}
|
|
112
118
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
119
|
+
this.isHasRoots = hasRoots;
|
|
120
|
+
this.isDecodeInProcess = false;
|
|
121
|
+
this.certificatesDecoded = data;
|
|
117
122
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
// eslint-disable-next-line class-methods-use-this
|
|
123
|
-
handleClickDownloadAsPem(certificate) {
|
|
124
|
-
certificate.body.downloadAsPEM(certificate.name || certificate.body.commonName);
|
|
125
|
-
}
|
|
126
|
-
// eslint-disable-next-line class-methods-use-this
|
|
127
|
-
handleClickDownloadAsDer(certificate) {
|
|
128
|
-
certificate.body.downloadAsDER(certificate.name || certificate.body.commonName);
|
|
129
|
-
}
|
|
130
|
-
handleClickRow(index) {
|
|
131
|
-
const isExpandedRowClicked = this.expandedRow === index;
|
|
132
|
-
this.expandedRow = isExpandedRowClicked
|
|
133
|
-
? undefined
|
|
134
|
-
: index;
|
|
135
|
-
}
|
|
136
|
-
getMaxColSpanValue() {
|
|
137
|
-
let colSpan = 5;
|
|
138
|
-
if (!this.isHasRoots) {
|
|
139
|
-
colSpan += 1;
|
|
123
|
+
// eslint-disable-next-line class-methods-use-this
|
|
124
|
+
handleClickDownloadAsPem(certificate) {
|
|
125
|
+
certificate.body.downloadAsPEM(certificate.name || certificate.body.commonName);
|
|
140
126
|
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
},
|
|
156
|
-
],
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
title: l10n.getString('downloadOptions'),
|
|
160
|
-
options: [
|
|
161
|
-
{
|
|
162
|
-
text: l10n.getString('download.pem'),
|
|
163
|
-
startIcon: h(DownloadIcon, null),
|
|
164
|
-
onClick: () => this.handleClickDownloadAsPem(certificate),
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
text: l10n.getString('download.der'),
|
|
168
|
-
startIcon: h(DownloadIcon, null),
|
|
169
|
-
onClick: () => this.handleClickDownloadAsDer(certificate),
|
|
170
|
-
},
|
|
171
|
-
],
|
|
172
|
-
},
|
|
173
|
-
...(isHasTestURLs ? [{
|
|
174
|
-
title: l10n.getString('testURLs'),
|
|
175
|
-
options: [
|
|
176
|
-
...(((_a = certificate.tests) === null || _a === void 0 ? void 0 : _a.valid) ? [{
|
|
177
|
-
text: l10n.getString('valid'),
|
|
178
|
-
href: certificate.tests.valid,
|
|
179
|
-
startIcon: h(LinkIcon, null),
|
|
180
|
-
}] : []),
|
|
181
|
-
...(((_b = certificate.tests) === null || _b === void 0 ? void 0 : _b.revoked) ? [{
|
|
182
|
-
text: l10n.getString('revoked'),
|
|
183
|
-
href: certificate.tests.revoked,
|
|
184
|
-
startIcon: h(LinkIcon, null),
|
|
185
|
-
}] : []),
|
|
186
|
-
...(((_c = certificate.tests) === null || _c === void 0 ? void 0 : _c.expired) ? [{
|
|
187
|
-
text: l10n.getString('expired'),
|
|
188
|
-
href: certificate.tests.expired,
|
|
189
|
-
startIcon: h(LinkIcon, null),
|
|
190
|
-
}] : []),
|
|
191
|
-
],
|
|
192
|
-
}] : []),
|
|
193
|
-
] }));
|
|
194
|
-
}
|
|
195
|
-
renderExpandedRow(certificate) {
|
|
196
|
-
const colSpan = this.getMaxColSpanValue() - 2;
|
|
197
|
-
return (h("tr", { class: "expanded_summary" }, h("td", null), h("td", { colSpan: colSpan }, h(CertificateSummary, { certificate: certificate, showIssuer: !certificate.isRoot })), h("td", null)));
|
|
198
|
-
}
|
|
199
|
-
renderCertificatesRows() {
|
|
200
|
-
const searchHighlight = this.highlightWithSearch
|
|
201
|
-
? this.search
|
|
202
|
-
: '';
|
|
203
|
-
const content = [];
|
|
204
|
-
this.certificatesDecoded.forEach((certificate, index) => {
|
|
205
|
-
const isExpandedRow = index === this.expandedRow;
|
|
206
|
-
const publicKeyValue = OIDs[certificate.body.signature.algorithm]
|
|
207
|
-
|| certificate.body.signature.algorithm;
|
|
208
|
-
if (this.filterWithSearch && this.search) {
|
|
209
|
-
const certificateStringForSearch = [
|
|
210
|
-
publicKeyValue,
|
|
211
|
-
certificate.body.issuerCommonName,
|
|
212
|
-
certificate.name,
|
|
213
|
-
certificate.body.commonName,
|
|
214
|
-
certificate.body.thumbprints['SHA-1'],
|
|
215
|
-
]
|
|
216
|
-
.join(' ')
|
|
217
|
-
.toLowerCase();
|
|
218
|
-
if (certificateStringForSearch.indexOf(this.search.toLowerCase()) === -1) {
|
|
219
|
-
return;
|
|
127
|
+
// eslint-disable-next-line class-methods-use-this
|
|
128
|
+
handleClickDownloadAsDer(certificate) {
|
|
129
|
+
certificate.body.downloadAsDER(certificate.name || certificate.body.commonName);
|
|
130
|
+
}
|
|
131
|
+
handleClickRow(index) {
|
|
132
|
+
const isExpandedRowClicked = this.expandedRow === index;
|
|
133
|
+
this.expandedRow = isExpandedRowClicked
|
|
134
|
+
? undefined
|
|
135
|
+
: index;
|
|
136
|
+
}
|
|
137
|
+
getMaxColSpanValue() {
|
|
138
|
+
let colSpan = 5;
|
|
139
|
+
if (!this.isHasRoots) {
|
|
140
|
+
colSpan += 1;
|
|
220
141
|
}
|
|
221
|
-
|
|
222
|
-
if (this.mobileScreenView) {
|
|
223
|
-
content.push([
|
|
224
|
-
h("tr", { class: {
|
|
225
|
-
certificate_row: true,
|
|
226
|
-
m_expanded: isExpandedRow,
|
|
227
|
-
}, key: certificate.body.thumbprints['SHA-1'] }, h("td", null, h("table", null, h("tbody", null, !this.isHasRoots && (h("tr", null, h("td", null, h(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('issuer'))), h("td", null, h(Typography, { variant: "b2", color: "black" }, h("peculiar-highlight-words", { search: searchHighlight }, certificate.body.issuerCommonName))))), h("tr", null, h("td", null, h(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('name'))), h("td", null, h(Typography, { variant: "b2", color: "black" }, h("peculiar-highlight-words", { search: searchHighlight }, certificate.name || certificate.body.commonName)))), h("tr", null, h("td", null, h(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('publicKey'))), h("td", null, h(Typography, { variant: "b2", color: "black" }, h("peculiar-highlight-words", { search: searchHighlight }, publicKeyValue)))), h("tr", null, h("td", null, h(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('fingerprint'), "\u00A0 (SHA-1)")), h("td", null, h(Typography, { variant: "b2", color: "black" }, h("peculiar-highlight-words", { search: searchHighlight }, certificate.body.thumbprints['SHA-1'])))), isExpandedRow && this.renderExpandedRow(certificate.body), h("tr", { class: "certificate_row_actions" }, h("td", null, this.renderCertificateButtonActions(certificate), h(Button
|
|
228
|
-
// eslint-disable-next-line react/jsx-no-bind
|
|
229
|
-
, {
|
|
230
|
-
// eslint-disable-next-line react/jsx-no-bind
|
|
231
|
-
onClick: this.handleClickRow.bind(this, index), startIcon: isExpandedRow ? h(ArrowTopIcon, null) : h(ArrowBottomIcon, null)
|
|
232
|
-
}))))))),
|
|
233
|
-
]);
|
|
234
|
-
return;
|
|
235
|
-
}
|
|
236
|
-
content.push([
|
|
237
|
-
h("tr", { class: {
|
|
238
|
-
m_expanded: isExpandedRow,
|
|
239
|
-
}, key: certificate.body.thumbprints['SHA-1'] }, h("td", null, h(Button, { class: "button_table_cell",
|
|
240
|
-
// eslint-disable-next-line react/jsx-no-bind
|
|
241
|
-
onClick: this.handleClickRow.bind(this, index), startIcon: isExpandedRow ? h(ArrowTopIcon, null) : h(ArrowBottomIcon, null) })), !this.isHasRoots && (h("td", null, h(Typography, null, h("peculiar-highlight-words", { search: searchHighlight }, certificate.body.issuerCommonName)))), h("td", null, h(Typography, null, h("peculiar-highlight-words", { search: searchHighlight }, certificate.name || certificate.body.commonName))), h("td", null, h(Typography, null, h("peculiar-highlight-words", { search: searchHighlight }, publicKeyValue))), h("td", null, h(Typography, null, h("peculiar-highlight-words", { search: searchHighlight }, certificate.body.thumbprints['SHA-1']))), h("td", null, this.renderCertificateButtonActions(certificate))),
|
|
242
|
-
isExpandedRow && this.renderExpandedRow(certificate.body),
|
|
243
|
-
]);
|
|
244
|
-
});
|
|
245
|
-
return content;
|
|
246
|
-
}
|
|
247
|
-
renderCertificateDetailsModal() {
|
|
248
|
-
if (!this.certificateSelectedForDetails) {
|
|
249
|
-
return null;
|
|
142
|
+
return colSpan;
|
|
250
143
|
}
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
144
|
+
renderCertificateButtonActions(certificate) {
|
|
145
|
+
var _a, _b, _c;
|
|
146
|
+
const isHasTestURLs = certificate.tests
|
|
147
|
+
&& (certificate.tests.expired || certificate.tests.revoked || certificate.tests.valid);
|
|
148
|
+
return (h("peculiar-button-menu", { class: "button_table_cell", groups: [
|
|
149
|
+
{
|
|
150
|
+
title: l10n.getString('previewCertificate'),
|
|
151
|
+
options: [
|
|
152
|
+
{
|
|
153
|
+
text: l10n.getString('viewDetails'),
|
|
154
|
+
startIcon: h(DetailsIcon, null),
|
|
155
|
+
onClick: () => this.handleClickDetails(certificate.body),
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
title: l10n.getString('downloadOptions'),
|
|
161
|
+
options: [
|
|
162
|
+
{
|
|
163
|
+
text: l10n.getString('download.pem'),
|
|
164
|
+
startIcon: h(DownloadIcon, null),
|
|
165
|
+
onClick: () => this.handleClickDownloadAsPem(certificate),
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
text: l10n.getString('download.der'),
|
|
169
|
+
startIcon: h(DownloadIcon, null),
|
|
170
|
+
onClick: () => this.handleClickDownloadAsDer(certificate),
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
},
|
|
174
|
+
...(isHasTestURLs ? [{
|
|
175
|
+
title: l10n.getString('testURLs'),
|
|
176
|
+
options: [
|
|
177
|
+
...(((_a = certificate.tests) === null || _a === void 0 ? void 0 : _a.valid) ? [{
|
|
178
|
+
text: l10n.getString('valid'),
|
|
179
|
+
href: certificate.tests.valid,
|
|
180
|
+
startIcon: h(LinkIcon, null),
|
|
181
|
+
}] : []),
|
|
182
|
+
...(((_b = certificate.tests) === null || _b === void 0 ? void 0 : _b.revoked) ? [{
|
|
183
|
+
text: l10n.getString('revoked'),
|
|
184
|
+
href: certificate.tests.revoked,
|
|
185
|
+
startIcon: h(LinkIcon, null),
|
|
186
|
+
}] : []),
|
|
187
|
+
...(((_c = certificate.tests) === null || _c === void 0 ? void 0 : _c.expired) ? [{
|
|
188
|
+
text: l10n.getString('expired'),
|
|
189
|
+
href: certificate.tests.expired,
|
|
190
|
+
startIcon: h(LinkIcon, null),
|
|
191
|
+
}] : []),
|
|
192
|
+
],
|
|
193
|
+
}] : []),
|
|
194
|
+
] }));
|
|
256
195
|
}
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
const colSpan = this.getMaxColSpanValue();
|
|
261
|
-
return (h("tr", null, h("td", { class: "status_wrapper", colSpan: colSpan }, h(Typography, { variant: "b1" }, "There are no certificates available."))));
|
|
262
|
-
}
|
|
263
|
-
renderEmptySearchState() {
|
|
264
|
-
const colSpan = this.getMaxColSpanValue();
|
|
265
|
-
return (h("tr", null, h("td", { class: "status_wrapper", colSpan: colSpan }, h(Typography, { variant: "b1" }, "No results found for \u201C", this.search, "\u201C"))));
|
|
266
|
-
}
|
|
267
|
-
// eslint-disable-next-line class-methods-use-this
|
|
268
|
-
renderLoadingState() {
|
|
269
|
-
return (h("div", { class: "loading_container" }, h("peculiar-circular-progress", null)));
|
|
270
|
-
}
|
|
271
|
-
renderTableBody() {
|
|
272
|
-
if (this.isDecodeInProcess) {
|
|
273
|
-
return null;
|
|
196
|
+
renderExpandedRow(certificate) {
|
|
197
|
+
const colSpan = this.getMaxColSpanValue() - 2;
|
|
198
|
+
return (h("tr", { class: "expanded_summary" }, h("td", null), h("td", { colSpan: colSpan }, h(CertificateSummary, { certificate: certificate, showIssuer: !certificate.isRoot })), h("td", null)));
|
|
274
199
|
}
|
|
275
|
-
|
|
276
|
-
|
|
200
|
+
renderCertificatesRows() {
|
|
201
|
+
const searchHighlight = this.highlightWithSearch
|
|
202
|
+
? this.search
|
|
203
|
+
: '';
|
|
204
|
+
const content = [];
|
|
205
|
+
this.certificatesDecoded.forEach((certificate, index) => {
|
|
206
|
+
const isExpandedRow = index === this.expandedRow;
|
|
207
|
+
const publicKeyValue = OIDs[certificate.body.signature.algorithm]
|
|
208
|
+
|| certificate.body.signature.algorithm;
|
|
209
|
+
if (this.filterWithSearch && this.search) {
|
|
210
|
+
const certificateStringForSearch = [
|
|
211
|
+
publicKeyValue,
|
|
212
|
+
certificate.body.issuerCommonName,
|
|
213
|
+
certificate.name,
|
|
214
|
+
certificate.body.commonName,
|
|
215
|
+
certificate.body.thumbprints['SHA-1'],
|
|
216
|
+
]
|
|
217
|
+
.join(' ')
|
|
218
|
+
.toLowerCase();
|
|
219
|
+
if (certificateStringForSearch.indexOf(this.search.toLowerCase()) === -1) {
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
if (this.mobileScreenView) {
|
|
224
|
+
content.push([
|
|
225
|
+
h("tr", { class: {
|
|
226
|
+
certificate_row: true,
|
|
227
|
+
m_expanded: isExpandedRow,
|
|
228
|
+
}, key: certificate.body.thumbprints['SHA-1'] }, h("td", null, h("table", null, h("tbody", null, !this.isHasRoots && (h("tr", null, h("td", null, h(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('issuer'))), h("td", null, h(Typography, { variant: "b2", color: "black" }, h("peculiar-highlight-words", { search: searchHighlight }, certificate.body.issuerCommonName))))), h("tr", null, h("td", null, h(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('name'))), h("td", null, h(Typography, { variant: "b2", color: "black" }, h("peculiar-highlight-words", { search: searchHighlight }, certificate.name || certificate.body.commonName)))), h("tr", null, h("td", null, h(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('publicKey'))), h("td", null, h(Typography, { variant: "b2", color: "black" }, h("peculiar-highlight-words", { search: searchHighlight }, publicKeyValue)))), h("tr", null, h("td", null, h(Typography, { variant: "b2", color: "gray-9" }, l10n.getString('fingerprint'), "\u00A0 (SHA-1)")), h("td", null, h(Typography, { variant: "b2", color: "black" }, h("peculiar-highlight-words", { search: searchHighlight }, certificate.body.thumbprints['SHA-1'])))), isExpandedRow && this.renderExpandedRow(certificate.body), h("tr", { class: "certificate_row_actions" }, h("td", null, this.renderCertificateButtonActions(certificate), h(Button
|
|
229
|
+
// eslint-disable-next-line react/jsx-no-bind
|
|
230
|
+
, {
|
|
231
|
+
// eslint-disable-next-line react/jsx-no-bind
|
|
232
|
+
onClick: this.handleClickRow.bind(this, index), startIcon: isExpandedRow ? h(ArrowTopIcon, null) : h(ArrowBottomIcon, null)
|
|
233
|
+
}))))))),
|
|
234
|
+
]);
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
content.push([
|
|
238
|
+
h("tr", { class: {
|
|
239
|
+
m_expanded: isExpandedRow,
|
|
240
|
+
}, key: certificate.body.thumbprints['SHA-1'] }, h("td", null, h(Button, { class: "button_table_cell",
|
|
241
|
+
// eslint-disable-next-line react/jsx-no-bind
|
|
242
|
+
onClick: this.handleClickRow.bind(this, index), startIcon: isExpandedRow ? h(ArrowTopIcon, null) : h(ArrowBottomIcon, null) })), !this.isHasRoots && (h("td", null, h(Typography, null, h("peculiar-highlight-words", { search: searchHighlight }, certificate.body.issuerCommonName)))), h("td", null, h(Typography, null, h("peculiar-highlight-words", { search: searchHighlight }, certificate.name || certificate.body.commonName))), h("td", null, h(Typography, null, h("peculiar-highlight-words", { search: searchHighlight }, publicKeyValue))), h("td", null, h(Typography, null, h("peculiar-highlight-words", { search: searchHighlight }, certificate.body.thumbprints['SHA-1']))), h("td", null, this.renderCertificateButtonActions(certificate))),
|
|
243
|
+
isExpandedRow && this.renderExpandedRow(certificate.body),
|
|
244
|
+
]);
|
|
245
|
+
});
|
|
246
|
+
return content;
|
|
277
247
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
248
|
+
renderCertificateDetailsModal() {
|
|
249
|
+
if (!this.certificateSelectedForDetails) {
|
|
250
|
+
return null;
|
|
251
|
+
}
|
|
252
|
+
return (h("div", { class: "modal_wrapper", role: "presentation", "aria-hidden": "false", part: "presentation" }, h("div", { class: "modal_backdrop", onClick: this.handleModalClose, "aria-hidden": "true" }), h("div", { class: "modal_container", role: "dialog", part: "presentation_container" }, h("header", { class: "modal_header" }, h(Typography, { variant: "h4" }, l10n.getString('certificateDetails')), h(Button, { onClick: this.handleModalClose, startIcon: h(CrossIcon, null) })), h("div", { class: "modal_content" }, h("peculiar-certificate-viewer", { certificate: this.certificateSelectedForDetails, mobileMediaQueryString: this.mobileMediaQueryString })))));
|
|
281
253
|
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
254
|
+
renderSearch() {
|
|
255
|
+
if (!this.filterWithSearch && !this.highlightWithSearch) {
|
|
256
|
+
return null;
|
|
257
|
+
}
|
|
258
|
+
return (h("div", { class: "search_section" }, h("input", { onInput: this.handleSearch, type: "search", value: "", class: "input_search t-b3 c-black", disabled: !this.certificatesDecoded.length, placeholder: "Search" })));
|
|
259
|
+
}
|
|
260
|
+
renderEmptyState() {
|
|
261
|
+
const colSpan = this.getMaxColSpanValue();
|
|
262
|
+
return (h("tr", null, h("td", { class: "status_wrapper", colSpan: colSpan }, h(Typography, { variant: "b1" }, "There are no certificates available."))));
|
|
263
|
+
}
|
|
264
|
+
renderEmptySearchState() {
|
|
265
|
+
const colSpan = this.getMaxColSpanValue();
|
|
266
|
+
return (h("tr", null, h("td", { class: "status_wrapper", colSpan: colSpan }, h(Typography, { variant: "b1" }, "No results found for \u201C", this.search, "\u201C"))));
|
|
267
|
+
}
|
|
268
|
+
// eslint-disable-next-line class-methods-use-this
|
|
269
|
+
renderLoadingState() {
|
|
270
|
+
return (h("div", { class: "loading_container" }, h("peculiar-circular-progress", null)));
|
|
271
|
+
}
|
|
272
|
+
renderTableBody() {
|
|
273
|
+
if (this.isDecodeInProcess) {
|
|
274
|
+
return null;
|
|
275
|
+
}
|
|
276
|
+
if (!this.certificatesDecoded.length) {
|
|
277
|
+
return this.renderEmptyState();
|
|
278
|
+
}
|
|
279
|
+
const certificatesRows = this.renderCertificatesRows();
|
|
280
|
+
if (this.search && !certificatesRows.length) {
|
|
281
|
+
return this.renderEmptySearchState();
|
|
282
|
+
}
|
|
283
|
+
return certificatesRows;
|
|
284
|
+
}
|
|
285
|
+
render() {
|
|
286
|
+
return (h(Host, { key: 'e10ac3070a3cb75cb9a281a999fec42ef28d593d', "data-mobile-screen-view": String(this.mobileScreenView) }, this.renderSearch(), h("table", { key: 'abc765a09c9537c36500143c6caffa688910483e' }, !this.mobileScreenView && (h("thead", null, h("tr", null, h("th", null), !this.isHasRoots && (h("th", { class: "col_issuer" }, h(Typography, { variant: "s2" }, l10n.getString('issuer')))), h("th", { class: "col_name" }, h(Typography, { variant: "s2" }, l10n.getString('name'))), h("th", { class: "col_public_key" }, h(Typography, { variant: "s2" }, l10n.getString('publicKey'))), h("th", { class: "col_fingerprint" }, h(Typography, { variant: "s2" }, l10n.getString('fingerprint'), "\u00A0 (SHA-1)")), h("th", null)))), h("tbody", { key: 'e61dfb14836909b154cdbc359c8f04bef5a42df0' }, this.renderTableBody())), this.renderCertificateDetailsModal(), this.isDecodeInProcess && this.renderLoadingState()));
|
|
287
|
+
}
|
|
288
|
+
static get watchers() { return {
|
|
289
|
+
"certificates": ["watchCertificates"]
|
|
290
|
+
}; }
|
|
291
|
+
static get style() { return PeculiarCertificatesViewerStyle0; }
|
|
291
292
|
}, [1, "peculiar-certificates-viewer", {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
293
|
+
"certificates": [16],
|
|
294
|
+
"filterWithSearch": [4, "filter-with-search"],
|
|
295
|
+
"highlightWithSearch": [4, "highlight-with-search"],
|
|
296
|
+
"mobileMediaQueryString": [1, "mobile-media-query-string"],
|
|
297
|
+
"mobileScreenView": [32],
|
|
298
|
+
"search": [32],
|
|
299
|
+
"certificatesDecoded": [32],
|
|
300
|
+
"expandedRow": [32],
|
|
301
|
+
"certificateSelectedForDetails": [32],
|
|
302
|
+
"isDecodeInProcess": [32]
|
|
303
|
+
}, undefined, {
|
|
304
|
+
"certificates": ["watchCertificates"]
|
|
305
|
+
}]);
|
|
305
306
|
function defineCustomElement$1() {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
307
|
+
if (typeof customElements === "undefined") {
|
|
308
|
+
return;
|
|
309
|
+
}
|
|
310
|
+
const components = ["peculiar-certificates-viewer", "peculiar-button-menu", "peculiar-certificate-viewer", "peculiar-circular-progress", "peculiar-highlight-words"];
|
|
311
|
+
components.forEach(tagName => { switch (tagName) {
|
|
312
|
+
case "peculiar-certificates-viewer":
|
|
313
|
+
if (!customElements.get(tagName)) {
|
|
314
|
+
customElements.define(tagName, CertificatesViewer);
|
|
315
|
+
}
|
|
316
|
+
break;
|
|
317
|
+
case "peculiar-button-menu":
|
|
318
|
+
if (!customElements.get(tagName)) {
|
|
319
|
+
defineCustomElement$5();
|
|
320
|
+
}
|
|
321
|
+
break;
|
|
322
|
+
case "peculiar-certificate-viewer":
|
|
323
|
+
if (!customElements.get(tagName)) {
|
|
324
|
+
defineCustomElement$4();
|
|
325
|
+
}
|
|
326
|
+
break;
|
|
327
|
+
case "peculiar-circular-progress":
|
|
328
|
+
if (!customElements.get(tagName)) {
|
|
329
|
+
defineCustomElement$3();
|
|
330
|
+
}
|
|
331
|
+
break;
|
|
332
|
+
case "peculiar-highlight-words":
|
|
333
|
+
if (!customElements.get(tagName)) {
|
|
334
|
+
defineCustomElement$2();
|
|
335
|
+
}
|
|
336
|
+
break;
|
|
337
|
+
} });
|
|
337
338
|
}
|
|
338
339
|
|
|
339
340
|
const PeculiarCertificatesViewer = CertificatesViewer;
|