2024-04-08 05:20:44 +00:00
|
|
|
<template>
|
|
|
|
<div class="template-license-wrapper">
|
|
|
|
<div class="template-license">
|
|
|
|
<div class="template-license-cards">
|
|
|
|
<template v-for="(detail, index) in license.licenseDetails" :key="index">
|
|
|
|
<div class="template-license-card">
|
2024-04-22 07:57:06 +00:00
|
|
|
<span class="template-license-card-title">{{ detail.title }}</span>
|
|
|
|
<div class="template-license-card-pricing">
|
|
|
|
<span :class="{ 'template-license-card-pricing-discount-active': license.showDiscount }">{{ detail.price }}</span>
|
|
|
|
<span v-if="license.showDiscount">{{ detail.discount }}</span>
|
|
|
|
</div>
|
2024-04-08 05:20:44 +00:00
|
|
|
<div class="template-license-card-included">
|
|
|
|
<template v-for="(txt, i) in detail.included" :key="`text_${i}`">
|
|
|
|
<p>{{ txt }}</p>
|
|
|
|
</template>
|
|
|
|
</div>
|
|
|
|
<a href="https://www.primefaces.org/layouts/licenses" target="_blank">
|
|
|
|
<button>License Details</button>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</div>
|
|
|
|
<p class="template-license-description">{{ license.description }}</p>
|
|
|
|
<p class="template-license-visit">
|
|
|
|
Visit the
|
2024-04-08 10:44:54 +00:00
|
|
|
<a :href="license.documentLink" target="_blank"> official documentation </a> for more information.
|
2024-04-08 05:20:44 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
license: {
|
|
|
|
type: null,
|
|
|
|
default: null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|