@peculiar/fortify-webcomponents
Version:
Web-components for creating CSR or Certificate and viewing certificates list using Fortify
32 lines (29 loc) • 993 B
JavaScript
/*!
* © Peculiar Ventures https://peculiarventures.com/ - BSD 3-Clause License
*/
import { h } from '@stencil/core/internal/client';
import { l as l10n } from './ssh_certificate.js';
import { R as RowTitle, L as Link, a as RowValue } from './download.js';
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const IssuerName = (props) => {
const { name, issuerDnLink } = props;
const title = l10n.getString('issuerName');
return [
h(RowTitle, { value: issuerDnLink
? (h(Link, { href: issuerDnLink }, title))
: title }),
name.map((n) => (h(RowValue, { name: n.name || n.type, value: n.value }))),
];
};
export { IssuerName as I };
//# sourceMappingURL=issuer_name.js.map
//# sourceMappingURL=issuer_name.js.map