@peculiar/certificates-viewer 3.10.1 → 4.0.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.
Files changed (554) hide show
  1. package/README.md +40 -64
  2. package/components/arrow_top.js +34 -0
  3. package/components/arrow_top.js.map +1 -0
  4. package/components/attribute-certificate-viewer.js +281 -0
  5. package/components/attribute-certificate-viewer.js.map +1 -0
  6. package/components/button-menu.js +64 -0
  7. package/components/button-menu.js.map +1 -0
  8. package/components/button.js +74 -0
  9. package/components/button.js.map +1 -0
  10. package/components/certificate-viewer.js +300 -0
  11. package/components/certificate-viewer.js.map +1 -0
  12. package/components/circular-progress.js +48 -0
  13. package/components/circular-progress.js.map +1 -0
  14. package/components/crl-viewer.js +263 -0
  15. package/components/crl-viewer.js.map +1 -0
  16. package/components/csr-viewer.js +233 -0
  17. package/components/csr-viewer.js.map +1 -0
  18. package/components/custom-elements.d.ts +2 -0
  19. package/{dist/esm/download-91511aeb.js → components/download.js} +2 -0
  20. package/components/download.js.map +1 -0
  21. package/components/highlight-words.js +60 -0
  22. package/components/highlight-words.js.map +1 -0
  23. package/components/index.d.ts +33 -0
  24. package/components/index.js +7 -0
  25. package/components/index.js.map +1 -0
  26. package/components/index2.js +299 -0
  27. package/components/index2.js.map +1 -0
  28. package/components/issuer_name.js +26 -0
  29. package/components/issuer_name.js.map +1 -0
  30. package/components/miscellaneous.js +13420 -0
  31. package/components/miscellaneous.js.map +1 -0
  32. package/components/package.json +9 -0
  33. package/components/peculiar-attribute-certificate-viewer.d.ts +11 -0
  34. package/components/peculiar-attribute-certificate-viewer.js +11 -0
  35. package/components/peculiar-attribute-certificate-viewer.js.map +1 -0
  36. package/components/peculiar-button-menu.d.ts +11 -0
  37. package/components/peculiar-button-menu.js +11 -0
  38. package/components/peculiar-button-menu.js.map +1 -0
  39. package/components/peculiar-certificate-decoder.d.ts +11 -0
  40. package/components/peculiar-certificate-decoder.js +234 -0
  41. package/components/peculiar-certificate-decoder.js.map +1 -0
  42. package/components/peculiar-certificate-viewer.d.ts +11 -0
  43. package/components/peculiar-certificate-viewer.js +11 -0
  44. package/components/peculiar-certificate-viewer.js.map +1 -0
  45. package/components/peculiar-certificates-viewer.d.ts +11 -0
  46. package/components/peculiar-certificates-viewer.js +382 -0
  47. package/components/peculiar-certificates-viewer.js.map +1 -0
  48. package/components/peculiar-circular-progress.d.ts +11 -0
  49. package/components/peculiar-circular-progress.js +11 -0
  50. package/components/peculiar-circular-progress.js.map +1 -0
  51. package/components/peculiar-crl-viewer.d.ts +11 -0
  52. package/components/peculiar-crl-viewer.js +11 -0
  53. package/components/peculiar-crl-viewer.js.map +1 -0
  54. package/components/peculiar-csr-viewer.d.ts +11 -0
  55. package/components/peculiar-csr-viewer.js +11 -0
  56. package/components/peculiar-csr-viewer.js.map +1 -0
  57. package/components/peculiar-highlight-words.d.ts +11 -0
  58. package/components/peculiar-highlight-words.js +11 -0
  59. package/components/peculiar-highlight-words.js.map +1 -0
  60. package/components/peculiar-text-hider.d.ts +11 -0
  61. package/components/peculiar-text-hider.js +42 -0
  62. package/components/peculiar-text-hider.js.map +1 -0
  63. package/components/subject_name.js +71 -0
  64. package/components/subject_name.js.map +1 -0
  65. package/dist/cjs/arrow_top-834fb7ec.js +37 -0
  66. package/dist/cjs/arrow_top-834fb7ec.js.map +1 -0
  67. package/dist/cjs/button-14e2b73f.js +77 -0
  68. package/dist/cjs/button-14e2b73f.js.map +1 -0
  69. package/dist/cjs/{certification_request-d5c6e32d.js → certification_request-c0cafa72.js} +236 -71
  70. package/dist/cjs/certification_request-c0cafa72.js.map +1 -0
  71. package/dist/cjs/{crl-5bce64c4.js → crl-b4322166.js} +8 -7
  72. package/dist/cjs/crl-b4322166.js.map +1 -0
  73. package/dist/cjs/download-254ddc57.js +23 -0
  74. package/dist/cjs/download-254ddc57.js.map +1 -0
  75. package/dist/cjs/{download-93f7b773.js → download-972dda8a.js} +2 -0
  76. package/dist/cjs/download-972dda8a.js.map +1 -0
  77. package/dist/cjs/index-efd561e9.js +2477 -0
  78. package/dist/cjs/index-efd561e9.js.map +1 -0
  79. package/dist/cjs/index.cjs.js +3 -1
  80. package/dist/cjs/index.cjs.js.map +1 -0
  81. package/dist/cjs/loader.cjs.js +6 -12
  82. package/dist/cjs/loader.cjs.js.map +1 -0
  83. package/dist/cjs/{miscellaneous-cac1cd8b.js → miscellaneous-806a04a5.js} +86 -70
  84. package/dist/cjs/miscellaneous-806a04a5.js.map +1 -0
  85. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +92 -35
  86. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +1 -0
  87. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +110 -0
  88. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +1 -0
  89. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +30 -19
  90. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -0
  91. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +34 -11
  92. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -0
  93. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +183 -85
  94. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -0
  95. package/dist/cjs/peculiar-text-hider.cjs.entry.js +7 -13
  96. package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +1 -0
  97. package/dist/cjs/peculiar.cjs.js +10 -57
  98. package/dist/cjs/peculiar.cjs.js.map +1 -0
  99. package/dist/cjs/{x509_certificate-3760e0a8.js → x509_certificate-989b1435.js} +5 -4
  100. package/dist/cjs/x509_certificate-989b1435.js.map +1 -0
  101. package/dist/collection/collection-manifest.json +12 -16
  102. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +189 -145
  103. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js.map +1 -0
  104. package/dist/collection/components/button/button.js +14 -126
  105. package/dist/collection/components/button/button.js.map +1 -0
  106. package/dist/collection/components/button/index.js +5 -0
  107. package/dist/collection/components/button/index.js.map +1 -0
  108. package/dist/collection/components/button-menu/button-menu.css +46 -0
  109. package/dist/collection/components/button-menu/button-menu.js +78 -0
  110. package/dist/collection/components/button-menu/button-menu.js.map +1 -0
  111. package/dist/collection/components/certificate-decoder/certificate-decoder.css +456 -44
  112. package/dist/collection/components/certificate-decoder/certificate-decoder.js +109 -101
  113. package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -0
  114. package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js +6 -11
  115. package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js.map +1 -0
  116. package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js +5 -5
  117. package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js.map +1 -0
  118. package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js +5 -6
  119. package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js.map +1 -0
  120. package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js +5 -5
  121. package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js.map +1 -0
  122. package/dist/collection/components/certificate-details-parts/attributes/index.js +16 -15
  123. package/dist/collection/components/certificate-details-parts/attributes/index.js.map +1 -0
  124. package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js +5 -5
  125. package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js.map +1 -0
  126. package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js +5 -5
  127. package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js.map +1 -0
  128. package/dist/collection/components/certificate-details-parts/attributes/name_part.js +4 -3
  129. package/dist/collection/components/certificate-details-parts/attributes/name_part.js.map +1 -0
  130. package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js +5 -4
  131. package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js.map +1 -0
  132. package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js +5 -5
  133. package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js.map +1 -0
  134. package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js +5 -5
  135. package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js.map +1 -0
  136. package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js +6 -13
  137. package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js.map +1 -0
  138. package/dist/collection/components/certificate-details-parts/basic_information.js +4 -3
  139. package/dist/collection/components/certificate-details-parts/basic_information.js.map +1 -0
  140. package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js +5 -5
  141. package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js.map +1 -0
  142. package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js +5 -5
  143. package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js.map +1 -0
  144. package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js +2 -1
  145. package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js.map +1 -0
  146. package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js +10 -15
  147. package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js.map +1 -0
  148. package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js +6 -7
  149. package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js.map +1 -0
  150. package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js +5 -6
  151. package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js.map +1 -0
  152. package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js +8 -12
  153. package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js.map +1 -0
  154. package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js +5 -6
  155. package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js.map +1 -0
  156. package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js +26 -27
  157. package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js.map +1 -0
  158. package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js +5 -7
  159. package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js.map +1 -0
  160. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js +8 -13
  161. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js.map +1 -0
  162. package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js +4 -3
  163. package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js.map +1 -0
  164. package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js +6 -6
  165. package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js.map +1 -0
  166. package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js +5 -5
  167. package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js.map +1 -0
  168. package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js +5 -5
  169. package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js.map +1 -0
  170. package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js +5 -6
  171. package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js.map +1 -0
  172. package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js +7 -7
  173. package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js.map +1 -0
  174. package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js +7 -6
  175. package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js.map +1 -0
  176. package/dist/collection/components/certificate-details-parts/extensions/index.js +46 -45
  177. package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -0
  178. package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js +8 -9
  179. package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js.map +1 -0
  180. package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js +7 -11
  181. package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js.map +1 -0
  182. package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js +5 -5
  183. package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js.map +1 -0
  184. package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js +5 -5
  185. package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js.map +1 -0
  186. package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js +5 -5
  187. package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js.map +1 -0
  188. package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js +8 -11
  189. package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js.map +1 -0
  190. package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js +4 -3
  191. package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js.map +1 -0
  192. package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js +5 -5
  193. package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js.map +1 -0
  194. package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js +5 -5
  195. package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js.map +1 -0
  196. package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js +6 -7
  197. package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js.map +1 -0
  198. package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js +5 -4
  199. package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js.map +1 -0
  200. package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js +6 -7
  201. package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js.map +1 -0
  202. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js +13 -16
  203. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js.map +1 -0
  204. package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js +4 -3
  205. package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js.map +1 -0
  206. package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js +8 -9
  207. package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js.map +1 -0
  208. package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js +10 -15
  209. package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js.map +1 -0
  210. package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js +7 -9
  211. package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js.map +1 -0
  212. package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js +4 -3
  213. package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js.map +1 -0
  214. package/dist/collection/components/certificate-details-parts/holder.js +8 -11
  215. package/dist/collection/components/certificate-details-parts/holder.js.map +1 -0
  216. package/dist/collection/components/certificate-details-parts/index.js +1 -0
  217. package/dist/collection/components/certificate-details-parts/index.js.map +1 -0
  218. package/dist/collection/components/certificate-details-parts/issuer.js +5 -4
  219. package/dist/collection/components/certificate-details-parts/issuer.js.map +1 -0
  220. package/dist/collection/components/certificate-details-parts/issuer_name.js +6 -4
  221. package/dist/collection/components/certificate-details-parts/issuer_name.js.map +1 -0
  222. package/dist/collection/components/certificate-details-parts/miscellaneous.js +8 -13
  223. package/dist/collection/components/certificate-details-parts/miscellaneous.js.map +1 -0
  224. package/dist/collection/components/certificate-details-parts/public_key.js +8 -7
  225. package/dist/collection/components/certificate-details-parts/public_key.js.map +1 -0
  226. package/dist/collection/components/certificate-details-parts/revoked_certificates.js +9 -11
  227. package/dist/collection/components/certificate-details-parts/revoked_certificates.js.map +1 -0
  228. package/dist/collection/components/certificate-details-parts/row.js +13 -18
  229. package/dist/collection/components/certificate-details-parts/row.js.map +1 -0
  230. package/dist/collection/components/certificate-details-parts/signature.js +5 -4
  231. package/dist/collection/components/certificate-details-parts/signature.js.map +1 -0
  232. package/dist/collection/components/certificate-details-parts/subject_name.js +4 -3
  233. package/dist/collection/components/certificate-details-parts/subject_name.js.map +1 -0
  234. package/dist/collection/components/certificate-details-parts/thumbprints.js +4 -3
  235. package/dist/collection/components/certificate-details-parts/thumbprints.js.map +1 -0
  236. package/dist/collection/components/certificate-summary/certificate-summary.js +9 -77
  237. package/dist/collection/components/certificate-summary/certificate-summary.js.map +1 -0
  238. package/dist/collection/components/certificate-summary/index.js +5 -0
  239. package/dist/collection/components/certificate-summary/index.js.map +1 -0
  240. package/dist/collection/components/certificate-viewer/certificate-viewer.css +471 -104
  241. package/dist/collection/components/certificate-viewer/certificate-viewer.js +206 -178
  242. package/dist/collection/components/certificate-viewer/certificate-viewer.js.map +1 -0
  243. package/dist/collection/components/certificates-viewer/certificates-viewer.css +540 -267
  244. package/dist/collection/components/certificates-viewer/certificates-viewer.js +261 -266
  245. package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -0
  246. package/dist/collection/components/circular-progress/circular-progress.css +2 -11
  247. package/dist/collection/components/circular-progress/circular-progress.js +60 -63
  248. package/dist/collection/components/circular-progress/circular-progress.js.map +1 -0
  249. package/dist/collection/components/crl-viewer/crl-viewer.js +166 -139
  250. package/dist/collection/components/crl-viewer/crl-viewer.js.map +1 -0
  251. package/dist/collection/components/csr-viewer/csr-viewer.js +149 -124
  252. package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -0
  253. package/dist/collection/components/highlight-words/highlight-words.css +1 -9
  254. package/dist/collection/components/highlight-words/highlight-words.js +35 -28
  255. package/dist/collection/components/highlight-words/highlight-words.js.map +1 -0
  256. package/dist/collection/components/icons/actions.js +16 -0
  257. package/dist/collection/components/icons/actions.js.map +1 -0
  258. package/dist/collection/components/icons/arrow_bottom.js +16 -0
  259. package/dist/collection/components/icons/arrow_bottom.js.map +1 -0
  260. package/dist/collection/components/icons/arrow_top.js +16 -0
  261. package/dist/collection/components/icons/arrow_top.js.map +1 -0
  262. package/dist/collection/components/icons/cross.js +16 -0
  263. package/dist/collection/components/icons/cross.js.map +1 -0
  264. package/dist/collection/components/icons/details.js +16 -0
  265. package/dist/collection/components/icons/details.js.map +1 -0
  266. package/dist/collection/components/icons/download.js +16 -0
  267. package/dist/collection/components/icons/download.js.map +1 -0
  268. package/dist/collection/components/icons/index.js +11 -0
  269. package/dist/collection/components/icons/index.js.map +1 -0
  270. package/dist/collection/components/icons/link.js +16 -0
  271. package/dist/collection/components/icons/link.js.map +1 -0
  272. package/dist/collection/components/link/index.js +5 -0
  273. package/dist/collection/components/link/index.js.map +1 -0
  274. package/dist/collection/components/link/link.js +9 -61
  275. package/dist/collection/components/link/link.js.map +1 -0
  276. package/dist/collection/components/text-hider/text-hider.css +9 -36
  277. package/dist/collection/components/text-hider/text-hider.js +21 -68
  278. package/dist/collection/components/text-hider/text-hider.js.map +1 -0
  279. package/dist/collection/components/typography/index.js +5 -0
  280. package/dist/collection/components/typography/index.js.map +1 -0
  281. package/dist/collection/components/typography/typography.js +39 -126
  282. package/dist/collection/components/typography/typography.js.map +1 -0
  283. package/dist/collection/constants/logs.js +1 -0
  284. package/dist/collection/constants/logs.js.map +1 -0
  285. package/dist/collection/constants/oids.js +1 -0
  286. package/dist/collection/constants/oids.js.map +1 -0
  287. package/dist/collection/crypto/asn_data.js +13 -7
  288. package/dist/collection/crypto/asn_data.js.map +1 -0
  289. package/dist/collection/crypto/attribute.js +11 -10
  290. package/dist/collection/crypto/attribute.js.map +1 -0
  291. package/dist/collection/crypto/crl.js +9 -8
  292. package/dist/collection/crypto/crl.js.map +1 -0
  293. package/dist/collection/crypto/csr.js +11 -10
  294. package/dist/collection/crypto/csr.js.map +1 -0
  295. package/dist/collection/crypto/extension.js +16 -15
  296. package/dist/collection/crypto/extension.js.map +1 -0
  297. package/dist/collection/crypto/index.js +1 -0
  298. package/dist/collection/crypto/index.js.map +1 -0
  299. package/dist/collection/crypto/name.js +15 -9
  300. package/dist/collection/crypto/name.js.map +1 -0
  301. package/dist/collection/crypto/provider.js +4 -3
  302. package/dist/collection/crypto/provider.js.map +1 -0
  303. package/dist/collection/crypto/utils.js +4 -3
  304. package/dist/collection/crypto/utils.js.map +1 -0
  305. package/dist/collection/crypto/x509_attribute_certificate.js +9 -8
  306. package/dist/collection/crypto/x509_attribute_certificate.js.map +1 -0
  307. package/dist/collection/crypto/x509_certificate.js +12 -11
  308. package/dist/collection/crypto/x509_certificate.js.map +1 -0
  309. package/dist/collection/index.js +1 -0
  310. package/dist/collection/index.js.map +1 -0
  311. package/dist/collection/locales/en.json +4 -3
  312. package/dist/collection/utils/date_formatter.js +3 -2
  313. package/dist/collection/utils/date_formatter.js.map +1 -0
  314. package/dist/collection/utils/download.js +3 -2
  315. package/dist/collection/utils/download.js.map +1 -0
  316. package/dist/collection/utils/download_from_buffer.js +1 -0
  317. package/dist/collection/utils/download_from_buffer.js.map +1 -0
  318. package/dist/collection/utils/get_string_by_oid.js +2 -1
  319. package/dist/collection/utils/get_string_by_oid.js.map +1 -0
  320. package/dist/collection/utils/index.js +2 -1
  321. package/dist/collection/utils/index.js.map +1 -0
  322. package/dist/collection/utils/is_link.js +1 -0
  323. package/dist/collection/utils/is_link.js.map +1 -0
  324. package/dist/collection/utils/l10n.js +2 -1
  325. package/dist/collection/utils/l10n.js.map +1 -0
  326. package/dist/collection/utils/read_file.js +1 -0
  327. package/dist/collection/utils/read_file.js.map +1 -0
  328. package/dist/collection/utils/third_party_links.js +1 -0
  329. package/dist/collection/utils/third_party_links.js.map +1 -0
  330. package/dist/collection/utils/validator.js +1 -0
  331. package/dist/collection/utils/validator.js.map +1 -0
  332. package/dist/collection/www-copy/index.js +138 -32
  333. package/dist/esm/arrow_top-efd3a56d.js +34 -0
  334. package/dist/esm/arrow_top-efd3a56d.js.map +1 -0
  335. package/dist/esm/button-35146bdd.js +74 -0
  336. package/dist/esm/button-35146bdd.js.map +1 -0
  337. package/dist/esm/{certification_request-23cd5124.js → certification_request-5cadde9f.js} +171 -9
  338. package/dist/esm/certification_request-5cadde9f.js.map +1 -0
  339. package/dist/esm/{crl-7f23c111.js → crl-11670c3e.js} +7 -6
  340. package/dist/esm/crl-11670c3e.js.map +1 -0
  341. package/dist/esm/download-0cc3077a.js +21 -0
  342. package/dist/esm/download-0cc3077a.js.map +1 -0
  343. package/dist/esm/download-57c5bf8f.js +470 -0
  344. package/dist/esm/download-57c5bf8f.js.map +1 -0
  345. package/dist/esm/index-4079bbb5.js +2448 -0
  346. package/dist/esm/index-4079bbb5.js.map +1 -0
  347. package/dist/esm/index.js +3 -1
  348. package/dist/esm/index.js.map +1 -0
  349. package/dist/esm/loader.js +6 -12
  350. package/dist/esm/loader.js.map +1 -0
  351. package/dist/esm/{miscellaneous-c7c0d04a.js → miscellaneous-1d4e8b41.js} +53 -37
  352. package/dist/esm/miscellaneous-1d4e8b41.js.map +1 -0
  353. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +80 -23
  354. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -0
  355. package/dist/esm/peculiar-button-menu_3.entry.js +104 -0
  356. package/dist/esm/peculiar-button-menu_3.entry.js.map +1 -0
  357. package/dist/esm/peculiar-certificate-decoder.entry.js +30 -19
  358. package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -0
  359. package/dist/esm/peculiar-certificate-viewer.entry.js +34 -11
  360. package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -0
  361. package/dist/esm/peculiar-certificates-viewer.entry.js +183 -85
  362. package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -0
  363. package/dist/esm/peculiar-text-hider.entry.js +7 -13
  364. package/dist/esm/peculiar-text-hider.entry.js.map +1 -0
  365. package/dist/esm/peculiar.js +8 -58
  366. package/dist/esm/peculiar.js.map +1 -0
  367. package/dist/esm/{x509_certificate-d8e0af2d.js → x509_certificate-dfae6999.js} +4 -3
  368. package/dist/esm/x509_certificate-dfae6999.js.map +1 -0
  369. package/dist/esm-es5/arrow_top-efd3a56d.js +19 -0
  370. package/dist/esm-es5/arrow_top-efd3a56d.js.map +1 -0
  371. package/dist/esm-es5/button-35146bdd.js +19 -0
  372. package/dist/esm-es5/button-35146bdd.js.map +1 -0
  373. package/dist/esm-es5/certification_request-5cadde9f.js +97 -0
  374. package/dist/esm-es5/certification_request-5cadde9f.js.map +1 -0
  375. package/dist/esm-es5/crl-11670c3e.js +33 -0
  376. package/dist/esm-es5/crl-11670c3e.js.map +1 -0
  377. package/dist/esm-es5/download-0cc3077a.js +12 -0
  378. package/dist/esm-es5/download-0cc3077a.js.map +1 -0
  379. package/dist/esm-es5/download-57c5bf8f.js +19 -0
  380. package/dist/esm-es5/download-57c5bf8f.js.map +1 -0
  381. package/dist/esm-es5/index-4079bbb5.js +6 -0
  382. package/dist/esm-es5/index-4079bbb5.js.map +1 -0
  383. package/dist/esm-es5/index.js +5 -0
  384. package/dist/esm-es5/index.js.map +1 -0
  385. package/dist/esm-es5/loader.js +5 -0
  386. package/dist/esm-es5/loader.js.map +1 -0
  387. package/dist/esm-es5/miscellaneous-1d4e8b41.js +355 -0
  388. package/dist/esm-es5/miscellaneous-1d4e8b41.js.map +1 -0
  389. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +110 -0
  390. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -0
  391. package/dist/esm-es5/peculiar-button-menu_3.entry.js +12 -0
  392. package/dist/esm-es5/peculiar-button-menu_3.entry.js.map +1 -0
  393. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +12 -0
  394. package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -0
  395. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +5 -0
  396. package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -0
  397. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +33 -0
  398. package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -0
  399. package/dist/esm-es5/peculiar-text-hider.entry.js +5 -0
  400. package/dist/esm-es5/peculiar-text-hider.entry.js.map +1 -0
  401. package/dist/esm-es5/peculiar.js +5 -0
  402. package/dist/esm-es5/peculiar.js.map +1 -0
  403. package/dist/esm-es5/x509_certificate-dfae6999.js +12 -0
  404. package/dist/esm-es5/x509_certificate-dfae6999.js.map +1 -0
  405. package/dist/index.js +1 -1
  406. package/dist/peculiar/index.esm.js +2 -1
  407. package/dist/peculiar/index.esm.js.map +1 -0
  408. package/dist/peculiar/locales/en.json +4 -3
  409. package/dist/peculiar/p-0b356bb5.js +6 -0
  410. package/dist/peculiar/p-0b356bb5.js.map +1 -0
  411. package/dist/peculiar/p-0bdcdbf7.system.js +355 -0
  412. package/dist/peculiar/p-0bdcdbf7.system.js.map +1 -0
  413. package/dist/peculiar/p-17e3c47b.js +12 -0
  414. package/dist/peculiar/p-17e3c47b.js.map +1 -0
  415. package/dist/peculiar/p-23555789.system.entry.js +34 -0
  416. package/dist/peculiar/p-23555789.system.entry.js.map +1 -0
  417. package/dist/peculiar/p-26981468.system.entry.js +5 -0
  418. package/dist/peculiar/p-26981468.system.entry.js.map +1 -0
  419. package/dist/peculiar/p-2fcad8cb.system.js +20 -0
  420. package/dist/peculiar/p-2fcad8cb.system.js.map +1 -0
  421. package/dist/peculiar/p-31586b23.system.js +13 -0
  422. package/dist/peculiar/p-31586b23.system.js.map +1 -0
  423. package/dist/peculiar/p-43eb3721.js +33 -0
  424. package/dist/peculiar/p-43eb3721.js.map +1 -0
  425. package/dist/peculiar/p-5823e6e8.entry.js +12 -0
  426. package/dist/peculiar/p-5823e6e8.entry.js.map +1 -0
  427. package/dist/peculiar/p-596836a7.entry.js +33 -0
  428. package/dist/peculiar/p-596836a7.entry.js.map +1 -0
  429. package/dist/peculiar/p-5aabeba7.system.js +6 -0
  430. package/dist/peculiar/p-5aabeba7.system.js.map +1 -0
  431. package/dist/peculiar/p-6667fe6e.system.js +34 -0
  432. package/dist/peculiar/p-6667fe6e.system.js.map +1 -0
  433. package/dist/peculiar/p-6e79b9c8.js +12 -0
  434. package/dist/peculiar/p-6e79b9c8.js.map +1 -0
  435. package/dist/peculiar/p-709994c1.js +19 -0
  436. package/dist/peculiar/p-709994c1.js.map +1 -0
  437. package/dist/peculiar/p-74c241e7.js +97 -0
  438. package/dist/peculiar/p-74c241e7.js.map +1 -0
  439. package/dist/peculiar/p-7ed7cd97.system.entry.js +111 -0
  440. package/dist/peculiar/p-7ed7cd97.system.entry.js.map +1 -0
  441. package/dist/peculiar/p-7f9beaa8.js +19 -0
  442. package/dist/peculiar/p-7f9beaa8.js.map +1 -0
  443. package/dist/peculiar/p-80832207.system.js +5 -0
  444. package/dist/peculiar/p-80832207.system.js.map +1 -0
  445. package/dist/peculiar/p-8748391f.system.entry.js +5 -0
  446. package/dist/peculiar/p-8748391f.system.entry.js.map +1 -0
  447. package/dist/peculiar/p-882e1281.entry.js +12 -0
  448. package/dist/peculiar/p-882e1281.entry.js.map +1 -0
  449. package/dist/peculiar/p-90459cec.entry.js +5 -0
  450. package/dist/peculiar/p-90459cec.entry.js.map +1 -0
  451. package/dist/peculiar/p-97688065.js +355 -0
  452. package/dist/peculiar/p-97688065.js.map +1 -0
  453. package/dist/peculiar/p-a053c132.js +19 -0
  454. package/dist/peculiar/p-a053c132.js.map +1 -0
  455. package/dist/peculiar/p-ae9189f6.system.js +19 -0
  456. package/dist/peculiar/p-ae9189f6.system.js.map +1 -0
  457. package/dist/peculiar/p-bd485115.system.entry.js +13 -0
  458. package/dist/peculiar/p-bd485115.system.entry.js.map +1 -0
  459. package/dist/peculiar/p-c0a298fd.system.js +97 -0
  460. package/dist/peculiar/p-c0a298fd.system.js.map +1 -0
  461. package/dist/peculiar/p-daf23673.system.js +20 -0
  462. package/dist/peculiar/p-daf23673.system.js.map +1 -0
  463. package/dist/peculiar/p-e1960173.system.js +5 -0
  464. package/dist/peculiar/p-e1960173.system.js.map +1 -0
  465. package/dist/peculiar/p-e39de121.system.entry.js +13 -0
  466. package/dist/peculiar/p-e39de121.system.entry.js.map +1 -0
  467. package/dist/peculiar/p-e6a3b4d4.system.js +13 -0
  468. package/dist/peculiar/p-e6a3b4d4.system.js.map +1 -0
  469. package/dist/peculiar/p-f3d85a5f.entry.js +110 -0
  470. package/dist/peculiar/p-f3d85a5f.entry.js.map +1 -0
  471. package/dist/peculiar/p-fd4b9a50.entry.js +5 -0
  472. package/dist/peculiar/p-fd4b9a50.entry.js.map +1 -0
  473. package/dist/peculiar/peculiar.css +1 -1
  474. package/dist/peculiar/peculiar.esm.js +2 -1
  475. package/dist/peculiar/peculiar.esm.js.map +1 -0
  476. package/dist/peculiar/peculiar.js +127 -0
  477. package/dist/types/components/attribute-certificate-viewer/attribute-certificate-viewer.d.ts +15 -3
  478. package/dist/types/components/button/button.d.ts +5 -16
  479. package/dist/types/components/button/index.d.ts +2 -0
  480. package/dist/types/components/button-menu/button-menu.d.ts +21 -0
  481. package/dist/types/components/certificate-decoder/certificate-decoder.d.ts +9 -6
  482. package/dist/types/components/certificate-details-parts/miscellaneous.d.ts +1 -1
  483. package/dist/types/components/certificate-summary/certificate-summary.d.ts +4 -3
  484. package/dist/types/components/certificate-summary/index.d.ts +1 -0
  485. package/dist/types/components/certificate-viewer/certificate-viewer.d.ts +13 -5
  486. package/dist/types/components/certificates-viewer/certificates-viewer.d.ts +22 -11
  487. package/dist/types/components/crl-viewer/crl-viewer.d.ts +13 -5
  488. package/dist/types/components/csr-viewer/csr-viewer.d.ts +13 -5
  489. package/dist/types/components/icons/actions.d.ts +12 -0
  490. package/dist/types/components/icons/arrow_bottom.d.ts +12 -0
  491. package/dist/types/components/icons/arrow_top.d.ts +12 -0
  492. package/dist/types/components/icons/cross.d.ts +12 -0
  493. package/dist/types/components/icons/details.d.ts +12 -0
  494. package/dist/types/components/icons/download.d.ts +12 -0
  495. package/dist/types/components/icons/index.d.ts +7 -0
  496. package/dist/types/components/icons/link.d.ts +12 -0
  497. package/dist/types/components/link/index.d.ts +1 -0
  498. package/dist/types/components/link/link.d.ts +6 -6
  499. package/dist/types/components/text-hider/text-hider.d.ts +0 -3
  500. package/dist/types/components/typography/index.d.ts +1 -0
  501. package/dist/types/components/typography/typography.d.ts +10 -20
  502. package/dist/types/components.d.ts +74 -175
  503. package/dist/types/crypto/attribute.d.ts +1 -1
  504. package/dist/types/crypto/extension.d.ts +1 -1
  505. package/dist/types/interface.d.ts +98 -6
  506. package/dist/types/stencil-public-runtime.d.ts +110 -23
  507. package/dist/types/utils/l10n.d.ts +5 -4
  508. package/dist/types/utils/read_file.d.ts +1 -1
  509. package/hydrate/index.d.ts +218 -0
  510. package/hydrate/index.js +22549 -0
  511. package/hydrate/package.json +6 -0
  512. package/loader/index.d.ts +10 -1
  513. package/loader/index.js +1 -1
  514. package/loader/package.json +1 -0
  515. package/package.json +6 -4
  516. package/dist/cjs/dom-f57e260e.js +0 -78
  517. package/dist/cjs/index-064e95c7.js +0 -1486
  518. package/dist/cjs/l10n-ddc7cff9.js +0 -169
  519. package/dist/cjs/peculiar-button-split_4.cjs.entry.js +0 -128
  520. package/dist/cjs/peculiar-button.cjs.entry.js +0 -40
  521. package/dist/cjs/peculiar-link.cjs.entry.js +0 -29
  522. package/dist/cjs/peculiar-typography.cjs.entry.js +0 -38
  523. package/dist/collection/components/button/button.css +0 -81
  524. package/dist/collection/components/button-split/button-split.css +0 -57
  525. package/dist/collection/components/button-split/button-split.js +0 -116
  526. package/dist/collection/components/certificate-summary/certificate-summary.css +0 -49
  527. package/dist/collection/components/link/link.css +0 -59
  528. package/dist/collection/components/typography/typography.css +0 -95
  529. package/dist/esm/dom-f1b08a97.js +0 -76
  530. package/dist/esm/index-bbd484d9.js +0 -1455
  531. package/dist/esm/l10n-d48f35ff.js +0 -165
  532. package/dist/esm/peculiar-button-split_4.entry.js +0 -121
  533. package/dist/esm/peculiar-button.entry.js +0 -36
  534. package/dist/esm/peculiar-link.entry.js +0 -25
  535. package/dist/esm/peculiar-typography.entry.js +0 -34
  536. package/dist/esm/polyfills/css-shim.js +0 -1
  537. package/dist/peculiar/p-01cea5c0.entry.js +0 -11
  538. package/dist/peculiar/p-3bfefa4a.entry.js +0 -18
  539. package/dist/peculiar/p-4e8169cb.entry.js +0 -4
  540. package/dist/peculiar/p-57b89412.entry.js +0 -4
  541. package/dist/peculiar/p-5b4eed12.entry.js +0 -4
  542. package/dist/peculiar/p-610b85e3.entry.js +0 -4
  543. package/dist/peculiar/p-6d37c8b5.entry.js +0 -4
  544. package/dist/peculiar/p-711b4e1e.js +0 -18
  545. package/dist/peculiar/p-81a88a33.js +0 -11
  546. package/dist/peculiar/p-918aeee4.entry.js +0 -4
  547. package/dist/peculiar/p-9f4ee110.js +0 -22
  548. package/dist/peculiar/p-a050e184.js +0 -69
  549. package/dist/peculiar/p-c24c26c2.js +0 -32
  550. package/dist/peculiar/p-df53fbcc.entry.js +0 -4
  551. package/dist/peculiar/p-ec250cc4.js +0 -12
  552. package/dist/peculiar/p-f7683ba5.js +0 -5
  553. package/dist/peculiar/p-fe05f51e.js +0 -79
  554. package/dist/types/components/button-split/button-split.d.ts +0 -21
