@hulkapps/app-manager-vue 2.4.0 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-manager-vue.esm.js +106 -5
- package/dist/app-manager-vue.min.js +2 -2
- package/dist/app-manager-vue.ssr.js +108 -7
- package/dist/hulkapps-app-manager.css +1 -1
- package/dist/hulkapps-app-manager.min.css +1 -1
- package/package.json +1 -1
- package/src/components/Plans/AppManagerGroupPlan.vue +22 -2
- package/src/components/Plans/AppManagerSliderPlan.vue +13 -1
package/package.json
CHANGED
|
@@ -94,7 +94,17 @@
|
|
|
94
94
|
<b style="margin-top: 3px;font-size: 14px">/{{translateMe("mo")}}</b>
|
|
95
95
|
</p>
|
|
96
96
|
</div>
|
|
97
|
-
<div v-else-if="promotional_discount && promotional_discount.
|
|
97
|
+
<div v-else-if="((promotional_discount && promotional_discount.length !== 0 && !promotional_discount.errors) || (promotional_discount && promotional_discount.length > 0)) && promotional_discount.plan_relation.length > 0 && promotional_discount.plan_relation.includes(plan.id) && !isCurrentPlan(plan)" >
|
|
98
|
+
<p style="display: flex;margin-top: 10px">
|
|
99
|
+
<PHeading style="font-size: 25px;font-weight: 700;">${{parseFloat(calculatePromotionalDiscountedPrice(plan, promotional_discount)).toFixed(2)}}</PHeading>
|
|
100
|
+
<b style="margin-top: 5px;font-size: 17px">/{{translateMe("mo")}}</b>
|
|
101
|
+
</p>
|
|
102
|
+
<p style="display: flex;margin-top: 7px">
|
|
103
|
+
<PHeading style="font-size: 18px;font-weight: 500; text-decoration:line-through;">${{parseFloat(plan.price).toFixed(2)}}</PHeading>
|
|
104
|
+
<b style="margin-top: 3px;font-size: 14px">/{{translateMe("mo")}}</b>
|
|
105
|
+
</p>
|
|
106
|
+
</div>
|
|
107
|
+
<div v-else-if="((promotional_discount && promotional_discount.length !== 0 && !promotional_discount.errors) || (promotional_discount && promotional_discount.length > 0))&& promotional_discount.plan_relation.length === 0 && promotional_discount.value > 0 && !isCurrentPlan(plan)" >
|
|
98
108
|
<p style="display: flex;margin-top: 10px">
|
|
99
109
|
<PHeading style="font-size: 25px;font-weight: 700;">${{parseFloat(calculatePromotionalDiscountedPrice(plan, promotional_discount)).toFixed(2)}}</PHeading>
|
|
100
110
|
<b style="margin-top: 5px;font-size: 17px">/{{translateMe("mo")}}</b>
|
|
@@ -135,7 +145,17 @@
|
|
|
135
145
|
<b style="margin-top: 3px;font-size: 14px">/{{translateMe("year")}}</b>
|
|
136
146
|
</p>
|
|
137
147
|
</div>
|
|
138
|
-
<div v-else-if="promotional_discount && promotional_discount.
|
|
148
|
+
<div v-else-if="((promotional_discount && promotional_discount.length !== 0 && !promotional_discount.errors) || (promotional_discount && promotional_discount.length > 0)) && promotional_discount.plan_relation.length > 0 && promotional_discount.plan_relation.includes(plan.id) && !isCurrentPlan(plan)">
|
|
149
|
+
<p style="display: flex;margin-top: 10px">
|
|
150
|
+
<PHeading style="font-size: 25px;font-weight: 700;">${{parseFloat(calculatePromotionalDiscountedPrice(plan, promotional_discount)).toFixed(2)}}</PHeading>
|
|
151
|
+
<b style="margin-top: 5px;font-size: 17px">/{{translateMe("year")}}</b>
|
|
152
|
+
</p>
|
|
153
|
+
<p style="display: flex;margin-top: 7px">
|
|
154
|
+
<PHeading style="font-size: 18px;font-weight: 500; text-decoration:line-through;">${{parseFloat(plan.price).toFixed(2)}}</PHeading>
|
|
155
|
+
<b style="margin-top: 3px;font-size: 14px">/{{translateMe("year")}}</b>
|
|
156
|
+
</p>
|
|
157
|
+
</div>
|
|
158
|
+
<div v-else-if="((promotional_discount && promotional_discount.length !== 0 && !promotional_discount.errors) || (promotional_discount && promotional_discount.length > 0)) && promotional_discount.plan_relation.length === 0 && promotional_discount.value > 0 && !isCurrentPlan(plan)" >
|
|
139
159
|
<p style="display: flex;margin-top: 10px">
|
|
140
160
|
<PHeading style="font-size: 25px;font-weight: 700;">${{parseFloat(calculatePromotionalDiscountedPrice(plan, promotional_discount)).toFixed(2)}}</PHeading>
|
|
141
161
|
<b style="margin-top: 5px;font-size: 17px">/{{translateMe("year")}}</b>
|
|
@@ -106,7 +106,19 @@
|
|
|
106
106
|
<b style="margin-top: 3px;font-size: 14px">/{{translateMe(selectedPlan === 'monthly' ? ("mo") : ("year"))}}</b>
|
|
107
107
|
</p>
|
|
108
108
|
</div>
|
|
109
|
-
<div v-else-if="promotional_discount && promotional_discount.
|
|
109
|
+
<div v-else-if="((promotional_discount && promotional_discount.length !== 0 && !promotional_discount.errors) || (promotional_discount && promotional_discount.length > 0)) && promotional_discount.plan_relation.length > 0 && promotional_discount.plan_relation.includes(plan.id) && !isCurrentPlan(plan)" >
|
|
110
|
+
<b style="font-size: 16px">{{translateMe(plan.name)}}</b>
|
|
111
|
+
<p style="display: flex;margin-top: 10px">
|
|
112
|
+
<PHeading style="font-size: 25px;font-weight: 700;">${{parseFloat(calculatePromotionalDiscountedPrice(plan, promotional_discount)).toFixed(2)}}</PHeading>
|
|
113
|
+
<b style="margin-top: 5px;font-size: 17px">/{{translateMe(selectedPlan === 'monthly' ? ("mo") : ("year"))}}</b>
|
|
114
|
+
</p>
|
|
115
|
+
<p style="display: flex;margin-top: 7px">
|
|
116
|
+
<PHeading style="font-size: 18px;font-weight: 500; text-decoration:line-through;">${{parseFloat(plan.price).toFixed(2)}}</PHeading>
|
|
117
|
+
<b style="margin-top: 3px;font-size: 14px">/{{translateMe(selectedPlan === 'monthly' ? ("mo") : ("year"))}}</b>
|
|
118
|
+
</p>
|
|
119
|
+
</div>
|
|
120
|
+
<div v-else-if="((promotional_discount && promotional_discount.length !== 0 && !promotional_discount.errors) || (promotional_discount && promotional_discount.length > 0)) && promotional_discount.plan_relation.length === 0 && promotional_discount.value > 0 && !isCurrentPlan(plan)" >
|
|
121
|
+
<b style="font-size: 16px">{{translateMe(plan.name)}}</b>
|
|
110
122
|
<p style="display: flex;margin-top: 10px">
|
|
111
123
|
<PHeading style="font-size: 25px;font-weight: 700;">${{parseFloat(calculatePromotionalDiscountedPrice(plan, promotional_discount)).toFixed(2)}}</PHeading>
|
|
112
124
|
<b style="margin-top: 5px;font-size: 17px">/{{translateMe(selectedPlan === 'monthly' ? ("mo") : ("year"))}}</b>
|