{% set library = package('components').getPackageProperties(library_name,true) %} {% set library_params = (params[library_name] is empty) ? library.params : params[library_name] %}
{{ library.title|default(library.name) }}
{{ labels.version }}
{{ library.version }}
{{ library.description }}
{% if library.framework == true %}
{{ labels.framework }} {% if current_framework == library.name %} {{ labels.current }} {% endif %}
{% endif %} {% if library.async == true %}
Async
{% endif %} {% if library.crossorigin is not empty %}
{{ labels.crossorigin }} {{ library.crossorigin }}
{% endif %}
{% set package = package('components').createPackage(library_name) %} {% set items = package.validator.validate() %} {% if items.count > 0 %}
{{ component('system:admin.packages.requires',{ items: items }) }}
{% endif %}
{{ component('system:admin.packages.repository',{ type: 'components', package_name: library.name, repository_name: library.get('repository'), repository_type: library.get('repository-type',null), installed_version: library.version }) }}

{{ labels.components }}

{{ component('system:admin.component',{ components: library.components, extension: '' }) }}