@peculiar/fortify-webcomponents
Version:
Web-components for creating CSR or Certificate and viewing certificates list using Fortify
22 lines (19 loc) • 742 B
JavaScript
/*!
* © Peculiar Ventures https://peculiarventures.com/ - BSD 3-Clause License
*/
import { h } from '@stencil/core/internal/client';
import { l as l10n } from './certification_request.js';
import { R as RowTitle, L as Link, a as RowValue } from './miscellaneous.js';
/*!
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
*/
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