@@ -62,7 +62,7 @@ export interface PropOptions {
62
62
  /**
63
63
  * The name of the associated DOM attribute.
64
64
  * Stencil uses different heuristics to determine the default name of the attribute,
65
- * but using this property, you can override the default behaviour.
65
+ * but using this property, you can override the default behavior.
66
66
  */
67
67
  attribute?: string | null;
68
68
  /**
@@ -128,12 +128,12 @@ export interface ListenOptions {
128
128
  * By default, Stencil uses several heuristics to determine if
129
129
  * it must attach a `passive` event listener or not.
130
130
  *
131
- * Using the `passive` option can be used to change the default behaviour.
131
+ * Using the `passive` option can be used to change the default behavior.
132
132
  * Please see https://developers.google.com/web/updates/2016/06/passive-event-listeners for further information.
133
133
  */
134
134
  passive?: boolean;
135
135
  }
136
- export declare type ListenTargetOptions = 'body' | 'document' | 'window';
136
+ export type ListenTargetOptions = 'body' | 'document' | 'window';
137
137
  export interface StateDecorator {
138
138
  (): PropertyDecorator;
139
139
  }
@@ -214,14 +214,16 @@ export declare const State: StateDecorator;
214
214
  * https://stenciljs.com/docs/reactive-data#watch-decorator
