@peculiar/certificates-viewer 3.6.0 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/cjs/{certification_request-6cd86a69.js → certification_request-6eb7ef37.js} +6982 -6865
  2. package/dist/cjs/{crl-91c8642c.js → crl-75106e2e.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{public_key-dccd1cdf.js → miscellaneous-0eade914.js} +387 -225
  5. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +87 -90
  6. package/dist/cjs/{peculiar-certificate-summary_3.cjs.entry.js → peculiar-button-split_4.cjs.entry.js} +35 -0
  7. package/dist/cjs/peculiar-button.cjs.entry.js +40 -0
  8. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +3 -3
  9. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +5 -5
  10. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +2 -2
  11. package/dist/cjs/peculiar-link.cjs.entry.js +29 -0
  12. package/dist/cjs/peculiar-text-hider.cjs.entry.js +33 -0
  13. package/dist/cjs/peculiar-typography.cjs.entry.js +38 -0
  14. package/dist/cjs/peculiar.cjs.js +1 -1
  15. package/dist/cjs/{x509_certificate-87a3fdb6.js → x509_certificate-9e7652cf.js} +18 -4
  16. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +1 -8
  17. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/basic_attribute.js +1 -1
  18. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/basic_extension.js +1 -2
  19. package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js +27 -0
  20. package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js +43 -0
  21. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js +28 -0
  22. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/extended_key_usage_extension.js +7 -3
  23. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/general_name_part.js +1 -1
  24. package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js +24 -0
  25. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/logotype_extension.js +1 -1
  26. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/policy_mappings_extension.js +1 -1
  27. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js +54 -0
  28. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/subject_directory_attributes_extension.js +8 -7
  29. package/dist/collection/components/{attribute-certificate-viewer → certificate-details-parts}/holder.js +3 -4
  30. package/dist/collection/components/certificate-details-parts/index.js +15 -0
  31. package/dist/collection/components/{attribute-certificate-viewer → certificate-details-parts}/issuer.js +2 -2
  32. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/public_key.js +14 -9
  33. package/dist/collection/components/{crl-viewer → certificate-details-parts}/revoked_certificates.js +3 -7
  34. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/row.js +3 -0
  35. package/dist/collection/components/certificate-details-parts/signature.js +31 -0
  36. package/dist/collection/components/certificate-viewer/certificate-viewer.css +4 -0
  37. package/dist/collection/components/certificate-viewer/certificate-viewer.js +1 -8
  38. package/dist/collection/components/crl-viewer/crl-viewer.js +1 -7
  39. package/dist/collection/components/csr-viewer/csr-viewer.js +1 -8
  40. package/dist/collection/constants/oids.js +21 -13
  41. package/dist/collection/crypto/x509_certificate.js +18 -3
  42. package/dist/collection/{components/certificate-viewer → utils}/get_string_by_oid.js +1 -1
  43. package/dist/collection/utils/index.js +1 -0
  44. package/dist/esm/{certification_request-5089bdb5.js → certification_request-4adeae0c.js} +6727 -6618
  45. package/dist/esm/{crl-cd78d029.js → crl-2857d300.js} +1 -1
  46. package/dist/esm/loader.js +1 -1
  47. package/dist/esm/{public_key-081d831c.js → miscellaneous-91256fd3.js} +387 -226
  48. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +54 -57
  49. package/dist/esm/{peculiar-certificate-summary_3.entry.js → peculiar-button-split_4.entry.js} +35 -1
  50. package/dist/esm/peculiar-button.entry.js +36 -0
  51. package/dist/esm/peculiar-certificate-decoder.entry.js +3 -3
  52. package/dist/esm/peculiar-certificate-viewer.entry.js +4 -4
  53. package/dist/esm/peculiar-certificates-viewer.entry.js +2 -2
  54. package/dist/esm/peculiar-link.entry.js +25 -0
  55. package/dist/esm/peculiar-text-hider.entry.js +29 -0
  56. package/dist/esm/peculiar-typography.entry.js +34 -0
  57. package/dist/esm/peculiar.js +1 -1
  58. package/dist/esm/{x509_certificate-69c7b972.js → x509_certificate-e7b4d8d1.js} +18 -4
  59. package/dist/peculiar/p-05f4713f.js +11 -0
  60. package/dist/peculiar/{p-39896604.entry.js → p-22d8ae9c.entry.js} +1 -1
  61. package/dist/peculiar/{p-72856c36.entry.js → p-40808c02.entry.js} +1 -1
  62. package/dist/peculiar/p-57b89412.entry.js +4 -0
  63. package/dist/peculiar/p-5fb5f008.entry.js +18 -0
  64. package/dist/peculiar/p-610b85e3.entry.js +4 -0
  65. package/dist/peculiar/p-6d37c8b5.entry.js +4 -0
  66. package/dist/peculiar/p-77121cf7.js +69 -0
  67. package/dist/peculiar/p-7de0bfb3.entry.js +4 -0
  68. package/dist/peculiar/p-893659f4.entry.js +4 -0
  69. package/dist/peculiar/p-918aeee4.entry.js +4 -0
  70. package/dist/peculiar/p-b44dc7c9.js +79 -0
  71. package/dist/peculiar/{p-85377ca1.js → p-e7518804.js} +3 -3
  72. package/dist/peculiar/peculiar.esm.js +1 -1
  73. package/dist/types/components/certificate-details-parts/index.d.ts +12 -0
  74. package/dist/types/components/{certificate-viewer → certificate-details-parts}/row.d.ts +1 -0
  75. package/dist/types/constants/oids.d.ts +7 -0
  76. package/dist/types/crypto/x509_certificate.d.ts +6 -1
  77. package/dist/types/utils/index.d.ts +1 -0
  78. package/package.json +21 -19
  79. package/dist/cjs/peculiar-button_5.cjs.entry.js +0 -148
  80. package/dist/collection/components/certificate-viewer/extensions/biometric_syntax_extension.js +0 -26
  81. package/dist/collection/components/certificate-viewer/extensions/certificate_policies_extension.js +0 -43
  82. package/dist/collection/components/certificate-viewer/extensions/certificate_transparency_extension.js +0 -27
  83. package/dist/collection/components/certificate-viewer/extensions/info_access_syntax_extension.js +0 -23
  84. package/dist/collection/components/certificate-viewer/extensions/qc_statements_extension.js +0 -23
  85. package/dist/collection/components/certificate-viewer/signature.js +0 -26
  86. package/dist/esm/peculiar-button_5.entry.js +0 -140
  87. package/dist/peculiar/p-28d6119e.entry.js +0 -26
  88. package/dist/peculiar/p-3bd51c63.js +0 -87
  89. package/dist/peculiar/p-870c3592.entry.js +0 -4
  90. package/dist/peculiar/p-a7322c0b.js +0 -11
  91. package/dist/peculiar/p-ade86ece.entry.js +0 -4
  92. package/dist/peculiar/p-dafae164.entry.js +0 -4
  93. package/dist/peculiar/p-f8d68bc3.js +0 -63
  94. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/activity_description_attribute.js +1 -1
  95. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/as_string_attribute.js +1 -1
  96. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/challenge_password_attribute.js +1 -1
  97. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/index.js +0 -0
  98. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/insurance_value_attribute.js +1 -1
  99. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/name_attribute.js +0 -0
  100. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/name_part.js +0 -0
  101. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/type_relationship_attribute.js +1 -1
  102. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/unstructured_name_attribute.js +1 -1
  103. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/valuation_ranking_attribute.js +1 -1
  104. package/dist/collection/components/{certificate-viewer → certificate-details-parts}/attributes/web_gdpr_attribute.js +1 -1
  105. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/basic_information.js +0 -0
  106. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/archive_rev_info_extension.js +0 -0
  107. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/as_string_extension.js +0 -0
  108. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/attribute_value.js +0 -0
  109. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/authority_key_identifier_extension.js +0 -0
  110. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/basic_constraints_extension.js +0 -0
  111. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/ca_version_extension.js +0 -0
  112. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/certificate_template_extension.js +0 -0
  113. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/crl_distribution_points_extension.js +0 -0
  114. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/crl_number_extension.js +0 -0
  115. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/crl_reason_extension.js +0 -0
  116. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/enroll_cert_type_extension.js +0 -0
  117. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/entrust_version_info_extension.js +0 -0
  118. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/index.js +0 -0
  119. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/issuing_distribution_point_extension.js +0 -0
  120. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/key_usage_extension.js +0 -0
  121. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/lei_extension.js +0 -0
  122. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/lei_role_extennsion.js +0 -0
  123. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/name_constraints_extension.js +0 -0
  124. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/netscape_cert_type_extension.js +0 -0
  125. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/netscape_comment_extension.js +0 -0
  126. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/policy_constraints_extension.js +0 -0
  127. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/private_key_usage_period_extension.js +0 -0
  128. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/subject_alternative_name_extension.js +0 -0
  129. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/subject_key_identifier_extension.js +0 -0
  130. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/timestamp_extension.js +0 -0
  131. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/extensions/tn_auth_list_extension.js +0 -0
  132. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/issuer_name.js +0 -0
  133. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/miscellaneous.js +0 -0
  134. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/subject_name.js +0 -0
  135. /package/dist/collection/components/{certificate-viewer → certificate-details-parts}/thumbprints.js +0 -0
  136. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/activity_description_attribute.d.ts +0 -0
  137. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/as_string_attribute.d.ts +0 -0
  138. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/basic_attribute.d.ts +0 -0
  139. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/challenge_password_attribute.d.ts +0 -0
  140. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/index.d.ts +0 -0
  141. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/insurance_value_attribute.d.ts +0 -0
  142. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/name_attribute.d.ts +0 -0
  143. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/name_part.d.ts +0 -0
  144. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/type_relationship_attribute.d.ts +0 -0
  145. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/unstructured_name_attribute.d.ts +0 -0
  146. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/valuation_ranking_attribute.d.ts +0 -0
  147. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/attributes/web_gdpr_attribute.d.ts +0 -0
  148. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/basic_information.d.ts +0 -0
  149. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/archive_rev_info_extension.d.ts +0 -0
  150. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/as_string_extension.d.ts +0 -0
  151. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/attribute_value.d.ts +0 -0
  152. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/authority_key_identifier_extension.d.ts +0 -0
  153. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/basic_constraints_extension.d.ts +0 -0
  154. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/basic_extension.d.ts +0 -0
  155. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/biometric_syntax_extension.d.ts +0 -0
  156. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/ca_version_extension.d.ts +0 -0
  157. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/certificate_policies_extension.d.ts +0 -0
  158. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/certificate_template_extension.d.ts +0 -0
  159. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/certificate_transparency_extension.d.ts +0 -0
  160. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/crl_distribution_points_extension.d.ts +0 -0
  161. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/crl_number_extension.d.ts +0 -0
  162. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/crl_reason_extension.d.ts +0 -0
  163. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/enroll_cert_type_extension.d.ts +0 -0
  164. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/entrust_version_info_extension.d.ts +0 -0
  165. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/extended_key_usage_extension.d.ts +0 -0
  166. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/general_name_part.d.ts +0 -0
  167. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/index.d.ts +0 -0
  168. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/info_access_syntax_extension.d.ts +0 -0
  169. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/issuing_distribution_point_extension.d.ts +0 -0
  170. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/key_usage_extension.d.ts +0 -0
  171. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/lei_extension.d.ts +0 -0
  172. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/lei_role_extennsion.d.ts +0 -0
  173. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/logotype_extension.d.ts +0 -0
  174. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/name_constraints_extension.d.ts +0 -0
  175. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/netscape_cert_type_extension.d.ts +0 -0
  176. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/netscape_comment_extension.d.ts +0 -0
  177. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/policy_constraints_extension.d.ts +0 -0
  178. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/policy_mappings_extension.d.ts +0 -0
  179. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/private_key_usage_period_extension.d.ts +0 -0
  180. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/qc_statements_extension.d.ts +0 -0
  181. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/subject_alternative_name_extension.d.ts +0 -0
  182. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/subject_directory_attributes_extension.d.ts +0 -0
  183. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/subject_key_identifier_extension.d.ts +0 -0
  184. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/timestamp_extension.d.ts +0 -0
  185. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/extensions/tn_auth_list_extension.d.ts +0 -0
  186. /package/dist/types/components/{attribute-certificate-viewer → certificate-details-parts}/holder.d.ts +0 -0
  187. /package/dist/types/components/{attribute-certificate-viewer → certificate-details-parts}/issuer.d.ts +0 -0
  188. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/issuer_name.d.ts +0 -0
  189. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/miscellaneous.d.ts +0 -0
  190. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/public_key.d.ts +0 -0
  191. /package/dist/types/components/{crl-viewer → certificate-details-parts}/revoked_certificates.d.ts +0 -0
  192. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/signature.d.ts +0 -0
  193. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/subject_name.d.ts +0 -0
  194. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/thumbprints.d.ts +0 -0
  195. /package/dist/types/components/{certificate-viewer → certificate-details-parts}/types.d.ts +0 -0
  196. /package/dist/types/{components/certificate-viewer → utils}/get_string_by_oid.d.ts +0 -0
@@ -6,11 +6,11 @@
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  const index = require('./index-064e95c7.js');
9
- const certification_request = require('./certification_request-6cd86a69.js');
9
+ const certification_request = require('./certification_request-6eb7ef37.js');
10
10
  const download = require('./download-a97f4cb2.js');
11
11
  const l10n = require('./l10n-17c96aba.js');
12
- const crl = require('./crl-91c8642c.js');
13
- const public_key = require('./public_key-dccd1cdf.js');
12
+ const crl = require('./crl-75106e2e.js');
13
+ const miscellaneous = require('./miscellaneous-0eade914.js');
14
14
 
15
15
  /**
16
16
  * @license
@@ -22,7 +22,7 @@ const public_key = require('./public_key-dccd1cdf.js');
22
22
  const BasicAttribute = (props, children) => {
23
23
  const { attribute } = props;
24
24
  return ([
25
- index.h(public_key.RowValue, { name: "Name", value: public_key.getStringByOID(attribute.asn.type) }),
25
+ index.h(miscellaneous.RowValue, { name: "Name", value: miscellaneous.getStringByOID(attribute.asn.type) }),
26
26
  children,
27
27
  index.h("tr", null,
28
28
  index.h("td", { colSpan: 2, class: "divider" },
@@ -42,7 +42,7 @@ const NamePart = (props) => {
42
42
  if (!name) {
43
43
  return null;
44
44
  }
45
- return name.map((relativeDistinguishedName) => (relativeDistinguishedName.map((attributeTypeAndValue) => (index.h(public_key.RowValue, { name: certification_request.OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type, value: attributeTypeAndValue.value.toString() })))));
45
+ return name.map((relativeDistinguishedName) => (relativeDistinguishedName.map((attributeTypeAndValue) => (index.h(miscellaneous.RowValue, { name: certification_request.OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type, value: attributeTypeAndValue.value.toString() })))));
46
46
  };
47
47
 
48
48
  /**
@@ -68,12 +68,12 @@ const NameAttribute = (props) => {
68
68
  const ActivityDescriptionAttribute = (props) => {
69
69
  const { attribute } = props;
70
70
  return (index.h(BasicAttribute, { attribute: attribute },
71
- index.h(public_key.RowValue, { name: "Code Authority", value: "" }),
72
- index.h(public_key.GeneralNamePart, { generalName: attribute.value.codeAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' }),
73
- index.h(public_key.RowValue, { name: "Code Id", value: "" }),
74
- index.h(public_key.GeneralNamePart, { generalName: attribute.value.codeId, getDNSNameLink: () => '', getIPAddressLink: () => '' }),
75
- index.h(public_key.RowValue, { name: "Short Name", value: attribute.value.shortName }),
76
- index.h(public_key.RowValue, { name: "Short Description", value: attribute.value.shortDescription })));
71
+ index.h(miscellaneous.RowValue, { name: "Code Authority", value: "" }),
72
+ index.h(miscellaneous.GeneralNamePart, { generalName: attribute.value.codeAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' }),
73
+ index.h(miscellaneous.RowValue, { name: "Code Id", value: "" }),
74
+ index.h(miscellaneous.GeneralNamePart, { generalName: attribute.value.codeId, getDNSNameLink: () => '', getIPAddressLink: () => '' }),
75
+ index.h(miscellaneous.RowValue, { name: "Short Name", value: attribute.value.shortName }),
76
+ index.h(miscellaneous.RowValue, { name: "Short Description", value: attribute.value.shortDescription })));
77
77
  };
78
78
 
79
79
  /**
@@ -86,14 +86,14 @@ const ActivityDescriptionAttribute = (props) => {
86
86
  const WebGdprAttribute = (props) => {
87
87
  const { attribute } = props;
88
88
  return (index.h(BasicAttribute, { attribute: attribute },
89
- index.h(public_key.RowValue, { name: "Assessment Authority", value: "" }),
90
- index.h(public_key.GeneralNamePart, { generalName: attribute.value.assessmentAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' }),
91
- index.h(public_key.RowValue, { name: "Assessment Location", value: "" }),
92
- index.h(public_key.GeneralNamePart, { generalName: attribute.value.assessmentLocation, getDNSNameLink: () => '', getIPAddressLink: () => '' }),
93
- index.h(public_key.RowValue, { name: "Assessment Ref", value: "" }),
94
- index.h(public_key.GeneralNamePart, { generalName: attribute.value.assessmentRef, getDNSNameLink: () => '', getIPAddressLink: () => '' }),
95
- index.h(public_key.RowValue, { name: "Data Storage Territory", value: attribute.value.dataStorageTerritory }),
96
- index.h(public_key.RowValue, { name: "Description", value: attribute.value.description })));
89
+ index.h(miscellaneous.RowValue, { name: "Assessment Authority", value: "" }),
90
+ index.h(miscellaneous.GeneralNamePart, { generalName: attribute.value.assessmentAuthority, getDNSNameLink: () => '', getIPAddressLink: () => '' }),
91
+ index.h(miscellaneous.RowValue, { name: "Assessment Location", value: "" }),
92
+ index.h(miscellaneous.GeneralNamePart, { generalName: attribute.value.assessmentLocation, getDNSNameLink: () => '', getIPAddressLink: () => '' }),
93
+ index.h(miscellaneous.RowValue, { name: "Assessment Ref", value: "" }),
94
+ index.h(miscellaneous.GeneralNamePart, { generalName: attribute.value.assessmentRef, getDNSNameLink: () => '', getIPAddressLink: () => '' }),
95
+ index.h(miscellaneous.RowValue, { name: "Data Storage Territory", value: attribute.value.dataStorageTerritory }),
96
+ index.h(miscellaneous.RowValue, { name: "Description", value: attribute.value.description })));
97
97
  };
98
98
 
99
99
  /**
@@ -107,7 +107,7 @@ const InsuranceValueAttribute = (props) => {
107
107
  const { attribute } = props;
108
108
  const value = `${attribute.value.base} * 10^${attribute.value.degree} ${attribute.value.location}`;
109
109
  return (index.h(BasicAttribute, { attribute: attribute },
110
- index.h(public_key.RowValue, { name: "Value", value: value })));
110
+ index.h(miscellaneous.RowValue, { name: "Value", value: value })));
111
111
  };
112
112
 
113
113
  /**
@@ -119,7 +119,7 @@ const InsuranceValueAttribute = (props) => {
119
119
  */
120
120
  const TypeRelationshipAttribute = (props) => {
121
121
  const { attribute } = props;
122
- return (index.h(BasicAttribute, { attribute: attribute }, Object.keys(attribute.value).map((keyName) => (index.h(public_key.RowValue, { name: keyName, value: attribute.value[keyName].toNumber() ? l10n.l10n.getString('yes') : l10n.l10n.getString('no') })))));
122
+ return (index.h(BasicAttribute, { attribute: attribute }, Object.keys(attribute.value).map((keyName) => (index.h(miscellaneous.RowValue, { name: keyName, value: attribute.value[keyName].toNumber() ? l10n.l10n.getString('yes') : l10n.l10n.getString('no') })))));
123
123
  };
124
124
 
125
125
  /**
@@ -146,7 +146,7 @@ const ValuationRankingAttribute = (props) => {
146
146
  index.h("br", null),
147
147
  ]));
148
148
  return (index.h(BasicAttribute, { attribute: attribute },
149
- index.h(public_key.RowValue, { name: "Value", value: values })));
149
+ index.h(miscellaneous.RowValue, { name: "Value", value: values })));
150
150
  };
151
151
 
152
152
  /**
@@ -159,7 +159,7 @@ const ValuationRankingAttribute = (props) => {
159
159
  const AsStringAttribute = (props) => {
160
160
  const { attribute } = props;
161
161
  return (index.h(BasicAttribute, { attribute: attribute },
162
- index.h(public_key.RowValue, { name: "Value", value: attribute.value, monospace: true })));
162
+ index.h(miscellaneous.RowValue, { name: "Value", value: attribute.value, monospace: true })));
163
163
  };
164
164
 
165
165
  /**
@@ -172,7 +172,7 @@ const AsStringAttribute = (props) => {
172
172
  const UnstructuredNameAttribute = (props) => {
173
173
  const { attribute } = props;
174
174
  return (index.h(BasicAttribute, { attribute: attribute },
175
- index.h(public_key.RowValue, { name: "Value", value: attribute.value.utf8String })));
175
+ index.h(miscellaneous.RowValue, { name: "Value", value: attribute.value.utf8String })));
176
176
  };
177
177
 
178
178
  /**
@@ -185,7 +185,7 @@ const UnstructuredNameAttribute = (props) => {
185
185
  const ChallengePasswordAttribute = (props) => {
186
186
  const { attribute } = props;
187
187
  return (index.h(BasicAttribute, { attribute: attribute },
188
- index.h(public_key.RowValue, { name: "Value", value: attribute.value.toString() })));
188
+ index.h(miscellaneous.RowValue, { name: "Value", value: attribute.value.toString() })));
189
189
  };
190
190
 
191
191
  /**
@@ -201,7 +201,7 @@ const Attributes = (props) => {
201
201
  return null;
202
202
  }
203
203
  return ([
204
- index.h(public_key.RowTitle, { value: "Attributes" }),
204
+ index.h(miscellaneous.RowTitle, { value: "Attributes" }),
205
205
  attributes.map((attribute) => {
206
206
  try {
207
207
  if (attribute.value instanceof certification_request.Name$1) {
@@ -248,14 +248,39 @@ const Attributes = (props) => {
248
248
  * This source code is licensed under the MIT license found in the
249
249
  * LICENSE file in the root directory of this source tree.
250
250
  */
251
- const Issuer = (props) => {
252
- const { issuer } = props;
253
- if (!issuer) {
251
+ const RevokedCertificates = (props) => {
252
+ const { revokedCertificates, getDNSNameLink, getIPAddressLink, } = props;
253
+ if (!revokedCertificates || !revokedCertificates.length) {
254
254
  return null;
255
255
  }
256
256
  return [
257
- index.h(public_key.RowTitle, { value: l10n.l10n.getString('issuer') }),
258
- issuer.map((item) => (index.h(public_key.GeneralNamePart, { generalName: item, getDNSNameLink: () => '', getIPAddressLink: () => '' }))),
257
+ index.h(miscellaneous.RowTitle, { value: l10n.l10n.getString('revokedCertificates') }),
258
+ revokedCertificates.map((certificate) => ([
259
+ index.h(miscellaneous.RowValue, { name: l10n.l10n.getString('serialNumber'), value: download.build.Convert.ToHex(certificate.userCertificate), monospace: true }),
260
+ index.h(miscellaneous.RowValue, { name: l10n.l10n.getString('revocationDate'), value: l10n.dateShort(certificate.revocationDate.getTime()) }),
261
+ (certificate.crlEntryExtensions && certificate.crlEntryExtensions.length && ([
262
+ index.h(miscellaneous.RowValue, { name: `${l10n.l10n.getString('crlEntryExtensions')}:`, value: "" }),
263
+ index.h(miscellaneous.TableRowTable, null, certificate.crlEntryExtensions.map((extension) => {
264
+ if (extension.value instanceof certification_request.CRLReason) {
265
+ return (index.h(miscellaneous.RowValue, { name: miscellaneous.getStringByOID(extension.asn.extnID), value: extension.value.toJSON() || extension.value.reason }));
266
+ }
267
+ if (extension.value instanceof certification_request.InvalidityDate) {
268
+ return (index.h(miscellaneous.RowValue, { name: miscellaneous.getStringByOID(extension.asn.extnID), value: extension.value.value.getTime() }));
269
+ }
270
+ if (extension.value instanceof certification_request.CertificateIssuer && extension.value.length) {
271
+ return ([
272
+ index.h(miscellaneous.RowValue, { name: `${miscellaneous.getStringByOID(extension.asn.extnID)}:`, value: "" }),
273
+ extension.value.map((gn) => (index.h(miscellaneous.TableRowTable, null,
274
+ index.h(miscellaneous.GeneralNamePart, { generalName: gn, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink })))),
275
+ ]);
276
+ }
277
+ return (index.h(miscellaneous.RowValue, { name: miscellaneous.getStringByOID(extension.asn.extnID), value: download.build.Convert.ToHex(extension.asn.extnValue), monospace: true }));
278
+ })),
279
+ ])),
280
+ index.h("tr", null,
281
+ index.h("td", { colSpan: 2, class: "divider" },
282
+ index.h("span", { class: "bg_fill" }))),
283
+ ])),
259
284
  ];
260
285
  };
261
286
 
@@ -273,27 +298,45 @@ const Holder = (props) => {
273
298
  }
274
299
  const { baseCertificateID, objectDigestInfo } = holder;
275
300
  return [
276
- index.h(public_key.RowTitle, { value: l10n.l10n.getString('holder') }),
301
+ index.h(miscellaneous.RowTitle, { value: l10n.l10n.getString('holder') }),
277
302
  baseCertificateID && ([
278
- baseCertificateID.issuer.map((item) => (index.h(public_key.GeneralNamePart, { generalName: item, getDNSNameLink: () => '', getIPAddressLink: () => '' }))),
303
+ baseCertificateID.issuer.map((item) => (index.h(miscellaneous.GeneralNamePart, { generalName: item, getDNSNameLink: () => '', getIPAddressLink: () => '' }))),
279
304
  index.h("tr", null,
280
305
  index.h("td", null),
281
306
  index.h("td", null)),
282
- index.h(public_key.RowValue, { name: l10n.l10n.getString('serialNumber'), value: download.build.Convert.ToHex(baseCertificateID.serial), monospace: true }),
307
+ index.h(miscellaneous.RowValue, { name: l10n.l10n.getString('serialNumber'), value: download.build.Convert.ToHex(baseCertificateID.serial), monospace: true }),
283
308
  index.h("tr", null,
284
309
  index.h("td", null),
285
310
  index.h("td", null)),
286
311
  ]),
287
312
  objectDigestInfo && ([
288
- index.h(public_key.RowValue, { name: l10n.l10n.getString('digestInfo'), value: "" }),
289
- index.h(public_key.RowValue, { name: l10n.l10n.getString('algorithm'), value: public_key.getStringByOID(objectDigestInfo.digestAlgorithm.algorithm) }),
290
- index.h(public_key.RowValue, { name: l10n.l10n.getString('value'), value: download.build.Convert.ToHex(objectDigestInfo.objectDigest), monospace: true }),
291
- index.h(public_key.RowValue, { name: l10n.l10n.getString('type'), value: objectDigestInfo.digestedObjectType }),
313
+ index.h(miscellaneous.RowValue, { name: l10n.l10n.getString('digestInfo'), value: "" }),
314
+ index.h(miscellaneous.RowValue, { name: l10n.l10n.getString('algorithm'), value: miscellaneous.getStringByOID(objectDigestInfo.digestAlgorithm.algorithm) }),
315
+ index.h(miscellaneous.RowValue, { name: l10n.l10n.getString('value'), value: download.build.Convert.ToHex(objectDigestInfo.objectDigest), monospace: true }),
316
+ index.h(miscellaneous.RowValue, { name: l10n.l10n.getString('type'), value: objectDigestInfo.digestedObjectType }),
292
317
  ]),
293
318
  ];
294
319
  };
295
320
 
296
- const certificateViewerCss$2 = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
321
+ /**
322
+ * @license
323
+ * Copyright (c) Peculiar Ventures, LLC.
324
+ *
325
+ * This source code is licensed under the MIT license found in the
326
+ * LICENSE file in the root directory of this source tree.
327
+ */
328
+ const Issuer = (props) => {
329
+ const { issuer } = props;
330
+ if (!issuer) {
331
+ return null;
332
+ }
333
+ return [
334
+ index.h(miscellaneous.RowTitle, { value: l10n.l10n.getString('issuer') }),
335
+ issuer.map((item) => (index.h(miscellaneous.GeneralNamePart, { generalName: item, getDNSNameLink: () => '', getIPAddressLink: () => '' }))),
336
+ ];
337
+ };
338
+
339
+ const certificateViewerCss$2 = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table table{margin-bottom:0}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
297
340
 
298
341
  const AttributeCertificateViewer = class {
299
342
  constructor(hostRef) {
@@ -374,7 +417,7 @@ const AttributeCertificateViewer = class {
374
417
  if (!this.certificateDecoded) {
375
418
  return this.renderEmptyState();
376
419
  }
377
- return (index.h(index.Host, null, index.h("table", null, index.h(public_key.BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(Issuer, { issuer: this.certificateDecoded.issuer }), index.h(Holder, { holder: this.certificateDecoded.holder }), index.h(public_key.Signature, { signature: this.certificateDecoded.signature }), index.h(public_key.Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: public_key.getLEILink, getDNSNameLink: public_key.getDNSNameLink, getIPAddressLink: public_key.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), index.h(public_key.Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: public_key.getLEILink, getDNSNameLink: public_key.getDNSNameLink, getIPAddressLink: public_key.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (index.h(public_key.Miscellaneous, { certificate: this.certificateDecoded })))));
420
+ return (index.h(index.Host, null, index.h("table", null, index.h(miscellaneous.BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(Issuer, { issuer: this.certificateDecoded.issuer }), index.h(Holder, { holder: this.certificateDecoded.holder }), index.h(miscellaneous.Signature, { signature: this.certificateDecoded.signature }), index.h(miscellaneous.Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: miscellaneous.getLEILink, getDNSNameLink: miscellaneous.getDNSNameLink, getIPAddressLink: miscellaneous.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), index.h(miscellaneous.Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: miscellaneous.getLEILink, getDNSNameLink: miscellaneous.getDNSNameLink, getIPAddressLink: miscellaneous.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (index.h(miscellaneous.Miscellaneous, { certificate: this.certificateDecoded })))));
378
421
  }
379
422
  static get watchers() { return {
380
423
  "certificate": ["watchCertificateAndDecode"]
@@ -382,53 +425,7 @@ const AttributeCertificateViewer = class {
382
425
  };
383
426
  AttributeCertificateViewer.style = certificateViewerCss$2;
384
427
 
385
- /**
386
- * @license
387
- * Copyright (c) Peculiar Ventures, LLC.
388
- *
389
- * This source code is licensed under the MIT license found in the
390
- * LICENSE file in the root directory of this source tree.
391
- */
392
- const TableRowTable = (_, children) => (index.h("tr", null,
393
- index.h("td", { colSpan: 2 },
394
- index.h("table", null, children))));
395
- const RevokedCertificates = (props) => {
396
- const { revokedCertificates, getDNSNameLink, getIPAddressLink, } = props;
397
- if (!revokedCertificates || !revokedCertificates.length) {
398
- return null;
399
- }
400
- return [
401
- index.h(public_key.RowTitle, { value: l10n.l10n.getString('revokedCertificates') }),
402
- revokedCertificates.map((certificate) => ([
403
- index.h(public_key.RowValue, { name: l10n.l10n.getString('serialNumber'), value: download.build.Convert.ToHex(certificate.userCertificate), monospace: true }),
404
- index.h(public_key.RowValue, { name: l10n.l10n.getString('revocationDate'), value: l10n.dateShort(certificate.revocationDate.getTime()) }),
405
- (certificate.crlEntryExtensions && certificate.crlEntryExtensions.length && ([
406
- index.h(public_key.RowValue, { name: `${l10n.l10n.getString('crlEntryExtensions')}:`, value: "" }),
407
- index.h(TableRowTable, null, certificate.crlEntryExtensions.map((extension) => {
408
- if (extension.value instanceof certification_request.CRLReason) {
409
- return (index.h(public_key.RowValue, { name: public_key.getStringByOID(extension.asn.extnID), value: extension.value.toJSON() || extension.value.reason }));
410
- }
411
- if (extension.value instanceof certification_request.InvalidityDate) {
412
- return (index.h(public_key.RowValue, { name: public_key.getStringByOID(extension.asn.extnID), value: extension.value.value.getTime() }));
413
- }
414
- if (extension.value instanceof certification_request.CertificateIssuer && extension.value.length) {
415
- return ([
416
- index.h(public_key.RowValue, { name: `${public_key.getStringByOID(extension.asn.extnID)}:`, value: "" }),
417
- extension.value.map((gn) => (index.h(TableRowTable, null,
418
- index.h(public_key.GeneralNamePart, { generalName: gn, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink })))),
419
- ]);
420
- }
421
- return (index.h(public_key.RowValue, { name: public_key.getStringByOID(extension.asn.extnID), value: download.build.Convert.ToHex(extension.asn.extnValue), monospace: true }));
422
- })),
423
- ])),
424
- index.h("tr", null,
425
- index.h("td", { colSpan: 2, class: "divider" },
426
- index.h("span", { class: "bg_fill" }))),
427
- ])),
428
- ];
429
- };
430
-
431
- const certificateViewerCss$1 = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
428
+ const certificateViewerCss$1 = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table table{margin-bottom:0}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
432
429
 
433
430
  const CrlViewer = class {
434
431
  constructor(hostRef) {
@@ -503,7 +500,7 @@ const CrlViewer = class {
503
500
  if (!this.certificateDecoded) {
504
501
  return this.renderEmptyState();
505
502
  }
506
- return (index.h(index.Host, { "data-view": this.view }, index.h("table", null, index.h(public_key.BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(public_key.IssuerName, { name: this.certificateDecoded.issuer, issuerDnLink: this.getIssuerDnLink() }), index.h(public_key.Signature, { signature: this.certificateDecoded.signature }), index.h(public_key.Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(public_key.Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: public_key.getLEILink, getDNSNameLink: public_key.getDNSNameLink, getIPAddressLink: public_key.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink }), index.h(RevokedCertificates, { revokedCertificates: this.certificateDecoded.revokedCertificates, getDNSNameLink: public_key.getDNSNameLink, getIPAddressLink: public_key.getIPAddressLink }), this.download && (index.h(public_key.Miscellaneous, { certificate: this.certificateDecoded })))));
503
+ return (index.h(index.Host, { "data-view": this.view }, index.h("table", null, index.h(miscellaneous.BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(miscellaneous.IssuerName, { name: this.certificateDecoded.issuer, issuerDnLink: this.getIssuerDnLink() }), index.h(miscellaneous.Signature, { signature: this.certificateDecoded.signature }), index.h(miscellaneous.Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(miscellaneous.Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: miscellaneous.getLEILink, getDNSNameLink: miscellaneous.getDNSNameLink, getIPAddressLink: miscellaneous.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink }), index.h(RevokedCertificates, { revokedCertificates: this.certificateDecoded.revokedCertificates, getDNSNameLink: miscellaneous.getDNSNameLink, getIPAddressLink: miscellaneous.getIPAddressLink }), this.download && (index.h(miscellaneous.Miscellaneous, { certificate: this.certificateDecoded })))));
507
504
  }
508
505
  static get watchers() { return {
509
506
  "certificate": ["watchCertificateAndDecode"]
@@ -511,7 +508,7 @@ const CrlViewer = class {
511
508
  };
512
509
  CrlViewer.style = certificateViewerCss$1;
513
510
 
514
- const certificateViewerCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
511
+ const certificateViewerCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table table{margin-bottom:0}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
515
512
 
516
513
  const CsrViewer = class {
517
514
  constructor(hostRef) {
@@ -593,7 +590,7 @@ const CsrViewer = class {
593
590
  return this.renderEmptyState();
594
591
  }
595
592
  const extensionRequestAttribute = this.getExtensionRequestAttribute();
596
- return (index.h(index.Host, { "data-view": this.view }, index.h("table", null, index.h(public_key.BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(public_key.SubjectName, { name: this.certificateDecoded.subject }), index.h(public_key.PublicKey, { publicKey: this.certificateDecoded.publicKey }), index.h(public_key.Signature, { signature: this.certificateDecoded.signature }), index.h(public_key.Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: public_key.getLEILink, getDNSNameLink: public_key.getDNSNameLink, getIPAddressLink: public_key.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), index.h(public_key.Extensions, { extensions: extensionRequestAttribute === null || extensionRequestAttribute === void 0 ? void 0 : extensionRequestAttribute.value, title: "Extension Request", getLEILink: public_key.getLEILink, getDNSNameLink: public_key.getDNSNameLink, getIPAddressLink: public_key.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (index.h(public_key.Miscellaneous, { certificate: this.certificateDecoded })))));
593
+ return (index.h(index.Host, { "data-view": this.view }, index.h("table", null, index.h(miscellaneous.BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(miscellaneous.SubjectName, { name: this.certificateDecoded.subject }), index.h(miscellaneous.PublicKey, { publicKey: this.certificateDecoded.publicKey }), index.h(miscellaneous.Signature, { signature: this.certificateDecoded.signature }), index.h(miscellaneous.Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: miscellaneous.getLEILink, getDNSNameLink: miscellaneous.getDNSNameLink, getIPAddressLink: miscellaneous.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), index.h(miscellaneous.Extensions, { extensions: extensionRequestAttribute === null || extensionRequestAttribute === void 0 ? void 0 : extensionRequestAttribute.value, title: "Extension Request", getLEILink: miscellaneous.getLEILink, getDNSNameLink: miscellaneous.getDNSNameLink, getIPAddressLink: miscellaneous.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (index.h(miscellaneous.Miscellaneous, { certificate: this.certificateDecoded })))));
597
594
  }
598
595
  static get watchers() { return {
599
596
  "certificate": ["watchCertificateAndDecode"]
@@ -9,6 +9,40 @@ const index = require('./index-064e95c7.js');
9
9
  const l10n = require('./l10n-17c96aba.js');
10
10
  require('./download-a97f4cb2.js');
11
11
 
12
+ const buttonSplitCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:inline-block;vertical-align:top;position:relative;white-space:nowrap;font-size:0}.button_split_icon{width:7px;height:5px;display:inline-block;vertical-align:middle}.button_split_with_icon{width:25px;border-bottom-left-radius:0;border-top-left-radius:0}.button_split_with_icon.m_open::part(base):before{position:fixed;width:100%;height:100%;top:0;left:0;content:\"\"}.button_split_action{width:100%}.button_split_container{position:absolute;bottom:calc(100% + 1px);left:0;width:100%;border-radius:2px;-webkit-box-shadow:0px -2px 1px rgb(var(--pv-color-light-rgb)), 0px 0px 10px rgba(var(--pv-color-dark-rgb), 0.0241168);box-shadow:0px -2px 1px rgb(var(--pv-color-light-rgb)), 0px 0px 10px rgba(var(--pv-color-dark-rgb), 0.0241168);z-index:1}.button_split>peculiar-button:first-of-type::part(base){border-top-right-radius:0;border-bottom-right-radius:0}.button_split>peculiar-button:last-of-type::part(base){border-top-left-radius:0;border-bottom-left-radius:0}.button_split>peculiar-button:not(:first-child){margin-left:-1px}";
13
+
14
+ const ButtonSplit = class {
15
+ constructor(hostRef) {
16
+ index.registerInstance(this, hostRef);
17
+ this.fill = 'stroke';
18
+ this.actions = [];
19
+ this.open = false;
20
+ this.onClickSplitButton = (event) => {
21
+ event.stopPropagation();
22
+ this.open = !this.open;
23
+ };
24
+ }
25
+ onClickActiveButton(action, event) {
26
+ this.open = false;
27
+ action(event);
28
+ }
29
+ renderActiveSplitState() {
30
+ if (!this.open) {
31
+ return null;
32
+ }
33
+ return (index.h("div", { class: "button_split_container" }, this.actions.map((action) => (index.h("peculiar-button", { fill: "fill", class: "button_split_action", onClick: this.onClickActiveButton.bind(this, action.onClick) }, action.text)))));
34
+ }
35
+ render() {
36
+ return (index.h("div", { class: {
37
+ button_split: true,
38
+ } }, index.h("peculiar-button", { fill: this.fill, onClick: this.onClick }, index.h("slot", null)), index.h("peculiar-button", { fill: this.fill, onClick: this.onClickSplitButton, class: {
39
+ button_split_with_icon: true,
40
+ m_open: this.open,
41
+ } }, index.h("svg", { viewBox: "0 0 7 5", xmlns: "http://www.w3.org/2000/svg", class: "button_split_icon" }, index.h("path", { fill: "currentColor", "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.459.124c.934.001 1.442.994.84 1.644L4.425 3.794c-.44.475-1.244.475-1.684 0L.862 1.764C.26 1.115.77.12 1.705.122l3.754.003z" }))), this.renderActiveSplitState()));
42
+ }
43
+ };
44
+ ButtonSplit.style = buttonSplitCss;
45
+
12
46
  const certificateSummaryCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%}td{border:none;padding:0}table{width:100%;border-spacing:0;border-collapse:collapse}td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td:first-child{width:130px;padding-right:10px}table td:last-child{width:calc(100% - 130px)}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{width:100%}}";
13
47
 
14
48
  const CertificateSummary = class {
@@ -88,6 +122,7 @@ const HighlightWords = class {
88
122
  };
89
123
  HighlightWords.style = highlightWordsCss;
90
124
 
125
+ exports.peculiar_button_split = ButtonSplit;
91
126
  exports.peculiar_certificate_summary = CertificateSummary;
92
127
  exports.peculiar_circular_progress = CircularProgress;
93
128
  exports.peculiar_highlight_words = HighlightWords;
@@ -0,0 +1,40 @@
1
+ /*!
2
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
+ */
4
+ 'use strict';
5
+
6
+ Object.defineProperty(exports, '__esModule', { value: true });
7
+
8
+ const index = require('./index-064e95c7.js');
9
+
10
+ const buttonCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:inline-block;width:auto;cursor:pointer;position:relative;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-user-drag:none;-ms-content-zooming:none;word-wrap:break-word;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;--pv-button-padding-end:5px;--pv-button-padding-start:5px}.button{font-family:\"Open Sans\", \"Arial\", sans-serif;font-family:var(--pv-font-family);font-size:13px;font-size:var(--pv-font-size-b3);letter-spacing:0.03em;letter-spacing:var(--pv-letter-spacing-normal);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;border-style:solid;border-width:1px;font-weight:400;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;vertical-align:middle;cursor:inherit;height:30px;line-height:30px;border-radius:2px;padding:0 5px;padding:0 var(--pv-button-padding-end) 0 var(--pv-button-padding-start)}.button::-moz-focus-inner{border:0}.button:focus{outline:none;-webkit-box-shadow:0 4px 10px 0 rgba(var(--pv-color-dark-rgb), 0.1);box-shadow:0 4px 10px 0 rgba(var(--pv-color-dark-rgb), 0.1)}.button[disabled]{opacity:0.5;cursor:not-allowed}.button_stroke{border-color:rgba(53, 132, 247, 0.3);border-color:rgba(var(--pv-color-primary-rgb), 0.3);color:#3584f7;color:rgba(var(--pv-color-primary-rgb), 1);background-color:transparent}.button_fill{border-color:#3584f7;border-color:rgba(var(--pv-color-primary-rgb), 1);background-color:#3584f7;background-color:rgba(var(--pv-color-primary-rgb), 1);color:white;color:rgba(var(--pv-color-light-rgb), 1)}.button_label{-webkit-transition:opacity 200ms;transition:opacity 200ms}.button:hover .button_label{opacity:0.7}";
11
+
12
+ const Button = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.fill = 'stroke';
16
+ this.handleClick = (event) => {
17
+ if (this.disabled) {
18
+ event.preventDefault();
19
+ event.stopPropagation();
20
+ return;
21
+ }
22
+ if (this.onClick) {
23
+ this.onClick(event);
24
+ }
25
+ };
26
+ }
27
+ render() {
28
+ const isLink = !!this.href;
29
+ const TagType = isLink ? 'a' : 'button';
30
+ return (index.h(TagType, { class: {
31
+ button: true,
32
+ button_stroke: this.fill === 'stroke',
33
+ button_fill: this.fill === 'fill',
34
+ button_disabled: this.disabled,
35
+ }, disabled: this.disabled, type: !isLink && 'button', href: isLink && this.href, target: isLink && this.target ? this.target : null, rel: isLink && 'noreferrer noopener', onClick: this.handleClick, part: "base" }, index.h("span", { part: "label", class: "button_label" }, index.h("slot", null))));
36
+ }
37
+ };
38
+ Button.style = buttonCss;
39
+
40
+ exports.peculiar_button = Button;
@@ -6,11 +6,11 @@
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  const index = require('./index-064e95c7.js');
9
- const certification_request = require('./certification_request-6cd86a69.js');
9
+ const certification_request = require('./certification_request-6eb7ef37.js');
10
10
  require('./l10n-17c96aba.js');
11
11
  require('./download-a97f4cb2.js');
12
- const x509_certificate = require('./x509_certificate-87a3fdb6.js');
13
- const crl = require('./crl-91c8642c.js');
12
+ const x509_certificate = require('./x509_certificate-9e7652cf.js');
13
+ const crl = require('./crl-75106e2e.js');
14
14
 
15
15
  /**
16
16
  * @license
@@ -6,13 +6,13 @@
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  const index = require('./index-064e95c7.js');
9
- const x509_certificate = require('./x509_certificate-87a3fdb6.js');
10
- require('./certification_request-6cd86a69.js');
9
+ const x509_certificate = require('./x509_certificate-9e7652cf.js');
10
+ require('./certification_request-6eb7ef37.js');
11
11
  require('./download-a97f4cb2.js');
12
12
  require('./l10n-17c96aba.js');
13
- const public_key = require('./public_key-dccd1cdf.js');
13
+ const miscellaneous = require('./miscellaneous-0eade914.js');
14
14
 
15
- const certificateViewerCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
15
+ const certificateViewerCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;position:relative;min-width:280px;min-height:300px;background:white;background:rgba(var(--pv-color-light-rgb), 1)}th,td{border:none}table{width:100%;margin-bottom:30px;border-spacing:0;border-collapse:collapse}table table{margin-bottom:0}table .title td{border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5);padding-top:60px;padding-bottom:15px;border-bottom-width:1px;border-bottom-style:solid}table td:first-child{padding-left:30px;width:130px;padding-right:10px}table td:last-child{padding-right:30px;width:calc(100% - 130px)}table td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td.vertical_align_middle{vertical-align:middle}table .title:first-child td{padding-top:15px}table .title+tr td{padding-top:15px}table td.monospace{max-width:0}table .divider{padding-top:15px;padding-bottom:15px}.divider .bg_fill{background-color:rgba(209, 213, 217, 0.5);background-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr:last-child .divider{padding-top:0;opacity:0}.divider span{display:block;height:1px}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.interaction_text{padding:15px 0;width:300px;margin:auto;text-align:center}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{padding-right:15px;padding-left:15px;width:100%}table .title+tr td{padding-top:5px}table .title+tr td:first-child{padding-top:15px}table td.monospace{width:100%;max-width:none}}:host([data-view=mobile]) table,:host([data-view=mobile]) tr,:host([data-view=mobile]) td{display:block}:host([data-view=mobile]) table td:last-child,:host([data-view=mobile]) table td:first-child{padding-right:15px;padding-left:15px;width:100%}:host([data-view=mobile]) table .title+tr td{padding-top:5px}:host([data-view=mobile]) table .title+tr td:first-child{padding-top:15px}:host([data-view=mobile]) table td.monospace{width:100%;max-width:none}";
16
16
 
17
17
  const CertificateViewer = class {
18
18
  constructor(hostRef) {
@@ -94,7 +94,7 @@ const CertificateViewer = class {
94
94
  if (!this.certificateDecoded) {
95
95
  return this.renderEmptyState();
96
96
  }
97
- return (index.h(index.Host, { "data-view": this.view }, index.h("table", null, index.h(public_key.BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(public_key.SubjectName, { name: this.certificateDecoded.subject }), index.h(public_key.IssuerName, { name: this.certificateDecoded.issuer, issuerDnLink: this.getIssuerDnLink() }), index.h(public_key.PublicKey, { publicKey: this.certificateDecoded.publicKey }), index.h(public_key.Signature, { signature: this.certificateDecoded.signature }), index.h(public_key.Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(public_key.Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: public_key.getLEILink, getDNSNameLink: public_key.getDNSNameLink, getIPAddressLink: public_key.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (index.h(public_key.Miscellaneous, { certificate: this.certificateDecoded })))));
97
+ return (index.h(index.Host, { "data-view": this.view }, index.h("table", null, index.h(miscellaneous.BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(miscellaneous.SubjectName, { name: this.certificateDecoded.subject }), index.h(miscellaneous.IssuerName, { name: this.certificateDecoded.issuer, issuerDnLink: this.getIssuerDnLink() }), index.h(miscellaneous.PublicKey, { publicKey: this.certificateDecoded.publicKey }), index.h(miscellaneous.Signature, { signature: this.certificateDecoded.signature }), index.h(miscellaneous.Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(miscellaneous.Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: miscellaneous.getLEILink, getDNSNameLink: miscellaneous.getDNSNameLink, getIPAddressLink: miscellaneous.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (index.h(miscellaneous.Miscellaneous, { certificate: this.certificateDecoded })))));
98
98
  }
99
99
  static get watchers() { return {
100
100
  "certificate": ["watchCertificateAndDecode"]
@@ -6,8 +6,8 @@
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  const index = require('./index-064e95c7.js');
9
- const x509_certificate = require('./x509_certificate-87a3fdb6.js');
10
- const certification_request = require('./certification_request-6cd86a69.js');
9
+ const x509_certificate = require('./x509_certificate-9e7652cf.js');
10
+ const certification_request = require('./certification_request-6eb7ef37.js');
11
11
  require('./download-a97f4cb2.js');
12
12
  const l10n = require('./l10n-17c96aba.js');
13
13
 
@@ -0,0 +1,29 @@
1
+ /*!
2
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
+ */
4
+ 'use strict';
5
+
6
+ Object.defineProperty(exports, '__esModule', { value: true });
7
+
8
+ const index = require('./index-064e95c7.js');
9
+
10
+ const linkCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-user-drag:none;-ms-content-zooming:none;word-wrap:break-word;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;display:inline-block}.link{font-family:\"Open Sans\", \"Arial\", sans-serif;font-family:var(--pv-font-family);letter-spacing:0.03em;letter-spacing:var(--pv-letter-spacing-normal);line-height:1.4;line-height:var(--pv-line-height-normal);color:#3584f7;color:rgba(var(--pv-color-primary-rgb), 1);font-weight:400;margin:0;padding:0;word-break:break-all}.link_type_h4{font-size:17px;font-size:var(--pv-font-size-h4);font-weight:600}.link_type_h6{font-size:15px;font-size:var(--pv-font-size-h6);font-weight:600}.link_type_h7{font-size:14px;font-size:var(--pv-font-size-h7);font-weight:600}.link_type_b1{font-size:15px;font-size:var(--pv-font-size-b1)}.link_type_b3{font-size:13px;font-size:var(--pv-font-size-b3)}.link:hover{text-decoration:none}";
11
+
12
+ const Link = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ /**
16
+ * Typography type.
17
+ */
18
+ this.type = 'b3';
19
+ }
20
+ render() {
21
+ return (index.h("a", { href: this.href, target: "_blank", rel: "noreferrer noopener", class: {
22
+ link: true,
23
+ [`link_type_${this.type || 'b3'}`]: true,
24
+ } }, index.h("slot", null)));
25
+ }
26
+ };
27
+ Link.style = linkCss;
28
+
29
+ exports.peculiar_link = Link;
@@ -0,0 +1,33 @@
1
+ /*!
2
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
+ */
4
+ 'use strict';
5
+
6
+ Object.defineProperty(exports, '__esModule', { value: true });
7
+
8
+ const index = require('./index-064e95c7.js');
9
+
10
+ const textHiderCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%}.text{display:inline-block;width:calc(100% - 60px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}.text.m_opened{white-space:initial}.action{vertical-align:top;display:inline-block;width:60px;text-align:right;position:relative;top:-6px}.button_action{width:30px}.expand_icon{width:7px;height:5px;display:inline-block}.m_opened .expand_icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}";
11
+
12
+ const TextHider = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.textExpand = index.createEvent(this, "textExpand", 7);
16
+ this.opened = false;
17
+ }
18
+ textExpandHandler() {
19
+ this.opened = !this.opened;
20
+ }
21
+ render() {
22
+ return (index.h(index.Host, null, index.h("div", { class: "root" }, index.h("div", { class: {
23
+ text: true,
24
+ m_opened: this.opened,
25
+ } }, index.h("slot", null)), index.h("div", { class: "action" }, index.h("peculiar-button", { onClick: this.textExpand.emit, class: {
26
+ button_action: true,
27
+ m_opened: this.opened,
28
+ }, fill: this.opened ? 'fill' : 'stroke' }, index.h("svg", { viewBox: "0 0 7 5", xmlns: "http://www.w3.org/2000/svg", class: "expand_icon" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", fill: "currentColor", d: "M5.459.124c.934.001 1.442.994.84 1.644L4.425 3.794c-.44.475-1.244.475-1.684 0L.862 1.764C.26 1.115.77.12 1.705.122l3.754.003z" })))))));
29
+ }
30
+ };
31
+ TextHider.style = textHiderCss;
32
+
33
+ exports.peculiar_text_hider = TextHider;