@hulkapps/app-manager-vue 2.5.12 → 3.0.3
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/ArrowLeft.svg +14 -0
- package/dist/CheckFalse.svg +11 -0
- package/dist/CheckTrue.svg +11 -0
- package/dist/NavigationLeft.svg +12 -0
- package/dist/NavigationRight.svg +12 -0
- package/dist/app-manager-vue.esm.css +1 -0
- package/dist/app-manager-vue.esm.js +8655 -1442
- package/dist/app-manager-vue.min.css +1 -0
- package/dist/app-manager-vue.min.js +4 -4
- package/dist/app-manager-vue.ssr.css +1 -0
- package/dist/app-manager-vue.ssr.js +8282 -1577
- package/dist/cogsettings.svg +15 -0
- package/dist/hulkapps-app-manager.css +1 -1
- package/dist/hulkapps-app-manager.min.css +1 -1
- package/package.json +5 -1
- package/src/components/Plans/AppManagerGroupPlan.vue +12 -3
- package/src/components/Plans/AppManagerPlan.vue +16 -3
- package/src/components/Plans/AppManagerSliderPlan.vue +940 -953
- package/src/components/PolarisNew/BundlePlanCard.vue +153 -0
- package/src/components/PolarisNew/CustomizationModal.vue +297 -0
- package/src/components/PolarisNew/GetCustomBlock.vue +93 -0
- package/src/components/PolarisNew/PlanCardsHighlights.vue +746 -0
- package/src/components/PolarisNew/PlanShowcaseBanner.vue +51 -20
- package/src/components/PolarisNew/PlanTable.vue +900 -0
- package/src/components/PolarisNew/SelectButton.vue +95 -0
- package/src/components/PolarisNew/ToggleButton.vue +92 -0
- package/src/components/PolarisNew/VariantButton.vue +134 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hulkapps/app-manager-vue",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Vue SDK to render app manager contents",
|
|
5
5
|
"main": "dist/app-manager-vue.ssr.js",
|
|
6
6
|
"browser": "dist/app-manager-vue.esm.js",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"axios": "^0.26.1",
|
|
25
25
|
"change-case": "^4.1.2",
|
|
26
|
+
"swiper": "^8.0.6",
|
|
26
27
|
"vue-carousel": "^0.18.0"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
@@ -33,15 +34,18 @@
|
|
|
33
34
|
"@rollup/plugin-commonjs": "^14.0.0",
|
|
34
35
|
"@rollup/plugin-node-resolve": "^9.0.0",
|
|
35
36
|
"@rollup/plugin-replace": "^2.4.2",
|
|
37
|
+
"@rollup/plugin-url": "^8.0.2",
|
|
36
38
|
"@vue/cli-plugin-babel": "^4.5.13",
|
|
37
39
|
"@vue/cli-service": "^4.5.13",
|
|
38
40
|
"clean-css-cli": "^5.6.0",
|
|
39
41
|
"cross-env": "^7.0.3",
|
|
40
42
|
"minimist": "^1.2.5",
|
|
41
43
|
"node-sass": "^7.0.1",
|
|
44
|
+
"postcss": "^8.5.4",
|
|
42
45
|
"rimraf": "^3.0.2",
|
|
43
46
|
"rollup": "^2.52.8",
|
|
44
47
|
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
48
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
45
49
|
"rollup-plugin-terser": "^7.0.2",
|
|
46
50
|
"rollup-plugin-vue": "^5.1.9",
|
|
47
51
|
"sass-loader": "^10.0.5",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
<VariantButton id="pricing-tab" v-if="valid_annual_plans.length > 0" :variant="selectedPlan === 'annually' ? 'primary' : 'secondary'" @click="selectPlan('annually')">
|
|
72
72
|
{{ translateMe('Annually') }}
|
|
73
73
|
</VariantButton>
|
|
74
|
-
<VariantButton id="pricing-tab" v-if="bundle_plan !== null" :variant="selectedPlan === 'bundle' ? 'primary' : 'secondary'" @click="selectPlan('bundle')" :additionalText="'
|
|
74
|
+
<VariantButton id="pricing-tab" v-if="bundle_plan !== null" :variant="selectedPlan === 'bundle' ? 'primary' : 'secondary'" @click="selectPlan('bundle')" :additionalText=" totalBundleApps +' Apps'">
|
|
75
75
|
{{ translateMe('Bundle') }}
|
|
76
76
|
</VariantButton>
|
|
77
77
|
</div>
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
</PLayoutSection>
|
|
254
254
|
</PLayout>
|
|
255
255
|
<div v-if="bundle_plan !== null" class="bundle-plan">
|
|
256
|
-
<PlanShowcaseBanner useCardStyle="true" :showcaseData="bundle_plan" :realPrice="parseFloat(calculateDiscountedPrice(bundle_plan)).toFixed(0)" :oldPrice="bundle_plan.price" @plan-clicked="handlePlanClicked(bundle_plan)" :isCurrentPlan="isCurrentPlanId(bundle_plan)"/>
|
|
256
|
+
<PlanShowcaseBanner useCardStyle="true" :bundleApps="totalBundleApps" :showcaseData="bundle_plan" :realPrice="parseFloat(calculateDiscountedPrice(bundle_plan)).toFixed(0)" :oldPrice="bundle_plan.price" @plan-clicked="handlePlanClicked(bundle_plan)" :isCurrentPlan="isCurrentPlanId(bundle_plan)"/>
|
|
257
257
|
<div class="light-divider"></div>
|
|
258
258
|
<div class="bundle-category" v-for="category in bundle_details">
|
|
259
259
|
<CategoryHeading :headingData="category" />
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
</div>
|
|
264
264
|
<CategoryHeading :headingData="additionalBenefitsHeading" />
|
|
265
265
|
<BenefitsBanner />
|
|
266
|
-
<PlanShowcaseBanner style="margin-top: 20px;" :showcaseData="bundle_plan" :realPrice="parseFloat(calculateDiscountedPrice(bundle_plan)).toFixed(0)" :oldPrice="bundle_plan.price" :showDescription="false" :isCurrentPlan="isCurrentPlanId(bundle_plan)" @plan-clicked="handlePlanClicked(bundle_plan)"/>
|
|
266
|
+
<PlanShowcaseBanner style="margin-top: 20px;" :bundleApps="totalBundleApps" :showcaseData="bundle_plan" :realPrice="parseFloat(calculateDiscountedPrice(bundle_plan)).toFixed(0)" :oldPrice="bundle_plan.price" :showDescription="false" :isCurrentPlan="isCurrentPlanId(bundle_plan)" @plan-clicked="handlePlanClicked(bundle_plan)"/>
|
|
267
267
|
</div>
|
|
268
268
|
<!--====================================================================-->
|
|
269
269
|
</PPage>
|
|
@@ -411,6 +411,15 @@
|
|
|
411
411
|
}
|
|
412
412
|
return plans;
|
|
413
413
|
},
|
|
414
|
+
totalBundleApps() {
|
|
415
|
+
let totalApps = 0;
|
|
416
|
+
if (this.bundle_details) {
|
|
417
|
+
this.bundle_details.forEach(category => {
|
|
418
|
+
totalApps += category.apps_relation.length;
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
return totalApps;
|
|
422
|
+
}
|
|
414
423
|
},
|
|
415
424
|
methods: {
|
|
416
425
|
translateMe(message) {
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
<AppManagerSliderPlan
|
|
3
|
+
:shop_domain="shop_domain"
|
|
4
|
+
:host="host"
|
|
5
|
+
:discount_code="discount_code"
|
|
6
|
+
:is_customizable="is_customizable"
|
|
7
|
+
@handlePlanSelect="handlePlanSelect"
|
|
8
|
+
@handlePlanBannerClose="handlePlanBannerClose"
|
|
9
|
+
@handleCustomizePlan="handleCustomizePlan"
|
|
10
|
+
></AppManagerSliderPlan>
|
|
5
11
|
</template>
|
|
6
12
|
|
|
7
13
|
<script>
|
|
@@ -33,6 +39,10 @@ export default {
|
|
|
33
39
|
type: String,
|
|
34
40
|
default: null
|
|
35
41
|
},
|
|
42
|
+
is_customizable: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: false
|
|
45
|
+
},
|
|
36
46
|
translations:{
|
|
37
47
|
type: Object,
|
|
38
48
|
default() {
|
|
@@ -48,6 +58,9 @@ export default {
|
|
|
48
58
|
handlePlanBannerClose(payload) {
|
|
49
59
|
this.$emit('handlePlanBannerClose', payload)
|
|
50
60
|
this.$emit('handle-plan-banner-close', payload)
|
|
61
|
+
},
|
|
62
|
+
handleCustomizePlan(){
|
|
63
|
+
this.$emit('handleCustomizePlan')
|
|
51
64
|
}
|
|
52
65
|
},
|
|
53
66
|
created() {
|