@if(selectedSource; as source) {
@if (source.type === pluginSourceType.CDN) {
{{ 'PLUGIN.FORM.CDN.URL' | translate }}
{{ source.url }}
@if(source.integrity) {
{{ 'PLUGIN.FORM.CDN.INTEGRITY' | translate }}
{{ source.integrity }}
} @if(source.crossOrigin) {
{{ 'PLUGIN.FORM.CDN.CROSS_ORIGIN' | translate }}
}
}
@if (source.type === pluginSourceType.NPM) {
{{ 'PLUGIN.FORM.NPM.PACKAGE_NAME' | translate }}
{{ source.name }}
@if(source.scope) {
{{ 'PLUGIN.FORM.NPM.SCOPE' | translate }}
} @if(source.registry) {
{{ 'PLUGIN.FORM.NPM.REGISTRY' | translate }}
{{ source.registry }}
} @if(source.private) {
{{ 'PLUGIN.FORM.NPM.AUTH_TOKEN' | translate }}
{{ 'PLUGIN.DETAILS.HIDDEN_FOR_SECURITY' | translate }}
}
}
@if (source.type === pluginSourceType.GAUZY) {
{{ 'PLUGIN.FORM.FILE_UPLOAD.FILE' | translate }}
@if(source.url) {
{{ source.url }}
}@else {
{{ 'PLUGIN.DETAILS.UPLOADED_FILE' | translate }}
}
}
}
@if(plugin && (plugin.checksum || plugin.signature)) {
@if(plugin.checksum) {
{{ 'PLUGIN.DETAILS.CHECKSUM' | translate }}
{{ plugin.checksum }}
} @if(plugin.signature) {
{{ 'PLUGIN.DETAILS.SIGNATURE' | translate }}
{{ plugin.signature }}
}
}