@peculiar/certificates-viewer 4.7.1-alpha.1 → 4.7.1-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/attribute-certificate-viewer.js +2 -2
- package/components/attribute.js +1 -1
- package/components/certificate-chain-viewer.js +1 -1
- package/components/certificate-viewer.js +2 -2
- package/components/crl-viewer.js +2 -2
- package/components/csr-viewer.js +1 -1
- package/components/download.js +14324 -17
- package/components/download.js.map +1 -1
- package/components/index.js +1 -2
- package/components/index.js.map +1 -1
- package/components/index2.js +1 -1
- package/components/issuer_name.js +1 -1
- package/components/miscellaneous.js +1 -2
- package/components/miscellaneous.js.map +1 -1
- package/components/peculiar-certificate-decoder.js +1 -1
- package/components/peculiar-certificates-viewer.js +1 -2
- package/components/peculiar-certificates-viewer.js.map +1 -1
- package/components/pkcs10_certificate_request.js +2 -2
- package/components/row.js +1 -1
- package/components/ssh-certificate-viewer.js +23 -6
- package/components/ssh-certificate-viewer.js.map +1 -1
- package/components/subject_name.js +1 -1
- package/components/utils.js +39 -0
- package/components/utils.js.map +1 -0
- package/dist/cjs/{extension-D8YKlAu4.js → extension-DTtJlxk8.js} +3 -3
- package/dist/cjs/{extension-D8YKlAu4.js.map → extension-DTtJlxk8.js.map} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{miscellaneous-DvVSM5KJ.js → miscellaneous-DCeacaAw.js} +4 -4
- package/dist/cjs/{miscellaneous-DvVSM5KJ.js.map → miscellaneous-DCeacaAw.js.map} +1 -1
- package/dist/cjs/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.cjs.js.map +1 -1
- package/dist/cjs/peculiar-attribute-certificate-viewer_5.cjs.entry.js +27 -10
- package/dist/cjs/peculiar-attribute-certificate-viewer_5.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +5 -5
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +4 -4
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +3 -3
- package/dist/cjs/{pkcs10_certificate_request-BoHhadiA.js → pkcs10_certificate_request-DE-0eDXE.js} +3 -3
- package/dist/cjs/{pkcs10_certificate_request-BoHhadiA.js.map → pkcs10_certificate_request-DE-0eDXE.js.map} +1 -1
- package/dist/cjs/{ssh_certificate-s3-rwdMT.js → ssh_certificate-D2q_p49O.js} +14 -2
- package/dist/cjs/ssh_certificate-D2q_p49O.js.map +1 -0
- package/dist/cjs/{x509_certificate-DfXuxxZp.js → x509_certificate-Cto1q-eu.js} +4 -4
- package/dist/cjs/{x509_certificate-DfXuxxZp.js.map → x509_certificate-Cto1q-eu.js.map} +1 -1
- package/dist/cjs/{x509_crl-CxJ2lyGX.js → x509_crl-CgixMZrh.js} +5 -5
- package/dist/cjs/{x509_crl-CxJ2lyGX.js.map → x509_crl-CgixMZrh.js.map} +1 -1
- package/dist/collection/components/ssh-certificate-viewer/-components/basic_information.js +3 -3
- package/dist/collection/components/ssh-certificate-viewer/-components/basic_information.js.map +1 -1
- package/dist/collection/components/ssh-certificate-viewer/-components/miscellaneous.js +23 -0
- package/dist/collection/components/ssh-certificate-viewer/-components/miscellaneous.js.map +1 -0
- package/dist/collection/components/ssh-certificate-viewer/ssh-certificate-viewer.js +2 -1
- package/dist/collection/components/ssh-certificate-viewer/ssh-certificate-viewer.js.map +1 -1
- package/dist/collection/crypto/ssh_certificate.js +7 -1
- package/dist/collection/crypto/ssh_certificate.js.map +1 -1
- package/dist/collection/locales/en.json +1 -0
- package/dist/collection/utils/download.js +5 -0
- package/dist/collection/utils/download.js.map +1 -1
- package/dist/esm/{extension-oK2qpCU6.js → extension-DmlhftES.js} +3 -3
- package/dist/esm/{extension-oK2qpCU6.js.map → extension-DmlhftES.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{miscellaneous-DrmTXljc.js → miscellaneous-BTlqwN5_.js} +4 -4
- package/dist/esm/{miscellaneous-DrmTXljc.js.map → miscellaneous-BTlqwN5_.js.map} +1 -1
- package/dist/esm/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.js.map +1 -1
- package/dist/esm/peculiar-attribute-certificate-viewer_5.entry.js +28 -11
- package/dist/esm/peculiar-attribute-certificate-viewer_5.entry.js.map +1 -1
- package/dist/esm/peculiar-certificate-decoder.entry.js +5 -5
- package/dist/esm/peculiar-certificate-viewer.entry.js +4 -4
- package/dist/esm/peculiar-certificates-viewer.entry.js +3 -3
- package/dist/esm/{pkcs10_certificate_request-Bdt_qA_g.js → pkcs10_certificate_request-B5C1NYFc.js} +3 -3
- package/dist/esm/{pkcs10_certificate_request-Bdt_qA_g.js.map → pkcs10_certificate_request-B5C1NYFc.js.map} +1 -1
- package/dist/esm/{ssh_certificate-Ct-r021h.js → ssh_certificate-PCn0WXhQ.js} +14 -2
- package/dist/esm/ssh_certificate-PCn0WXhQ.js.map +1 -0
- package/dist/esm/{x509_certificate-5DEbrOA7.js → x509_certificate-BiAmXJ4S.js} +4 -4
- package/dist/{esm-es5/x509_certificate-5DEbrOA7.js.map → esm/x509_certificate-BiAmXJ4S.js.map} +1 -1
- package/dist/esm/{x509_crl-CPgNUkh7.js → x509_crl-CCeoLLUZ.js} +5 -5
- package/dist/esm/{x509_crl-CPgNUkh7.js.map → x509_crl-CCeoLLUZ.js.map} +1 -1
- package/dist/esm-es5/{extension-oK2qpCU6.js → extension-DmlhftES.js} +2 -2
- package/dist/esm-es5/{extension-oK2qpCU6.js.map → extension-DmlhftES.js.map} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{miscellaneous-DrmTXljc.js → miscellaneous-BTlqwN5_.js} +2 -2
- package/dist/esm-es5/{miscellaneous-DrmTXljc.js.map → miscellaneous-BTlqwN5_.js.map} +1 -1
- package/dist/esm-es5/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_5.entry.js +10 -3
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_5.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-certificate-decoder.entry.js +1 -1
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js +1 -1
- package/dist/esm-es5/{pkcs10_certificate_request-Bdt_qA_g.js → pkcs10_certificate_request-B5C1NYFc.js} +2 -2
- package/dist/esm-es5/{pkcs10_certificate_request-Bdt_qA_g.js.map → pkcs10_certificate_request-B5C1NYFc.js.map} +1 -1
- package/dist/esm-es5/{ssh_certificate-Ct-r021h.js → ssh_certificate-PCn0WXhQ.js} +4 -4
- package/dist/esm-es5/ssh_certificate-PCn0WXhQ.js.map +1 -0
- package/dist/esm-es5/{x509_certificate-5DEbrOA7.js → x509_certificate-BiAmXJ4S.js} +4 -4
- package/dist/{esm/x509_certificate-5DEbrOA7.js.map → esm-es5/x509_certificate-BiAmXJ4S.js.map} +1 -1
- package/dist/esm-es5/{x509_crl-CPgNUkh7.js → x509_crl-CCeoLLUZ.js} +2 -2
- package/dist/esm-es5/{x509_crl-CPgNUkh7.js.map → x509_crl-CCeoLLUZ.js.map} +1 -1
- package/dist/peculiar/index.esm.js +1 -1
- package/dist/peculiar/locales/en.json +1 -0
- package/dist/peculiar/{p-364fd32b.system.entry.js → p-24861cf6.system.entry.js} +2 -2
- package/dist/peculiar/{p-11434880.system.entry.js → p-46c17c8d.system.entry.js} +2 -2
- package/dist/peculiar/{p-62b723f6.entry.js → p-71cb31c6.entry.js} +29 -22
- package/dist/peculiar/p-71cb31c6.entry.js.map +1 -0
- package/dist/peculiar/{p-0b895a8e.entry.js → p-71eab586.entry.js} +2 -2
- package/dist/peculiar/{p-da9eb1e7.entry.js → p-7273601a.entry.js} +2 -2
- package/dist/peculiar/{p-fd98bb82.system.entry.js → p-83bfd8e5.system.entry.js} +2 -2
- package/dist/peculiar/{p-83a53b4f.entry.js → p-98219569.entry.js} +2 -2
- package/dist/peculiar/{p-LmKU8Smy.system.js.map → p-9MJeDspO.system.js.map} +1 -1
- package/dist/peculiar/p-AjXipXSl.system.js +12 -0
- package/dist/peculiar/{p-IOtHTzYC.system.js.map → p-AjXipXSl.system.js.map} +1 -1
- package/dist/peculiar/{p-BQiABBi1.system.js → p-B2FH4Pv2.system.js} +4 -4
- package/dist/peculiar/{p-BQiABBi1.system.js.map → p-B2FH4Pv2.system.js.map} +1 -1
- package/dist/peculiar/{p-BeVuAzsd.system.js → p-B5GO6_Ut.system.js} +43 -43
- package/dist/peculiar/{p-BeVuAzsd.system.js.map → p-B5GO6_Ut.system.js.map} +1 -1
- package/dist/peculiar/{p-CxtUQdcj.system.js.map → p-B82-c-xr.system.js.map} +1 -1
- package/dist/peculiar/p-BGASC3UX.system.js +1 -1
- package/dist/peculiar/p-BHpSDBz_.system.js.map +1 -0
- package/dist/peculiar/p-BwlcJAh0.js +12 -0
- package/dist/peculiar/{p-BGIWeG8l.js.map → p-BwlcJAh0.js.map} +1 -1
- package/dist/peculiar/{p-BCsPspKr.system.js.map → p-CSz5liuX.system.js.map} +1 -1
- package/dist/peculiar/{p-D9qq15zG.js → p-CstRxc9v.js} +2 -2
- package/dist/peculiar/{p-D9qq15zG.js.map → p-CstRxc9v.js.map} +1 -1
- package/dist/peculiar/{p-ClkgAXnd.system.js → p-DMDALRLP.system.js} +4 -4
- package/dist/peculiar/p-DMDALRLP.system.js.map +1 -0
- package/dist/peculiar/{p-2GQYAR0v.system.js → p-DPbpwYQ8.system.js} +3 -3
- package/dist/peculiar/{p-2GQYAR0v.system.js.map → p-DPbpwYQ8.system.js.map} +1 -1
- package/dist/peculiar/{p-RWPI76Dh.js → p-Db41gPxb.js} +4 -4
- package/dist/peculiar/{p-RWPI76Dh.js.map → p-Db41gPxb.js.map} +1 -1
- package/dist/peculiar/{p-B2G7qjfV.js → p-DnOLjFJP.js} +40 -40
- package/dist/peculiar/{p-B2G7qjfV.js.map → p-DnOLjFJP.js.map} +1 -1
- package/dist/peculiar/{p-Ct-r021h.js → p-PCn0WXhQ.js} +4 -4
- package/dist/peculiar/p-PCn0WXhQ.js.map +1 -0
- package/dist/peculiar/{p-zQwWLfga.system.js → p-SjVQtfgD.system.js} +4 -4
- package/dist/peculiar/{p-zQwWLfga.system.js.map → p-SjVQtfgD.system.js.map} +1 -1
- package/dist/peculiar/{p-5df0f22b.system.entry.js → p-cc01a2da.system.entry.js} +29 -22
- package/dist/peculiar/p-cc01a2da.system.entry.js.map +1 -0
- package/dist/peculiar/{p-C31rbtuG.system.js → p-dOkqMp-O.system.js} +2 -2
- package/dist/peculiar/p-dOkqMp-O.system.js.map +1 -0
- package/dist/peculiar/{p-DOpiv0-8.js → p-h7XP7otl.js} +2 -2
- package/dist/peculiar/{p-DOpiv0-8.js.map → p-h7XP7otl.js.map} +1 -1
- package/dist/peculiar/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.esm.js.map +1 -1
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/dist/types/components/ssh-certificate-viewer/-components/miscellaneous.d.ts +14 -0
- package/dist/types/crypto/ssh_certificate.d.ts +2 -0
- package/dist/types/utils/download.d.ts +3 -0
- package/dist/types/utils/l10n.d.ts +1 -0
- package/hydrate/index.js +33 -4
- package/hydrate/index.mjs +33 -4
- package/package.json +2 -2
- package/components/link.js +0 -14335
- package/components/link.js.map +0 -1
- package/dist/cjs/ssh_certificate-s3-rwdMT.js.map +0 -1
- package/dist/esm/ssh_certificate-Ct-r021h.js.map +0 -1
- package/dist/esm-es5/ssh_certificate-Ct-r021h.js.map +0 -1
- package/dist/peculiar/p-5df0f22b.system.entry.js.map +0 -1
- package/dist/peculiar/p-62b723f6.entry.js.map +0 -1
- package/dist/peculiar/p-BGIWeG8l.js +0 -12
- package/dist/peculiar/p-C31rbtuG.system.js.map +0 -1
- package/dist/peculiar/p-Ce-IF7_R.system.js.map +0 -1
- package/dist/peculiar/p-ClkgAXnd.system.js.map +0 -1
- package/dist/peculiar/p-Ct-r021h.js.map +0 -1
- package/dist/peculiar/p-IOtHTzYC.system.js +0 -12
- /package/dist/peculiar/{p-364fd32b.system.entry.js.map → p-24861cf6.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-11434880.system.entry.js.map → p-46c17c8d.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-0b895a8e.entry.js.map → p-71eab586.entry.js.map} +0 -0
- /package/dist/peculiar/{p-da9eb1e7.entry.js.map → p-7273601a.entry.js.map} +0 -0
- /package/dist/peculiar/{p-fd98bb82.system.entry.js.map → p-83bfd8e5.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-83a53b4f.entry.js.map → p-98219569.entry.js.map} +0 -0
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { h, r as registerInstance, H as Host } from './index-CwgZaF40.js';
|
|
5
|
-
import { $ as OIDs, Z as l10n, e as AsnConvert, b as buildExports, bn as Name$1, s as ExtensionRequest, u as ActivityDescription, W as WebGDPR, I as InsuranceValue, T as TypeRelationship, V as ValuationRanking, U as UnstructuredName, t as ChallengePassword, r as PrivateKeyPossessionStatement, _ as dateShort, az as CRLReason, aw as InvalidityDate, aD as CertificateIssuer, bm as SshCertificate } from './ssh_certificate-
|
|
6
|
-
import { X as X509AttributeCertificate, a as X509Crl } from './x509_crl-
|
|
7
|
-
import { d as getStringByOID, R as RowValue, e as camelCaseToWords, f as TableRowTable, G as GeneralNamePart, E as Extensions, h as RowTitle, B as BasicInformation, a as Signature, T as Thumbprints, g as getIPAddressLink, b as getDNSNameLink, c as getLEILink, M as Miscellaneous, I as IssuerName, S as SubjectName, P as PublicKey } from './miscellaneous-
|
|
8
|
-
import { T as Typography } from './button-Bbh7MwG6.js';
|
|
9
|
-
import { E as Extension } from './extension-
|
|
10
|
-
import { P as Pkcs10CertificateRequest } from './pkcs10_certificate_request-
|
|
5
|
+
import { $ as OIDs, Z as l10n, e as AsnConvert, b as buildExports, bn as Name$1, s as ExtensionRequest, u as ActivityDescription, W as WebGDPR, I as InsuranceValue, T as TypeRelationship, V as ValuationRanking, U as UnstructuredName, t as ChallengePassword, r as PrivateKeyPossessionStatement, _ as dateShort, az as CRLReason, aw as InvalidityDate, aD as CertificateIssuer, bm as SshCertificate } from './ssh_certificate-PCn0WXhQ.js';
|
|
6
|
+
import { X as X509AttributeCertificate, a as X509Crl } from './x509_crl-CCeoLLUZ.js';
|
|
7
|
+
import { d as getStringByOID, R as RowValue, e as camelCaseToWords, f as TableRowTable, G as GeneralNamePart, E as Extensions, h as RowTitle, B as BasicInformation, a as Signature, T as Thumbprints, g as getIPAddressLink, b as getDNSNameLink, c as getLEILink, M as Miscellaneous, I as IssuerName, S as SubjectName, P as PublicKey } from './miscellaneous-BTlqwN5_.js';
|
|
8
|
+
import { T as Typography, B as Button } from './button-Bbh7MwG6.js';
|
|
9
|
+
import { E as Extension } from './extension-DmlhftES.js';
|
|
10
|
+
import { P as Pkcs10CertificateRequest } from './pkcs10_certificate_request-B5C1NYFc.js';
|
|
11
|
+
import { D as DownloadIcon } from './download-ykcxSgxU.js';
|
|
11
12
|
import './link-CGURvKy1.js';
|
|
12
|
-
import './download-ykcxSgxU.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
@@ -741,9 +741,9 @@ const SshBasicInformation = (props) => {
|
|
|
741
741
|
h(RowValue, { name: l10n.getString('issued'), value: notBefore ? dateShort(notBefore) : undefined }),
|
|
742
742
|
h(RowValue, { name: l10n.getString('expired'), value: notAfter ? dateShort(notAfter) : undefined }),
|
|
743
743
|
h(RowValue, { name: l10n.getString('keyId'), value: keyId }),
|
|
744
|
-
h(RowValue, { name: l10n.getString('principals'), value: principals.join(', ') }),
|
|
745
|
-
h(RowValue, { name: l10n.getString('criticalOptions'), value: Object.keys(criticalOptions).join(', ') }),
|
|
746
|
-
h(RowValue, { name: l10n.getString('extensions'), value: Object.keys(extensions).join(', ') }),
|
|
744
|
+
h(RowValue, { name: l10n.getString('principals'), value: principals.join(', ') || '(none)' }),
|
|
745
|
+
h(RowValue, { name: l10n.getString('criticalOptions'), value: Object.keys(criticalOptions).join(', ') || '(none)' }),
|
|
746
|
+
h(RowValue, { name: l10n.getString('extensions'), value: Object.keys(extensions).join(', ') || '(none)' }),
|
|
747
747
|
];
|
|
748
748
|
};
|
|
749
749
|
|
|
@@ -787,6 +787,23 @@ const SshSignatureKey = (props) => {
|
|
|
787
787
|
];
|
|
788
788
|
};
|
|
789
789
|
|
|
790
|
+
/**
|
|
791
|
+
* @license
|
|
792
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
793
|
+
*
|
|
794
|
+
* This source code is licensed under the MIT license found in the
|
|
795
|
+
* LICENSE file in the root directory of this source tree.
|
|
796
|
+
*/
|
|
797
|
+
const SshMiscellaneous = (props) => {
|
|
798
|
+
const { certificate } = props;
|
|
799
|
+
return [
|
|
800
|
+
h(RowTitle, { value: l10n.getString('miscellaneous') }),
|
|
801
|
+
h("tr", null,
|
|
802
|
+
h("td", null,
|
|
803
|
+
h(Button, { startIcon: h(DownloadIcon, null), onClick: () => certificate.downloadAsSSH() }, l10n.getString('download.ssh')))),
|
|
804
|
+
];
|
|
805
|
+
};
|
|
806
|
+
|
|
790
807
|
const certificateViewerCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;position:relative;min-width:280px;min-height:300px;word-wrap:break-word;word-break:break-word}th,td{border:none}table{width:100%;border-spacing:0;border-collapse:collapse}table tr:last-child .divider{display:none}table td{padding:var(--pv-size-base-2) var(--pv-size-base-4);vertical-align:top}table td:first-child{width:220px}table td:last-child{width:calc(100% - 220px)}table td.monospace{max-width:0}table td.divider{padding:var(--pv-size-base-2) 0}table td.divider span{height:1px;display:block;background-color:var(--pv-color-gray-4)}table .title td{padding-top:var(--pv-size-base-6);padding-bottom:var(--pv-size-base-2)}table table{border-left:1px solid var(--pv-color-gray-5)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table tr.title{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table tr.title td{padding:0 var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table td{padding:0 var(--pv-size-base-4);width:100% !important;max-width:100% !important}:host([data-mobile-screen-view=true]) table td.divider{padding:0}";
|
|
791
808
|
|
|
792
809
|
const SshCertificateViewer = class {
|
|
@@ -868,7 +885,7 @@ const SshCertificateViewer = class {
|
|
|
868
885
|
if (!this.certificateDecoded) {
|
|
869
886
|
return this.renderEmptyState();
|
|
870
887
|
}
|
|
871
|
-
return (h(Host, { "data-mobile-screen-view": String(this.mobileScreenView) }, h("table", null, h(SshBasicInformation, Object.assign({}, this.certificateDecoded)), h(SshPublicKey, { key: this.certificateDecoded.publicKey }), h(SshSignatureKey, { key: this.certificateDecoded.signatureKey }))));
|
|
888
|
+
return (h(Host, { "data-mobile-screen-view": String(this.mobileScreenView) }, h("table", null, h(SshBasicInformation, Object.assign({}, this.certificateDecoded)), h(SshPublicKey, { key: this.certificateDecoded.publicKey }), h(SshSignatureKey, { key: this.certificateDecoded.signatureKey }), this.download && (h(SshMiscellaneous, { certificate: this.certificateDecoded })))));
|
|
872
889
|
}
|
|
873
890
|
static get watchers() { return {
|
|
874
891
|
"certificate": ["watchCertificateAndDecode"]
|