215
215
  */
216
216
  export declare const Watch: WatchDecorator;
217
- export declare type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
218
- export declare type ErrorHandler = (err: any, element?: HTMLElement) => void;
217
+ export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
218
+ export type ErrorHandler = (err: any, element?: HTMLElement) => void;
219
219
  /**
220
220
  * `setMode()` is used for libraries which provide multiple "modes" for styles.
221
221
  */
222
222
  export declare const setMode: (handler: ResolutionHandler) => void;
223
223
  /**
224
- * getMode
224
+ * `getMode()` is used for libraries which provide multiple "modes" for styles.
225
+ * @param ref a reference to the node to get styles for
226
+ * @returns the current mode or undefined, if not found
225
227
  */
226
228
  export declare function getMode<T = string | undefined>(ref: any): T;
227
229
  export declare function setPlatformHelpers(helpers: {
@@ -234,6 +236,9 @@ export declare function setPlatformHelpers(helpers: {
234
236
  /**
235
237
  * Get the base path to where the assets can be found. Use `setAssetPath(path)`
236
238
  * if the path needs to be customized.
239
+ * @param path the path to use in calculating the asset path. this value will be
240
+ * used in conjunction with the base asset path
241
+ * @returns the base path
237
242
  */
238
243
  export declare function getAssetPath(path: string): string;
239
244
  /**
@@ -246,22 +251,38 @@ export declare function getAssetPath(path: string): string;
246
251
  * `setAssetPath(document.currentScript.src)`, or using a bundler's replace plugin to
247
252
  * dynamically set the path at build time, such as `setAssetPath(process.env.ASSET_PATH)`.
248
253
  * But do note that this configuration depends on how your script is bundled, or lack of
249
- * bunding, and where your assets can be loaded from. Additionally custom bundling
254
+ * bundling, and where your assets can be loaded from. Additionally custom bundling
250
255
  * will have to ensure the static assets are copied to its build directory.
256
+ * @param path the asset path to set
257
+ * @returns the set path
251
258
  */
252
259
  export declare function setAssetPath(path: string): string;
253
260
  /**
254
- * getElement
261
+ * Used to specify a nonce value that corresponds with an application's
262
+ * [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP).
263
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
264
+ * Alternatively, the nonce value can be set on a `meta` tag in the DOM head
265
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) and will result in the same behavior.
266
+ * @param nonce The value to be used for the nonce attribute.
267
+ */
268
+ export declare function setNonce(nonce: string): void;
269
+ /**
270
+ * Retrieve a Stencil element for a given reference
271
+ * @param ref the ref to get the Stencil element for
272
+ * @returns a reference to the element
255
273
  */
256
274
  export declare function getElement(ref: any): HTMLStencilElement;
257
275
  /**
258
276
  * Schedules a new render of the given instance or element even if no state changed.
259
277
  *
260
- * Notice `forceUpdate()` is not syncronous and might perform the DOM render in the next frame.
278
+ * Notice `forceUpdate()` is not synchronous and might perform the DOM render in the next frame.
279
+ *
280
+ * @param ref the node/element to force the re-render of
261
281
  */
262
282
  export declare function forceUpdate(ref: any): void;
263
283
  /**
264
284
  * getRenderingRef
285
+ * @returns the rendering ref
265
286
  */
266
287
  export declare function getRenderingRef(): any;
267
288
  export interface HTMLStencilElement extends HTMLElement {
@@ -272,6 +293,8 @@ export interface HTMLStencilElement extends HTMLElement {
272
293
  * in the best moment to perform DOM mutation without causing layout thrashing.
273
294
  *
274
295
  * For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
296
+ *
297
+ * @param task the DOM-write to schedule
275
298
  */
276
299
  export declare function writeTask(task: RafCallback): void;
277
300
  /**
@@ -279,6 +302,8 @@ export declare function writeTask(task: RafCallback): void;
279
302
  * in the best moment to perform DOM reads without causing layout thrashing.
280
303
  *
281
304
  * For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
305
+ *
306
+ * @param task the DOM-read to schedule
282
307
  */
283
308
  export declare function readTask(task: RafCallback): void;
284
309
  /**
@@ -407,7 +432,7 @@ export interface QueueApi {
407
432
  /**
408
433
  * Host
409
434
  */
410
- interface HostAttributes {
435
+ export interface HostAttributes {
411
436
  class?: string | {
412
437
  [className: string]: boolean;
413
438
  };
@@ -417,13 +442,57 @@ interface HostAttributes {
417
442
  ref?: (el: HTMLElement | null) => void;
418
443
  [prop: string]: any;
419
444
  }
445
+ /**
446
+ * Utilities for working with functional Stencil components. An object
447
+ * conforming to this interface is passed by the Stencil runtime as the third
448
+ * argument to a functional component, allowing component authors to work with
449
+ * features like children.
450
+ *
451
+ * The children of a functional component will be passed as the second
452
+ * argument, so a functional component which uses these utils to transform its
453
+ * children might look like the following:
454
+ *
455
+ * ```ts
456
+ * export const AddClass: FunctionalComponent = (_, children, utils) => (
457
+ * utils.map(children, child => ({
458
+ * ...child,
459
+ * vattrs: {
460
+ * ...child.vattrs,
461
+ * class: `${child.vattrs.class} add-class`
462
+ * }
463
+ * }))
464
+ * );
465
+ * ```
466
+ *
467
+ * For more see the Stencil documentation, here:
468
+ * https://stenciljs.com/docs/functional-components
469
+ */
420
470
  export interface FunctionalUtilities {
471
+ /**
472
+ * Utility for reading the children of a functional component at runtime.
473
+ * Since the Stencil runtime uses a different interface for children it is
474
+ * not recommended to read the children directly, and is preferable to use
475
+ * this utility to, for instance, perform a side effect for each child.
476
+ */
421
477
  forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
478
+ /**
479
+ * Utility for transforming the children of a functional component. Given an
480
+ * array of children and a callback this will return a list of the results of
481
+ * passing each child to the supplied callback.
482
+ */
422
483
  map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
423
484
  }
424
485
  export interface FunctionalComponent<T = {}> {
425
486
  (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
426
487
  }
488
+ /**
489
+ * A Child VDOM node
490
+ *
491
+ * This has most of the same properties as {@link VNode} but friendlier names
492
+ * (i.e. `vtag` instead of `$tag$`, `vchildren` instead of `$children$`) in
493
+ * order to provide a friendlier public interface for users of the
494
+ * {@link FunctionalUtilities}).
495
+ */
427
496
  export interface ChildNode {
428
497
  vtag?: string | number | Function;
429
498
  vkey?: string | number;
@@ -470,6 +539,9 @@ export declare function h(sel: any, children: Array<VNode | undefined | null>):
470
539
  export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
471
540
  export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
472
541
  export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
542
+ /**
543
+ * A virtual DOM node
544
+ */
473
545
  export interface VNode {
474
546
  $flags$: number;
475
547
  $tag$: string | number | Function;
@@ -740,6 +812,7 @@ export declare namespace JSXBase {
740
812
  datetime?: string;
741
813
  }
742
814
  interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
815
+ onCancel?: (event: Event) => void;
743
816
  onClose?: (event: Event) => void;
744
817
  open?: boolean;
745
818
  returnValue?: string;
@@ -799,6 +872,8 @@ export declare namespace JSXBase {
799
872
  }
800
873
  interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
801
874
  alt?: string;
875
+ crossOrigin?: string;
876
+ crossorigin?: string;
802
877
  decoding?: 'async' | 'auto' | 'sync';
803
878
  importance?: 'low' | 'auto' | 'high';
804
879
  height?: number | string;
@@ -820,8 +895,8 @@ export declare namespace JSXBase {
820
895
  accept?: string;
821
896
  allowdirs?: boolean;
822
897
  alt?: string;
823
- autoCapitalize?: any;
824
- autocapitalize?: any;
898
+ autoCapitalize?: string;
899
+ autocapitalize?: string;
825
900
  autoComplete?: string;
826
901
  autocomplete?: string;
827
902
  autoFocus?: boolean;
@@ -857,6 +932,8 @@ export declare namespace JSXBase {
857
932
  minlength?: number | string;
858
933
  multiple?: boolean;
859
934
  name?: string;
935
+ onSelect?: (event: Event) => void;
936
+ onselect?: (event: Event) => void;
860
937
  pattern?: string;
861
938
  placeholder?: string;
862
939
  readOnly?: boolean;
@@ -1058,6 +1135,8 @@ export declare namespace JSXBase {
1058
1135
  summary?: string;
1059
1136
  }
1060
1137
  interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1138
+ autoComplete?: string;
1139
+ autocomplete?: string;
1061
1140
  autoFocus?: boolean;
1062
1141
  autofocus?: boolean | string;
1063
1142
  cols?: number;
@@ -1068,6 +1147,8 @@ export declare namespace JSXBase {
1068
1147
  minLength?: number;
1069
1148
  minlength?: number | string;
1070
1149
  name?: string;
1150
+ onSelect?: (event: Event) => void;
1151
+ onselect?: (event: Event) => void;
1071
1152
  placeholder?: string;
1072
1153
  readOnly?: boolean;
1073
1154
  readonly?: boolean | string;
@@ -1145,8 +1226,8 @@ export declare namespace JSXBase {
1145
1226
  resource?: string;
1146
1227
  typeof?: string;
1147
1228
  vocab?: string;
1148
- autoCapitalize?: any;
1149
- autocapitalize?: any;
1229
+ autoCapitalize?: string;
1230
+ autocapitalize?: string;
1150
1231
  autoCorrect?: string;
1151
1232
  autocorrect?: string;
1152
1233
  autoSave?: string;
@@ -1214,7 +1295,7 @@ export declare namespace JSXBase {
1214
1295
  clipPathUnits?: number | string;
1215
1296
  'clip-rule'?: number | string;
1216
1297
  'color-interpolation'?: number | string;
1217
- 'color-interpolation-filters'?: 'auto' | 's-rGB' | 'linear-rGB' | 'inherit';
1298
+ 'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
1218
1299
  'color-profile'?: number | string;
1219
1300
  'color-rendering'?: number | string;
1220
1301
  contentScriptType?: number | string;
@@ -1437,12 +1518,12 @@ export declare namespace JSXBase {
1437
1518
  onCutCapture?: (event: ClipboardEvent) => void;
1438
1519
  onPaste?: (event: ClipboardEvent) => void;
1439
1520
  onPasteCapture?: (event: ClipboardEvent) => void;
1440
- onCompositionEnd?: (event: CompositionEvent) => void;
1441
- onCompositionEndCapture?: (event: CompositionEvent) => void;
1442
- onCompositionStart?: (event: CompositionEvent) => void;
1443
- onCompositionStartCapture?: (event: CompositionEvent) => void;
1444
- onCompositionUpdate?: (event: CompositionEvent) => void;
1445
- onCompositionUpdateCapture?: (event: CompositionEvent) => void;
1521
+ onCompositionend?: (event: CompositionEvent) => void;
1522
+ onCompositionendCapture?: (event: CompositionEvent) => void;
1523
+ onCompositionstart?: (event: CompositionEvent) => void;
1524
+ onCompositionstartCapture?: (event: CompositionEvent) => void;
1525
+ onCompositionupdate?: (event: CompositionEvent) => void;
1526
+ onCompositionupdateCapture?: (event: CompositionEvent) => void;
1446
1527
  onFocus?: (event: FocusEvent) => void;
1447
1528
  onFocusCapture?: (event: FocusEvent) => void;
1448
1529
  onFocusin?: (event: FocusEvent) => void;
@@ -1453,8 +1534,8 @@ export declare namespace JSXBase {
1453
1534
  onBlurCapture?: (event: FocusEvent) => void;
1454
1535
  onChange?: (event: Event) => void;
1455
1536
  onChangeCapture?: (event: Event) => void;
1456
- onInput?: (event: Event) => void;
1457
- onInputCapture?: (event: Event) => void;
1537
+ onInput?: (event: InputEvent) => void;
1538
+ onInputCapture?: (event: InputEvent) => void;
1458
1539
  onReset?: (event: Event) => void;
1459
1540
  onResetCapture?: (event: Event) => void;
1460
1541
  onSubmit?: (event: Event) => void;
@@ -1544,8 +1625,14 @@ export declare namespace JSXBase {
1544
1625
  onAnimationEndCapture?: (event: AnimationEvent) => void;
1545
1626
  onAnimationIteration?: (event: AnimationEvent) => void;
1546
1627
  onAnimationIterationCapture?: (event: AnimationEvent) => void;
1628
+ onTransitionCancel?: (event: TransitionEvent) => void;
1629
+ onTransitionCancelCapture?: (event: TransitionEvent) => void;
1547
1630
  onTransitionEnd?: (event: TransitionEvent) => void;
1548
1631
  onTransitionEndCapture?: (event: TransitionEvent) => void;
1632
+ onTransitionRun?: (event: TransitionEvent) => void;
1633
+ onTransitionRunCapture?: (event: TransitionEvent) => void;
1634
+ onTransitionStart?: (event: TransitionEvent) => void;
1635
+ onTransitionStartCapture?: (event: TransitionEvent) => void;
1549
1636
  }
1550
1637
  }
1551
1638
  export interface JSXAttributes<T = Element> {
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
8
  import en from '../locales/en.json';
9
- declare type ReplacerType = {
9
+ type ReplacerType = {
10
10
  pattern: string;
11
11
  replacer: any;
12
12
  };
@@ -41,8 +41,6 @@ declare const MESSAGES_ALL: {
41
41
  publicKey: string;
42
42
  fingerprint: string;
43
43
  fingerprints: string;
44
- actions: string;
45
- details: string;
46
44
  testURLs: string;
47
45
  certificateDetails: string;
48
46
  holder: string;
@@ -58,9 +56,12 @@ declare const MESSAGES_ALL: {
58
56
  indirectCRL: string;
59
57
  onlyReasons: string;
60
58
  crlEntryExtensions: string;
59
+ previewCertificate: string;
60
+ viewDetails: string;
61
+ downloadOptions: string;
61
62
  };
62
63
  };
63
- export declare type SupportedMessagesType = keyof typeof MESSAGES_ALL;
64
+ export type SupportedMessagesType = keyof typeof MESSAGES_ALL;
64
65
  export declare class Localization {
65
66
  private locale;
66
67
  constructor();
@@ -5,7 +5,7 @@
5
5
  * This source code is licensed under the MIT license found in the
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
- export declare type FileValue = string | ArrayBuffer | null;
8
+ export type FileValue = string | ArrayBuffer | null;
9
9
  export interface IFileDataType extends Blob {
10
10
  name?: string;
11
11
  mimeType?: string;
@@ -0,0 +1,218 @@
1
+ // Generated by dts-bundle-generator v8.0.1
2
+
3
+ export declare function createWindowFromHtml(templateHtml: string, uniqueId: string): any;
4
+ export interface HydrateDocumentOptions {
5
+ /**
6
+ * Build ID that will be added to `<html data-stencil-build="BUILD_ID">`. By default
7
+ * a random ID will be generated
8
+ */
9
+ buildId?: string;
10
+ /**
11
+ * Sets the `href` attribute on the `<link rel="canonical">`
12
+ * tag within the `<head>`. If the value is not defined it will
13
+ * ensure a canonical link tag is no included in the `<head>`.
14
+ */
15
+ canonicalUrl?: string;
16
+ /**
17
+ * Include the HTML comments and attributes used by the client-side
18
+ * JavaScript to read the structure of the HTML and rebuild each
19
+ * component. Defaults to `true`.
20
+ */
21
+ clientHydrateAnnotations?: boolean;
22
+ /**
23
+ * Constrain `setTimeout()` to 1ms, but still async. Also
24
+ * only allows `setInterval()` to fire once, also constrained to 1ms.
25
+ * Defaults to `true`.
26
+ */
27
+ constrainTimeouts?: boolean;
28
+ /**
29
+ * Sets `document.cookie`
30
+ */
31
+ cookie?: string;
32
+ /**
33
+ * Sets the `dir` attribute on the top level `<html>`.
34
+ */
35
+ direction?: string;
36
+ /**
37
+ * Component tag names listed here will not be prerendered, nor will
38
+ * hydrated on the client-side. Components listed here will be ignored
39
+ * as custom elements and treated no differently than a `<div>`.
40
+ */
41
+ excludeComponents?: string[];
42
+ /**
43
+ * Sets the `lang` attribute on the top level `<html>`.
44
+ */
45
+ language?: string;
46
+ /**
47
+ * Maximum number of components to hydrate on one page. Defaults to `300`.
48
+ */
49
+ maxHydrateCount?: number;
50
+ /**
51
+ * Sets `document.referrer`
52
+ */
53
+ referrer?: string;
54
+ /**
55
+ * Removes every `<script>` element found in the `document`. Defaults to `false`.
56
+ */
57
+ removeScripts?: boolean;
58
+ /**
59
+ * Removes CSS not used by elements within the `document`. Defaults to `true`.
60
+ */
61
+ removeUnusedStyles?: boolean;
62
+ /**
63
+ * The url the runtime uses for the resources, such as the assets directory.
64
+ */
65
+ resourcesUrl?: string;
66
+ /**
67
+ * Prints out runtime console logs to the NodeJS process. Defaults to `false`.
68
+ */
69
+ runtimeLogging?: boolean;
70
+ /**
71
+ * Component tags listed here will only be prerendered or server-side-rendered
72
+ * and will not be client-side hydrated. This is useful for components that
73
+ * are not dynamic and do not need to be defined as a custom element within the
74
+ * browser. For example, a header or footer component would be a good example that
75
+ * may not require any client-side JavaScript.
76
+ */
77
+ staticComponents?: string[];
78
+ /**
79
+ * The amount of milliseconds to wait for a page to finish rendering until
80
+ * a timeout error is thrown. Defaults to `15000`.
81
+ */
82
+ timeout?: number;
83
+ /**
84
+ * Sets `document.title`.
85
+ */
86
+ title?: string;
87
+ /**
88
+ * Sets `location.href`
89
+ */
90
+ url?: string;
91
+ /**
92
+ * Sets `navigator.userAgent`
93
+ */
94
+ userAgent?: string;
95
+ }
96
+ export interface SerializeDocumentOptions extends HydrateDocumentOptions {
97
+ /**
98
+ * Runs after the `document` has been hydrated.
99
+ */
100
+ afterHydrate?(document: any): any | Promise<any>;
101
+ /**
102
+ * Sets an approximate line width the HTML should attempt to stay within.
103
+ * Note that this is "approximate", in that HTML may often not be able
104
+ * to be split at an exact line width. Additionally, new lines created
105
+ * is where HTML naturally already has whitespace, such as before an
106
+ * attribute or spaces between words. Defaults to `100`.
107
+ */
108
+ approximateLineWidth?: number;
109
+ /**
110
+ * Runs before the `document` has been hydrated.
111
+ */
112
+ beforeHydrate?(document: any): any | Promise<any>;
113
+ /**
114
+ * Format the HTML in a nicely indented format.
115
+ * Defaults to `false`.
116
+ */
117
+ prettyHtml?: boolean;
118
+ /**
119
+ * Remove quotes from attribute values when possible.
120
+ * Defaults to `true`.
121
+ */
122
+ removeAttributeQuotes?: boolean;
123
+ /**
124
+ * Remove the `=""` from standardized `boolean` attributes,
125
+ * such as `hidden` or `checked`. Defaults to `true`.
126
+ */
127
+ removeBooleanAttributeQuotes?: boolean;
128
+ /**
129
+ * Remove these standardized attributes when their value is empty:
130
+ * `class`, `dir`, `id`, `lang`, and `name`, `title`. Defaults to `true`.
131
+ */
132
+ removeEmptyAttributes?: boolean;
133
+ /**
134
+ * Remove HTML comments. Defaults to `true`.
135
+ */
136
+ removeHtmlComments?: boolean;
137
+ }
138
+ export interface HydrateFactoryOptions extends SerializeDocumentOptions {
139
+ serializeToHtml: boolean;
140
+ destroyWindow: boolean;
141
+ destroyDocument: boolean;
142
+ }
143
+ export interface Diagnostic {
144
+ absFilePath?: string | undefined;
145
+ code?: string;
146
+ columnNumber?: number | undefined;
147
+ debugText?: string;
148
+ header?: string;
149
+ language?: string;
150
+ level: "error" | "warn" | "info" | "log" | "debug";
151
+ lineNumber?: number | undefined;
152
+ lines: PrintLine[];
153
+ messageText: string;
154
+ relFilePath?: string | undefined;
155
+ type: string;
156
+ }
157
+ export interface PrintLine {
158
+ lineIndex: number;
159
+ lineNumber: number;
160
+ text?: string;
161
+ errorCharStart: number;
162
+ errorLength?: number;
163
+ }
164
+ export interface HydrateResults {
165
+ buildId: string;
166
+ diagnostics: Diagnostic[];
167
+ url: string;
168
+ host: string;
169
+ hostname: string;
170
+ href: string;
171
+ port: string;
172
+ pathname: string;
173
+ search: string;
174
+ hash: string;
175
+ html: string;
176
+ components: HydrateComponent[];
177
+ anchors: HydrateAnchorElement[];
178
+ imgs: HydrateImgElement[];
179
+ scripts: HydrateScriptElement[];
180
+ styles: HydrateStyleElement[];
181
+ staticData: HydrateStaticData[];
182
+ title: string;
183
+ hydratedCount: number;
184
+ httpStatus: number;
185
+ }
186
+ export interface HydrateComponent {
187
+ tag: string;
188
+ mode: string;
189
+ count: number;
190
+ depth: number;
191
+ }
192
+ export interface HydrateElement {
193
+ [attrName: string]: string | undefined;
194
+ }
195
+ export interface HydrateAnchorElement extends HydrateElement {
196
+ href?: string;
197
+ target?: string;
198
+ }
199
+ export interface HydrateImgElement extends HydrateElement {
200
+ src?: string;
201
+ }
202
+ export interface HydrateScriptElement extends HydrateElement {
203
+ src?: string;
204
+ type?: string;
205
+ }
206
+ export interface HydrateStyleElement extends HydrateElement {
207
+ href?: string;
208
+ }
209
+ export interface HydrateStaticData {
210
+ id: string;
211
+ type: string;
212
+ content: string;
213
+ }
214
+ export declare function renderToString(html: string | any, options?: SerializeDocumentOptions): Promise<HydrateResults>;
215
+ export declare function hydrateDocument(doc: any | string, options?: HydrateDocumentOptions): Promise<HydrateResults>;
216
+ export declare function serializeDocumentToString(doc: any, opts: HydrateFactoryOptions): string;
217
+
218
+ export {};