@hulkapps/app-manager-vue 3.1.25 → 3.2.0
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 +10 -39
- package/dist/app-manager-vue.min.js +2 -2
- package/dist/app-manager-vue.ssr.js +35 -64
- 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/AppManagerPlan.vue +0 -6
- package/src/components/Plans/AppManagerSliderPlan.vue +1 -8
- package/src/components/PolarisNew/PlanCardsHighlights.vue +2 -23
package/package.json
CHANGED
|
@@ -17,8 +17,6 @@ import AppManagerSliderPlan from "./AppManagerSliderPlan";
|
|
|
17
17
|
import Vue from "vue";
|
|
18
18
|
import install from "@/entry.esm";
|
|
19
19
|
|
|
20
|
-
const APP_MANAGER_VUE_VERSION = "3.1.24";
|
|
21
|
-
|
|
22
20
|
export default {
|
|
23
21
|
name: "AppManagerPlan",
|
|
24
22
|
components: {AppManagerSliderPlan},
|
|
@@ -79,10 +77,6 @@ export default {
|
|
|
79
77
|
}
|
|
80
78
|
install(Vue, config)
|
|
81
79
|
}
|
|
82
|
-
|
|
83
|
-
console.info("[AppManagerPlan] mounted wrapper context", {
|
|
84
|
-
sdkVersion: APP_MANAGER_VUE_VERSION,
|
|
85
|
-
});
|
|
86
80
|
}
|
|
87
81
|
}
|
|
88
82
|
</script>
|
|
@@ -196,7 +196,7 @@ import CustomizationModal from "@/components/PolarisNew/CustomizationModal.vue";
|
|
|
196
196
|
import {calculatePlanPriceWithDiscounts} from "@/helpers";
|
|
197
197
|
import PlanBanners from "@/components/Plans/PlanBanners.vue";
|
|
198
198
|
|
|
199
|
-
const APP_MANAGER_VUE_VERSION = "3.
|
|
199
|
+
const APP_MANAGER_VUE_VERSION = "3.2.0";
|
|
200
200
|
|
|
201
201
|
export default {
|
|
202
202
|
name: "AppManagerSliderPlan",
|
|
@@ -447,10 +447,6 @@ export default {
|
|
|
447
447
|
if (data.bundle_details) {
|
|
448
448
|
this.bundle_details = data.bundle_details;
|
|
449
449
|
}
|
|
450
|
-
|
|
451
|
-
console.info("[AppManagerSliderPlan] plans loaded", {
|
|
452
|
-
sdkVersion: APP_MANAGER_VUE_VERSION,
|
|
453
|
-
});
|
|
454
450
|
}
|
|
455
451
|
},
|
|
456
452
|
handlePlanBannerClose(payload) {
|
|
@@ -470,9 +466,6 @@ export default {
|
|
|
470
466
|
},
|
|
471
467
|
async mounted() {
|
|
472
468
|
this.planLoading = true;
|
|
473
|
-
console.info("[AppManagerSliderPlan] mounting plan view", {
|
|
474
|
-
sdkVersion: APP_MANAGER_VUE_VERSION,
|
|
475
|
-
});
|
|
476
469
|
await this.fetchFeatures();
|
|
477
470
|
await this.fetchPlans();
|
|
478
471
|
this.planLoading = false;
|
|
@@ -123,32 +123,11 @@ export default {
|
|
|
123
123
|
},
|
|
124
124
|
debugAnyPlanHasDetail(interval) {
|
|
125
125
|
const isMonthlyInterval = interval === "monthly";
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
console.info("[PlanCardsHighlights][render] detail-row gate", {
|
|
129
|
-
interval,
|
|
130
|
-
selectedInterval: this.selectedInterval,
|
|
131
|
-
anyMonthlyPlanHasDetail: this.anyMonthlyPlanHasDetail,
|
|
132
|
-
anyAnnuallyPlanHasDetail: this.anyAnnuallyPlanHasDetail,
|
|
133
|
-
value,
|
|
134
|
-
});
|
|
135
|
-
|
|
136
|
-
return value;
|
|
126
|
+
return isMonthlyInterval ? this.anyMonthlyPlanHasDetail : this.anyAnnuallyPlanHasDetail;
|
|
137
127
|
},
|
|
138
128
|
debugPlanDetailVisibility(plan, interval) {
|
|
139
129
|
const primaryDetail = this.getPrimaryPlanDetail(plan);
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
console.info("[PlanCardsHighlights][render] detail-row visibility", {
|
|
143
|
-
interval,
|
|
144
|
-
selectedInterval: this.selectedInterval,
|
|
145
|
-
planId: plan?.id,
|
|
146
|
-
hasPrimaryDetail: Boolean(primaryDetail),
|
|
147
|
-
primaryDetail: primaryDetail?.name || null,
|
|
148
|
-
isVisible,
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
return isVisible;
|
|
130
|
+
return this.selectedInterval === interval && Boolean(primaryDetail);
|
|
152
131
|
},
|
|
153
132
|
getSortedPlanHighlights(plan) {
|
|
154
133
|
return Object.values(plan.details || {})
|