@hulkapps/app-manager-vue 3.1.21 → 3.1.22
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 +17 -26
- package/dist/app-manager-vue.min.js +1 -1
- package/dist/app-manager-vue.ssr.js +32 -41
- 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/AppManagerSliderPlan.vue +4 -3
- package/src/components/PolarisNew/PlanCardsHighlights.vue +4 -3
package/package.json
CHANGED
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
</strong>
|
|
69
69
|
</ToggleButton> -->
|
|
70
70
|
</div>
|
|
71
|
-
|
|
71
|
+
<!-- -------------------- Bundle Plan Banner -------------------- -->
|
|
72
|
+
<!-- <PlanShowcaseBanner
|
|
72
73
|
v-if="bundle_plan"
|
|
73
74
|
:useCardStyle="true"
|
|
74
75
|
:width="this.width"
|
|
@@ -76,7 +77,7 @@
|
|
|
76
77
|
:realPrice="parseFloat(calculateDiscountedPrice(bundle_plan)).toFixed(0)"
|
|
77
78
|
:oldPrice="bundle_plan.price" @plan-clicked="handlePlanClicked(bundle_plan)"
|
|
78
79
|
:isCurrentPlan="isCurrentPlanId(bundle_plan)"
|
|
79
|
-
/>
|
|
80
|
+
/> -->
|
|
80
81
|
<PPage
|
|
81
82
|
:class="[
|
|
82
83
|
'app-manager-plan-page-slider',
|
|
@@ -396,7 +397,7 @@ export default {
|
|
|
396
397
|
if (this.discount_code !== null) {
|
|
397
398
|
params['discount_code'] = this.discount_code;
|
|
398
399
|
}
|
|
399
|
-
params['frontend_sdk_version'] = "3.1.
|
|
400
|
+
params['frontend_sdk_version'] = "3.1.22"
|
|
400
401
|
let {data} = await axios.get(`${this.app_manager_config.baseUrl}/api/app-manager/plans`, {params: params}).catch(error => {
|
|
401
402
|
console.error(error)
|
|
402
403
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script>
|
|
2
2
|
import VariantButton from "./VariantButton";
|
|
3
3
|
import Swiper, {Navigation, Pagination} from "swiper";
|
|
4
|
-
import {calculatePlanPriceWithDiscounts, isPlanButtonDisabled, formatFeature, getPlanButtonText, isPlanNote} from "@/helpers";
|
|
4
|
+
import {calculatePlanPriceWithDiscounts, isPlanButtonDisabled, formatFeature, getPlanButtonText, isPlanNote, isPublicPlan} from "@/helpers";
|
|
5
5
|
|
|
6
6
|
export default {
|
|
7
7
|
name: "PlanCardsHighlights",
|
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
methods: {
|
|
108
|
+
isPublicPlan,
|
|
108
109
|
getPlanButtonText,
|
|
109
110
|
isPlanNote,
|
|
110
111
|
isPlanButtonDisabled,
|
|
@@ -462,7 +463,7 @@ export default {
|
|
|
462
463
|
visibility:
|
|
463
464
|
plan.description
|
|
464
465
|
&& selectedInterval === 'monthly'
|
|
465
|
-
&& plan
|
|
466
|
+
&& isPublicPlan(plan)
|
|
466
467
|
? 'visible'
|
|
467
468
|
: 'hidden',
|
|
468
469
|
}"
|
|
@@ -594,7 +595,7 @@ export default {
|
|
|
594
595
|
visibility:
|
|
595
596
|
plan.description
|
|
596
597
|
&& selectedInterval === 'annually'
|
|
597
|
-
&& plan
|
|
598
|
+
&& isPublicPlan(plan)
|
|
598
599
|
? 'visible'
|
|
599
600
|
: 'hidden',
|
|
600
601
|
}"
|