@hulkapps/app-manager-vue 2.4.6 → 2.4.7
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 +767 -6
- package/dist/app-manager-vue.min.js +4 -4
- package/dist/app-manager-vue.ssr.js +769 -8
- 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 +1 -1
- package/src/components/Plans/AppManagerSliderPlan.vue +1 -1
|
@@ -40556,12 +40556,454 @@ var __vue_render__$2 = function __vue_render__() {
|
|
|
40556
40556
|
|
|
40557
40557
|
var _c = _vm._self._c || _h;
|
|
40558
40558
|
|
|
40559
|
-
return _c('PEmptyState', {
|
|
40559
|
+
return !this.planLoading && this.plans.length === 0 ? _c('PEmptyState', {
|
|
40560
40560
|
attrs: {
|
|
40561
40561
|
"heading": _vm.translateMe('No Plans'),
|
|
40562
40562
|
"image": "https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"
|
|
40563
40563
|
}
|
|
40564
|
-
})
|
|
40564
|
+
}) : _c('PPage', {
|
|
40565
|
+
staticClass: "app-manager-plan-page custom-title",
|
|
40566
|
+
attrs: {
|
|
40567
|
+
"title": _vm.translateMe('Plans'),
|
|
40568
|
+
"subtitle": _vm.subtitleContent
|
|
40569
|
+
}
|
|
40570
|
+
}, [_c('PStack', {
|
|
40571
|
+
attrs: {
|
|
40572
|
+
"slot": "primaryAction"
|
|
40573
|
+
},
|
|
40574
|
+
slot: "primaryAction"
|
|
40575
|
+
}, [_c('PStackItem', {
|
|
40576
|
+
staticStyle: {
|
|
40577
|
+
"margin-top": "20px"
|
|
40578
|
+
}
|
|
40579
|
+
}, [_c('PButtonGroup', {
|
|
40580
|
+
staticClass: "btn-group",
|
|
40581
|
+
attrs: {
|
|
40582
|
+
"segmented": ""
|
|
40583
|
+
}
|
|
40584
|
+
}, [_vm.monthlyPlan.length && _vm.yearlyPlan.length ? _c('PButton', {
|
|
40585
|
+
class: _vm.selectedPlan === 'monthly' ? 'plan-active-tab' : '',
|
|
40586
|
+
style: _vm.selectedPlan === 'monthly' ? _vm.monthlySelectedStyle : _vm.monthlyStyle,
|
|
40587
|
+
on: {
|
|
40588
|
+
"click": function click($event) {
|
|
40589
|
+
return _vm.selectPlan('monthly');
|
|
40590
|
+
}
|
|
40591
|
+
}
|
|
40592
|
+
}, [_c('p', {
|
|
40593
|
+
staticStyle: {
|
|
40594
|
+
"font-size": "17px",
|
|
40595
|
+
"font-weight": "500"
|
|
40596
|
+
},
|
|
40597
|
+
attrs: {
|
|
40598
|
+
"slot": "default"
|
|
40599
|
+
},
|
|
40600
|
+
slot: "default"
|
|
40601
|
+
}, [_vm._v(_vm._s(_vm.translateMe('Monthly')))])]) : _vm._e(), _vm._v(" "), _vm.yearlyPlan.length && _vm.monthlyPlan.length ? _c('PButton', {
|
|
40602
|
+
class: _vm.selectedPlan === 'annually' ? 'plan-active-tab' : '',
|
|
40603
|
+
style: _vm.selectedPlan === 'annually' ? _vm.yearlySelectedStyle : _vm.yearlyStyle,
|
|
40604
|
+
attrs: {
|
|
40605
|
+
"primary": _vm.selectedPlan === 'annually'
|
|
40606
|
+
},
|
|
40607
|
+
on: {
|
|
40608
|
+
"click": function click($event) {
|
|
40609
|
+
return _vm.selectPlan('annually');
|
|
40610
|
+
}
|
|
40611
|
+
}
|
|
40612
|
+
}, [_c('YearlyPlanPromotion')], 1) : _vm._e()], 1)], 1)], 1), _vm._v(" "), _c('hr', {
|
|
40613
|
+
staticStyle: {
|
|
40614
|
+
"width": "100%",
|
|
40615
|
+
"margin-right": "auto",
|
|
40616
|
+
"margin-left": "auto",
|
|
40617
|
+
"margin-bottom": "20px"
|
|
40618
|
+
}
|
|
40619
|
+
}), _vm._v(" "), _c('PLayout', {
|
|
40620
|
+
staticClass: "custom-plan"
|
|
40621
|
+
}, [_c('PLayoutSection', [[[_c('PDataTable', {
|
|
40622
|
+
staticClass: "plan-table"
|
|
40623
|
+
}, [_c('template', {
|
|
40624
|
+
slot: "head"
|
|
40625
|
+
}, [_vm.selectedPlan === 'monthly' ? _c('PDataTableRow', {
|
|
40626
|
+
staticStyle: {
|
|
40627
|
+
"box-shadow": "none!important"
|
|
40628
|
+
}
|
|
40629
|
+
}, [_c('PDataTableCol', {
|
|
40630
|
+
staticClass: "plan-heading",
|
|
40631
|
+
staticStyle: {
|
|
40632
|
+
"opacity": "0",
|
|
40633
|
+
"visibility": "hidden",
|
|
40634
|
+
"border": "0 !important"
|
|
40635
|
+
}
|
|
40636
|
+
}, [_c('b', [_vm._v(_vm._s(_vm.translateMe('features')))])]), _vm._v(" "), _vm._l(_vm.monthlyPlan, function (plan, key) {
|
|
40637
|
+
return [_c('PDataTableCol', {
|
|
40638
|
+
class: {
|
|
40639
|
+
'first-column': key === 0,
|
|
40640
|
+
'plan-heading': true,
|
|
40641
|
+
'last-column': key + 1 === _vm.monthlyPlan.length
|
|
40642
|
+
},
|
|
40643
|
+
style: _vm.activePlanStyle(plan)
|
|
40644
|
+
}, [plan.name !== 'Free' ? _c('b', {
|
|
40645
|
+
staticStyle: {
|
|
40646
|
+
"font-size": "16px"
|
|
40647
|
+
}
|
|
40648
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]) : _vm._e(), _vm._v(" "), plan.price === 0 ? _c('div', [_c('p', {
|
|
40649
|
+
staticStyle: {
|
|
40650
|
+
"display": "flex",
|
|
40651
|
+
"margin-top": "10px"
|
|
40652
|
+
}
|
|
40653
|
+
}, [_c('PHeading', {
|
|
40654
|
+
staticStyle: {
|
|
40655
|
+
"font-size": "25px",
|
|
40656
|
+
"font-weight": "700"
|
|
40657
|
+
}
|
|
40658
|
+
}, [_vm._v(_vm._s(_vm.translateMe('Free')))])], 1)]) : plan.discount && plan.discount > 0 && !_vm.isCurrentPlan(plan) ? _c('div', [_c('p', {
|
|
40659
|
+
staticStyle: {
|
|
40660
|
+
"display": "flex",
|
|
40661
|
+
"margin-top": "10px"
|
|
40662
|
+
}
|
|
40663
|
+
}, [_c('PHeading', {
|
|
40664
|
+
staticStyle: {
|
|
40665
|
+
"font-size": "25px",
|
|
40666
|
+
"font-weight": "700"
|
|
40667
|
+
}
|
|
40668
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculateDiscountedPrice(plan)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40669
|
+
staticStyle: {
|
|
40670
|
+
"margin-top": "5px",
|
|
40671
|
+
"font-size": "17px"
|
|
40672
|
+
}
|
|
40673
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("mo")))])], 1), _vm._v(" "), _c('p', {
|
|
40674
|
+
staticStyle: {
|
|
40675
|
+
"display": "flex",
|
|
40676
|
+
"margin-top": "7px"
|
|
40677
|
+
}
|
|
40678
|
+
}, [_c('PHeading', {
|
|
40679
|
+
staticStyle: {
|
|
40680
|
+
"font-size": "18px",
|
|
40681
|
+
"font-weight": "500",
|
|
40682
|
+
"text-decoration": "line-through"
|
|
40683
|
+
}
|
|
40684
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40685
|
+
staticStyle: {
|
|
40686
|
+
"margin-top": "3px",
|
|
40687
|
+
"font-size": "14px"
|
|
40688
|
+
}
|
|
40689
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("mo")))])], 1)]) : _vm.promotional_discount && _vm.promotional_discount.length !== 0 && !_vm.promotional_discount.errors && _vm.promotional_discount.plan_relation.length > 0 && _vm.promotional_discount.plan_relation.includes(plan.id) && !_vm.isCurrentPlan(plan) ? _c('div', [_c('p', {
|
|
40690
|
+
staticStyle: {
|
|
40691
|
+
"display": "flex",
|
|
40692
|
+
"margin-top": "10px"
|
|
40693
|
+
}
|
|
40694
|
+
}, [_c('PHeading', {
|
|
40695
|
+
staticStyle: {
|
|
40696
|
+
"font-size": "25px",
|
|
40697
|
+
"font-weight": "700"
|
|
40698
|
+
}
|
|
40699
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculatePromotionalDiscountedPrice(plan, _vm.promotional_discount)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40700
|
+
staticStyle: {
|
|
40701
|
+
"margin-top": "5px",
|
|
40702
|
+
"font-size": "17px"
|
|
40703
|
+
}
|
|
40704
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("mo")))])], 1), _vm._v(" "), _c('p', {
|
|
40705
|
+
staticStyle: {
|
|
40706
|
+
"display": "flex",
|
|
40707
|
+
"margin-top": "7px"
|
|
40708
|
+
}
|
|
40709
|
+
}, [_c('PHeading', {
|
|
40710
|
+
staticStyle: {
|
|
40711
|
+
"font-size": "18px",
|
|
40712
|
+
"font-weight": "500",
|
|
40713
|
+
"text-decoration": "line-through"
|
|
40714
|
+
}
|
|
40715
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40716
|
+
staticStyle: {
|
|
40717
|
+
"margin-top": "3px",
|
|
40718
|
+
"font-size": "14px"
|
|
40719
|
+
}
|
|
40720
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("mo")))])], 1)]) : _vm.promotional_discount && _vm.promotional_discount.length !== 0 && !_vm.promotional_discount.errors && _vm.promotional_discount.plan_relation.length === 0 && _vm.promotional_discount.value > 0 && !_vm.isCurrentPlan(plan) ? _c('div', [_c('p', {
|
|
40721
|
+
staticStyle: {
|
|
40722
|
+
"display": "flex",
|
|
40723
|
+
"margin-top": "10px"
|
|
40724
|
+
}
|
|
40725
|
+
}, [_c('PHeading', {
|
|
40726
|
+
staticStyle: {
|
|
40727
|
+
"font-size": "25px",
|
|
40728
|
+
"font-weight": "700"
|
|
40729
|
+
}
|
|
40730
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculatePromotionalDiscountedPrice(plan, _vm.promotional_discount)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40731
|
+
staticStyle: {
|
|
40732
|
+
"margin-top": "5px",
|
|
40733
|
+
"font-size": "17px"
|
|
40734
|
+
}
|
|
40735
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("mo")))])], 1), _vm._v(" "), _c('p', {
|
|
40736
|
+
staticStyle: {
|
|
40737
|
+
"display": "flex",
|
|
40738
|
+
"margin-top": "7px"
|
|
40739
|
+
}
|
|
40740
|
+
}, [_c('PHeading', {
|
|
40741
|
+
staticStyle: {
|
|
40742
|
+
"font-size": "18px",
|
|
40743
|
+
"font-weight": "500",
|
|
40744
|
+
"text-decoration": "line-through"
|
|
40745
|
+
}
|
|
40746
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40747
|
+
staticStyle: {
|
|
40748
|
+
"margin-top": "3px",
|
|
40749
|
+
"font-size": "14px"
|
|
40750
|
+
}
|
|
40751
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("mo")))])], 1)]) : _c('div', [_c('p', {
|
|
40752
|
+
staticStyle: {
|
|
40753
|
+
"display": "flex",
|
|
40754
|
+
"margin-top": "10px"
|
|
40755
|
+
}
|
|
40756
|
+
}, [_c('PHeading', {
|
|
40757
|
+
staticStyle: {
|
|
40758
|
+
"font-size": "25px",
|
|
40759
|
+
"font-weight": "700"
|
|
40760
|
+
}
|
|
40761
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40762
|
+
staticStyle: {
|
|
40763
|
+
"margin-top": "5px",
|
|
40764
|
+
"font-size": "17px"
|
|
40765
|
+
}
|
|
40766
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("mo")))])], 1)])])];
|
|
40767
|
+
})], 2) : _c('PDataTableRow', [_c('PDataTableCol', {
|
|
40768
|
+
staticClass: "plan-heading",
|
|
40769
|
+
staticStyle: {
|
|
40770
|
+
"opacity": "0",
|
|
40771
|
+
"visibility": "hidden",
|
|
40772
|
+
"border": "0 !important"
|
|
40773
|
+
}
|
|
40774
|
+
}, [_c('b', [_vm._v(_vm._s(_vm.translateMe('features')))])]), _vm._v(" "), _vm._l(_vm.yearlyPlan, function (plan, key) {
|
|
40775
|
+
return [_c('PDataTableCol', {
|
|
40776
|
+
class: {
|
|
40777
|
+
'first-column': key === 0,
|
|
40778
|
+
'plan-heading': true,
|
|
40779
|
+
'last-column': key + 1 === _vm.yearlyPlan.length
|
|
40780
|
+
},
|
|
40781
|
+
style: _vm.activePlanStyle(plan)
|
|
40782
|
+
}, [plan.name !== 'Free' ? _c('b', {
|
|
40783
|
+
staticStyle: {
|
|
40784
|
+
"font-size": "16px"
|
|
40785
|
+
}
|
|
40786
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]) : _vm._e(), _vm._v(" "), plan.price === 0 ? _c('div', [_c('p', {
|
|
40787
|
+
staticStyle: {
|
|
40788
|
+
"display": "flex",
|
|
40789
|
+
"margin-top": "10px"
|
|
40790
|
+
}
|
|
40791
|
+
}, [_c('PHeading', {
|
|
40792
|
+
staticStyle: {
|
|
40793
|
+
"font-size": "25px",
|
|
40794
|
+
"font-weight": "700"
|
|
40795
|
+
}
|
|
40796
|
+
}, [_vm._v(_vm._s(_vm.translateMe('Free')))])], 1)]) : plan.discount && plan.discount > 0 && !_vm.isCurrentPlan(plan) ? _c('div', [_c('p', {
|
|
40797
|
+
staticStyle: {
|
|
40798
|
+
"display": "flex",
|
|
40799
|
+
"margin-top": "10px"
|
|
40800
|
+
}
|
|
40801
|
+
}, [_c('PHeading', {
|
|
40802
|
+
staticStyle: {
|
|
40803
|
+
"font-size": "25px",
|
|
40804
|
+
"font-weight": "700"
|
|
40805
|
+
}
|
|
40806
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculateDiscountedPrice(plan)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40807
|
+
staticStyle: {
|
|
40808
|
+
"margin-top": "5px",
|
|
40809
|
+
"font-size": "17px"
|
|
40810
|
+
}
|
|
40811
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("year")))])], 1), _vm._v(" "), _c('p', {
|
|
40812
|
+
staticStyle: {
|
|
40813
|
+
"display": "flex",
|
|
40814
|
+
"margin-top": "7px"
|
|
40815
|
+
}
|
|
40816
|
+
}, [_c('PHeading', {
|
|
40817
|
+
staticStyle: {
|
|
40818
|
+
"font-size": "18px",
|
|
40819
|
+
"font-weight": "500",
|
|
40820
|
+
"text-decoration": "line-through"
|
|
40821
|
+
}
|
|
40822
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40823
|
+
staticStyle: {
|
|
40824
|
+
"margin-top": "3px",
|
|
40825
|
+
"font-size": "14px"
|
|
40826
|
+
}
|
|
40827
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("year")))])], 1)]) : _vm.promotional_discount && _vm.promotional_discount.length !== 0 && !_vm.promotional_discount.errors && _vm.promotional_discount.plan_relation.length > 0 && _vm.promotional_discount.plan_relation.includes(plan.id) && !_vm.isCurrentPlan(plan) ? _c('div', [_c('p', {
|
|
40828
|
+
staticStyle: {
|
|
40829
|
+
"display": "flex",
|
|
40830
|
+
"margin-top": "10px"
|
|
40831
|
+
}
|
|
40832
|
+
}, [_c('PHeading', {
|
|
40833
|
+
staticStyle: {
|
|
40834
|
+
"font-size": "25px",
|
|
40835
|
+
"font-weight": "700"
|
|
40836
|
+
}
|
|
40837
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculatePromotionalDiscountedPrice(plan, _vm.promotional_discount)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40838
|
+
staticStyle: {
|
|
40839
|
+
"margin-top": "5px",
|
|
40840
|
+
"font-size": "17px"
|
|
40841
|
+
}
|
|
40842
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("year")))])], 1), _vm._v(" "), _c('p', {
|
|
40843
|
+
staticStyle: {
|
|
40844
|
+
"display": "flex",
|
|
40845
|
+
"margin-top": "7px"
|
|
40846
|
+
}
|
|
40847
|
+
}, [_c('PHeading', {
|
|
40848
|
+
staticStyle: {
|
|
40849
|
+
"font-size": "18px",
|
|
40850
|
+
"font-weight": "500",
|
|
40851
|
+
"text-decoration": "line-through"
|
|
40852
|
+
}
|
|
40853
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40854
|
+
staticStyle: {
|
|
40855
|
+
"margin-top": "3px",
|
|
40856
|
+
"font-size": "14px"
|
|
40857
|
+
}
|
|
40858
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("year")))])], 1)]) : _vm.promotional_discount && _vm.promotional_discount.length !== 0 && !_vm.promotional_discount.errors && _vm.promotional_discount.plan_relation.length === 0 && _vm.promotional_discount.value > 0 && !_vm.isCurrentPlan(plan) ? _c('div', [_c('p', {
|
|
40859
|
+
staticStyle: {
|
|
40860
|
+
"display": "flex",
|
|
40861
|
+
"margin-top": "10px"
|
|
40862
|
+
}
|
|
40863
|
+
}, [_c('PHeading', {
|
|
40864
|
+
staticStyle: {
|
|
40865
|
+
"font-size": "25px",
|
|
40866
|
+
"font-weight": "700"
|
|
40867
|
+
}
|
|
40868
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculatePromotionalDiscountedPrice(plan, _vm.promotional_discount)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40869
|
+
staticStyle: {
|
|
40870
|
+
"margin-top": "5px",
|
|
40871
|
+
"font-size": "17px"
|
|
40872
|
+
}
|
|
40873
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("year")))])], 1), _vm._v(" "), _c('p', {
|
|
40874
|
+
staticStyle: {
|
|
40875
|
+
"display": "flex",
|
|
40876
|
+
"margin-top": "7px"
|
|
40877
|
+
}
|
|
40878
|
+
}, [_c('PHeading', {
|
|
40879
|
+
staticStyle: {
|
|
40880
|
+
"font-size": "18px",
|
|
40881
|
+
"font-weight": "500",
|
|
40882
|
+
"text-decoration": "line-through"
|
|
40883
|
+
}
|
|
40884
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40885
|
+
staticStyle: {
|
|
40886
|
+
"margin-top": "3px",
|
|
40887
|
+
"font-size": "14px"
|
|
40888
|
+
}
|
|
40889
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("year")))])], 1)]) : _c('div', [_c('p', {
|
|
40890
|
+
staticStyle: {
|
|
40891
|
+
"display": "flex",
|
|
40892
|
+
"margin-top": "10px"
|
|
40893
|
+
}
|
|
40894
|
+
}, [_c('PHeading', {
|
|
40895
|
+
staticStyle: {
|
|
40896
|
+
"font-size": "25px",
|
|
40897
|
+
"font-weight": "700"
|
|
40898
|
+
}
|
|
40899
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
40900
|
+
staticStyle: {
|
|
40901
|
+
"margin-top": "5px",
|
|
40902
|
+
"font-size": "17px"
|
|
40903
|
+
}
|
|
40904
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("year")))])], 1)])])];
|
|
40905
|
+
})], 2)], 1), _vm._v(" "), _c('template', {
|
|
40906
|
+
slot: "body"
|
|
40907
|
+
}, [_vm._l(_vm.featuresByGroup, function (featureGroup, groupKey) {
|
|
40908
|
+
return [groupKey !== 'null' ? _c('PDataTableRow', {
|
|
40909
|
+
staticClass: "app-manager-group-row"
|
|
40910
|
+
}, [_c('PDataTableCol', {
|
|
40911
|
+
staticClass: "app-manager-group-cell",
|
|
40912
|
+
attrs: {
|
|
40913
|
+
"colspan": _vm.selectedPlan === 'monthly' ? _vm.monthlyPlan.length + 1 : _vm.yearlyPlan.length + 1
|
|
40914
|
+
}
|
|
40915
|
+
}, [_vm._v(_vm._s(_vm.translateMe(groupKey)))])], 1) : _vm._e(), _vm._v(" "), _vm._l(featureGroup, function (feature, rIndex) {
|
|
40916
|
+
return _c('PDataTableRow', {
|
|
40917
|
+
key: "row-" + (rIndex + groupKey)
|
|
40918
|
+
}, [_c('PDataTableCol', {
|
|
40919
|
+
class: "feature__type__" + feature.value_type + " feature__class"
|
|
40920
|
+
}, [_vm._v(_vm._s(_vm.translateMe(feature.name)))]), _vm._v(" "), _vm._l(_vm.selectedPlan === 'monthly' ? _vm.monthlyPlan : _vm.yearlyPlan, function (plan, cIndex) {
|
|
40921
|
+
return _c('PDataTableCol', {
|
|
40922
|
+
key: "cell-" + cIndex + "-row-" + rIndex,
|
|
40923
|
+
class: "feature__type__" + feature.value_type,
|
|
40924
|
+
style: _vm.activePlanStyle(plan)
|
|
40925
|
+
}, [plan.features ? [feature.value_type === 'boolean' ? [plan.features[feature.uuid] ? _c('PIcon', {
|
|
40926
|
+
attrs: {
|
|
40927
|
+
"color": "success",
|
|
40928
|
+
"source": "TickMinor"
|
|
40929
|
+
}
|
|
40930
|
+
}) : _c('PIcon', {
|
|
40931
|
+
attrs: {
|
|
40932
|
+
"color": "subdued",
|
|
40933
|
+
"source": "MinusMinor"
|
|
40934
|
+
}
|
|
40935
|
+
})] : [plan.features[feature.uuid] ? _c('span', [_vm._v(_vm._s(_vm.translateMe(_vm.format(plan.features[feature.uuid]))))]) : _c('PIcon', {
|
|
40936
|
+
attrs: {
|
|
40937
|
+
"color": "subdued",
|
|
40938
|
+
"source": "MinusMinor"
|
|
40939
|
+
}
|
|
40940
|
+
})]] : [_c('PIcon', {
|
|
40941
|
+
attrs: {
|
|
40942
|
+
"color": "subdued",
|
|
40943
|
+
"source": "MinusMinor"
|
|
40944
|
+
}
|
|
40945
|
+
})]], 2);
|
|
40946
|
+
})], 2);
|
|
40947
|
+
})];
|
|
40948
|
+
}), _vm._v(" "), _vm.plans.length ? _c('PDataTableRow', {
|
|
40949
|
+
staticClass: "row-alignment"
|
|
40950
|
+
}, [_c('PDataTableCol'), _vm._v(" "), _vm._l(_vm.selectedPlan === 'monthly' ? _vm.monthlyPlan : _vm.yearlyPlan, function (plan, cIndex) {
|
|
40951
|
+
return _c('PDataTableCol', {
|
|
40952
|
+
key: "cell-" + cIndex + "-row-plan",
|
|
40953
|
+
staticStyle: {
|
|
40954
|
+
"max-width": "0"
|
|
40955
|
+
}
|
|
40956
|
+
}, [_vm.isCurrentPlan(plan) ? _c('PButton', {
|
|
40957
|
+
attrs: {
|
|
40958
|
+
"disabled": _vm.isCurrentPlan(plan),
|
|
40959
|
+
"full-width": "",
|
|
40960
|
+
"pressed": _vm.isCurrentPlan(plan)
|
|
40961
|
+
}
|
|
40962
|
+
}, [_vm._v("\n " + _vm._s(_vm.translateMe('Current Plan')) + "\n ")]) : !plan.store_base_plan || plan.shopify_plans.includes(_vm.shop.shopify_plan) ? _c('PButton', {
|
|
40963
|
+
class: _vm.planChooseButtonClass(plan),
|
|
40964
|
+
attrs: {
|
|
40965
|
+
"full-width": "",
|
|
40966
|
+
"primary": _vm.isPlanButtonColor(plan)
|
|
40967
|
+
},
|
|
40968
|
+
on: {
|
|
40969
|
+
"click": function click($event) {
|
|
40970
|
+
plan ? _vm.getPlanUrl(plan) : 'javascript:void';
|
|
40971
|
+
}
|
|
40972
|
+
}
|
|
40973
|
+
}, [_vm._v("\n " + _vm._s(_vm.translateMe('Choose Plan')) + "\n ")]) : _c('PButton', {
|
|
40974
|
+
attrs: {
|
|
40975
|
+
"disabled": true,
|
|
40976
|
+
"full-width": "",
|
|
40977
|
+
"pressed": true
|
|
40978
|
+
}
|
|
40979
|
+
}, [_vm._v("\n " + _vm._s(_vm.translateMe('Not applicable')) + "\n ")]), _vm._v(" "), plan.store_base_plan && _vm.shop.plan && plan.shopify_plans.includes(_vm.shop.shopify_plan) && !_vm.isCurrentPlan(plan) ? _c('PTextContainer', {
|
|
40980
|
+
staticClass: "footer-note-container"
|
|
40981
|
+
}, [plan.store_base_plan && !plan.shopify_plans.includes(_vm.shop.shopify_plan) && !_vm.isCurrentPlan(plan) && !_vm.isSamePlanInOtherInterval(plan) ? _c('PTextStyle', {
|
|
40982
|
+
staticClass: "text-break"
|
|
40983
|
+
}, [_vm._v(_vm._s(_vm.translateMe('Note: On account of your recent Shopify plan upgrade, you should consider upgrading your current app plan')))]) : _vm._e()], 1) : _vm._e()], 1);
|
|
40984
|
+
})], 2) : _vm._e()], 2)], 2)]], _vm._v(" "), _vm.onboard ? _c('PStack', {
|
|
40985
|
+
staticClass: "choose-plan-btn",
|
|
40986
|
+
attrs: {
|
|
40987
|
+
"alignment": "center",
|
|
40988
|
+
"distribution": "center",
|
|
40989
|
+
"vertical": ""
|
|
40990
|
+
}
|
|
40991
|
+
}, [_c('PStackItem', {
|
|
40992
|
+
attrs: {
|
|
40993
|
+
"fill": ""
|
|
40994
|
+
}
|
|
40995
|
+
}, [_c('PButton', {
|
|
40996
|
+
attrs: {
|
|
40997
|
+
"plain": ""
|
|
40998
|
+
},
|
|
40999
|
+
on: {
|
|
41000
|
+
"click": _vm.activePlan
|
|
41001
|
+
}
|
|
41002
|
+
}, [_vm._v(_vm._s(_vm.translateMe('I will choose the plan later')))])], 1)], 1) : _vm._e(), _vm._v(" "), _c('PlanBanners', {
|
|
41003
|
+
on: {
|
|
41004
|
+
"handlePlanBannerClose": _vm.handlePlanBannerClose
|
|
41005
|
+
}
|
|
41006
|
+
})], 2)], 1)], 1);
|
|
40565
41007
|
};
|
|
40566
41008
|
|
|
40567
41009
|
var __vue_staticRenderFns__$2 = [];
|
|
@@ -40569,7 +41011,7 @@ var __vue_staticRenderFns__$2 = [];
|
|
|
40569
41011
|
|
|
40570
41012
|
var __vue_inject_styles__$2 = function __vue_inject_styles__(inject) {
|
|
40571
41013
|
if (!inject) return;
|
|
40572
|
-
inject("data-v-
|
|
41014
|
+
inject("data-v-0cc24207_0", {
|
|
40573
41015
|
source: "@import url(https://fonts.googleapis.com/css2?family=Satisfy&display=swap);.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-5a078dbb],.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-7d902277]{float:none}.app-manager .app-manager-plan-page .active{background:#f0f8f5}.app-manager .app-manager-plan-page .plan-table td:last-child>[data-v-0d1b0d63]{float:none}.app-manager .app-manager-plan-page .plan-table td{border:.01px solid #ececee!important;border-collapse:collapse!important}.app-manager .app-manager-plan-page .plan-table .Polaris-DataTable__ScrollContainer{border-radius:12px;overflow:visible}.app-manager .app-manager-plan-page .plan-table table{border-collapse:collapse!important}.app-manager .app-manager-plan-page .custom-plan table{border-collapse:collapse!important}.app-manager .app-manager-plan-page .custom-plan table thead .first-column{border-radius:12px 0 0 0;border-top:0!important;border-left:0!important}.app-manager .app-manager-plan-page .custom-plan table thead .plan-heading.last-column{text-align:left!important;border-radius:0 12px 0 0;border-top:0!important}.app-manager .app-manager-plan-page .custom-plan table thead .plan-heading{background-color:#fff;box-shadow:rgba(23,24,24,.05) 1px 0 8px,rgba(0,0,0,.15) 0 0 2px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:first-child{background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);border-radius:12px 0 0 0;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:first-child:last-child){background-color:#fff;box-shadow:0 0 5px rgba(23,24,24,.05),0 1px 2px rgba(0,0,0,.15);overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){background-color:#fff;overflow:hidden}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:nth-last-child(2)){border-bottom:0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child{border-bottom:0;background-color:transparent!important;box-shadow:none!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:not(:last-child){pointer-events:none}.app-manager .app-manager-plan-page .custom-plan table thead tr td{pointer-events:none}.app-manager .app-manager-plan-page .custom-plan table tbody tr:first-child td:first-child{overflow:hidden;border-radius:12px 0 0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2){overflow:hidden;border-bottom-right-radius:12px;border-bottom-left-radius:12px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:first-child{overflow:hidden;border-bottom:0!important;border-radius:0 0 0 12px}.app-manager .app-manager-plan-page .custom-plan table tbody tr:nth-last-child(2) td:last-child{overflow:hidden;border-radius:0 0 12px}.app-manager .app-manager-plan-page .custom-plan table tbody tr td:first-child{border-left:0!important;border-top:0!important;padding-left:20px}.app-manager .app-manager-plan-page .custom-plan table tbody tr td:last-child{border-right:0!important;border-bottom:0!important;text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table thead tr td:last-child{border-right:0!important;border-bottom:0!important;text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table tbody td:not(:first-child){text-align:center!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:last-child{background:0 0;border-radius:0 0 12px 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td{border:0!important;background:0 0}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:hover{border:0!important;background:0 0}.app-manager .app-manager-plan-page .custom-plan tbody tr:last-child td.Polaris-DataTable__Cell--verticalAlignTop{background:0 0!important}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child{background:0 0;opacity:1}.app-manager .app-manager-plan-page .custom-plan table tbody tr:last-child td:first-child{visibility:hidden}.app-manager .app-manager-plan-page .plan-heading{padding-top:30px}.app-manager .app-manager-plan-page .custom-plan .Polaris-Layout__Section{max-width:calc(100% - 2rem)!important}.app-manager .app-manager-plan-page .later-link{text-align:center;clear:both;padding-top:15px}.app-manager .app-manager-plan-page .plan-badge ul{text-align:center;padding-top:2rem;border-top:.1rem solid #e1e3e5}.app-manager .app-manager-plan-page .plan-badge ul li{list-style:none;display:inline-block;padding-right:25px}.app-manager .app-manager-plan-page .plan-badge ul li img{max-width:133px}.app-manager .app-manager-plan-page .btn-group .Polaris-ButtonGroup__Item{margin-left:0!important;z-index:unset!important}.app-manager .app-manager-plan-page.custom-title .Polaris-HorizontalDivider{background-color:#e2e3e4}.app-manager .app-manager-plan-page .Polaris-Page__Content hr{border:1px solid #e2e3e4}.app-manager .app-manager-plan-page .app-manager-group-row{background:0 0!important;padding:16px 16px 16px 20px!important}.app-manager .app-manager-plan-page .feature__type__array{vertical-align:middle!important;word-spacing:999px;white-space:pre-line!important}.app-manager .app-manager-plan-page .Polaris-DataTable__Table{table-layout:fixed!important}.app-manager .app-manager-plan-page td{vertical-align:middle!important}.app-manager .app-manager-plan-page td.feature__class{word-wrap:break-word!important;white-space:normal!important}.app-manager .app-manager-plan-page .light-green-cell{background-color:#f0f8f5;color:#257f60}.app-manager .app-manager-plan-page .plan-heading b{overflow-wrap:break-word;word-wrap:break-word;white-space:initial}.app-manager .app-manager-plan-page .custom-choose-button:hover{background:#006e52;border-color:transparent;color:#fff}",
|
|
40574
41016
|
map: undefined,
|
|
40575
41017
|
media: undefined
|
|
@@ -40581,7 +41023,7 @@ var __vue_inject_styles__$2 = function __vue_inject_styles__(inject) {
|
|
|
40581
41023
|
var __vue_scope_id__$2 = undefined;
|
|
40582
41024
|
/* module identifier */
|
|
40583
41025
|
|
|
40584
|
-
var __vue_module_identifier__$2 = "data-v-
|
|
41026
|
+
var __vue_module_identifier__$2 = "data-v-0cc24207";
|
|
40585
41027
|
/* functional template */
|
|
40586
41028
|
|
|
40587
41029
|
var __vue_is_functional_template__$2 = false;
|
|
@@ -41239,12 +41681,331 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
41239
41681
|
|
|
41240
41682
|
var _c = _vm._self._c || _h;
|
|
41241
41683
|
|
|
41242
|
-
return _c('PEmptyState', {
|
|
41684
|
+
return !this.planLoading && this.plans.length === 0 ? _c('PEmptyState', {
|
|
41243
41685
|
attrs: {
|
|
41244
41686
|
"heading": _vm.translateMe('No Plans'),
|
|
41245
41687
|
"image": "https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"
|
|
41246
41688
|
}
|
|
41247
|
-
})
|
|
41689
|
+
}) : _c('PPage', {
|
|
41690
|
+
staticClass: "app-manager-plan-page-slider custom-title",
|
|
41691
|
+
attrs: {
|
|
41692
|
+
"title": _vm.translateMe('Plans'),
|
|
41693
|
+
"subtitle": _vm.subtitleContent
|
|
41694
|
+
}
|
|
41695
|
+
}, [_c('PStack', {
|
|
41696
|
+
attrs: {
|
|
41697
|
+
"slot": "primaryAction"
|
|
41698
|
+
},
|
|
41699
|
+
slot: "primaryAction"
|
|
41700
|
+
}, [_c('PStackItem', {
|
|
41701
|
+
staticStyle: {
|
|
41702
|
+
"margin-top": "20px"
|
|
41703
|
+
}
|
|
41704
|
+
}, [_c('PButtonGroup', {
|
|
41705
|
+
staticClass: "btn-group",
|
|
41706
|
+
attrs: {
|
|
41707
|
+
"segmented": ""
|
|
41708
|
+
}
|
|
41709
|
+
}, [_vm.monthlyPlan.length && _vm.yearlyPlan.length ? _c('PButton', {
|
|
41710
|
+
class: _vm.selectedPlan === 'monthly' ? 'plan-active-tab' : '',
|
|
41711
|
+
style: _vm.selectedPlan === 'monthly' ? _vm.monthlySelectedStyle : _vm.monthlyStyle,
|
|
41712
|
+
on: {
|
|
41713
|
+
"click": function click($event) {
|
|
41714
|
+
return _vm.selectPlan('monthly');
|
|
41715
|
+
}
|
|
41716
|
+
}
|
|
41717
|
+
}, [_c('p', {
|
|
41718
|
+
staticStyle: {
|
|
41719
|
+
"font-size": "17px",
|
|
41720
|
+
"font-weight": "500"
|
|
41721
|
+
},
|
|
41722
|
+
attrs: {
|
|
41723
|
+
"slot": "default"
|
|
41724
|
+
},
|
|
41725
|
+
slot: "default"
|
|
41726
|
+
}, [_vm._v(_vm._s(_vm.translateMe('Monthly')))])]) : _vm._e(), _vm._v(" "), _vm.yearlyPlan.length && _vm.monthlyPlan.length ? _c('PButton', {
|
|
41727
|
+
class: _vm.selectedPlan === 'annually' ? 'plan-active-tab' : '',
|
|
41728
|
+
style: _vm.selectedPlan === 'annually' ? _vm.yearlySelectedStyle : _vm.yearlyStyle,
|
|
41729
|
+
attrs: {
|
|
41730
|
+
"primary": _vm.selectedPlan === 'annually'
|
|
41731
|
+
},
|
|
41732
|
+
on: {
|
|
41733
|
+
"click": function click($event) {
|
|
41734
|
+
return _vm.selectPlan('annually');
|
|
41735
|
+
}
|
|
41736
|
+
}
|
|
41737
|
+
}, [_c('YearlyPlanPromotion')], 1) : _vm._e()], 1)], 1)], 1), _vm._v(" "), _c('hr', {
|
|
41738
|
+
staticStyle: {
|
|
41739
|
+
"width": "100%",
|
|
41740
|
+
"margin-right": "auto",
|
|
41741
|
+
"margin-left": "auto",
|
|
41742
|
+
"margin-bottom": "20px"
|
|
41743
|
+
}
|
|
41744
|
+
}), _vm._v(" "), _c('PLayout', {
|
|
41745
|
+
staticClass: "custom-plan"
|
|
41746
|
+
}, [_c('PLayoutSection', {
|
|
41747
|
+
staticStyle: {
|
|
41748
|
+
"display": "flex",
|
|
41749
|
+
"border-radius": "20px"
|
|
41750
|
+
}
|
|
41751
|
+
}, [[[_c('div', {
|
|
41752
|
+
staticClass: "Polaris-ResourceList__ResourceListWrapper features",
|
|
41753
|
+
staticStyle: {
|
|
41754
|
+
"width": "30%"
|
|
41755
|
+
}
|
|
41756
|
+
}, [_c('div', {
|
|
41757
|
+
staticClass: "plan__price"
|
|
41758
|
+
}), _vm._v(" "), _c('ul', {
|
|
41759
|
+
staticClass: "Polaris-ResourceList"
|
|
41760
|
+
}, _vm._l(_vm.features, function (feature, key) {
|
|
41761
|
+
return _c('li', {
|
|
41762
|
+
key: key,
|
|
41763
|
+
staticClass: "Polaris-ResourceList__ItemWrapper pro_title",
|
|
41764
|
+
class: feature.value_type + "__type__" + feature.slug + " feature__type__" + feature.value_type + " feature__class"
|
|
41765
|
+
}, [_c('div', {
|
|
41766
|
+
staticClass: "Polaris-ResourceList-Item__Container"
|
|
41767
|
+
}, [_c('div', {
|
|
41768
|
+
staticClass: "Polaris-ResourceList-Item__Content"
|
|
41769
|
+
}, [_c('h1', {
|
|
41770
|
+
staticClass: "for-price-per-month"
|
|
41771
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.translateMe(feature.name)))])])])])]);
|
|
41772
|
+
}), 0)])], _vm._v(" "), _c('carousel', {
|
|
41773
|
+
staticStyle: {
|
|
41774
|
+
"width": "70%"
|
|
41775
|
+
},
|
|
41776
|
+
attrs: {
|
|
41777
|
+
"per-page": _vm.perPage,
|
|
41778
|
+
"mouseDrag": false,
|
|
41779
|
+
"navigation-enabled": true,
|
|
41780
|
+
"paginationEnabled": false,
|
|
41781
|
+
"navigateTo": [this.currentSlide, true]
|
|
41782
|
+
},
|
|
41783
|
+
on: {
|
|
41784
|
+
"transition-start": function transitionStart($event) {
|
|
41785
|
+
return _vm.handleNavigationClick($event);
|
|
41786
|
+
}
|
|
41787
|
+
}
|
|
41788
|
+
}, [_vm._l(_vm.selectedPlan === 'monthly' ? _vm.monthlyPlan : _vm.yearlyPlan, function (plan, key) {
|
|
41789
|
+
return _c('slide', {
|
|
41790
|
+
key: "slide-" + key,
|
|
41791
|
+
class: "slide-" + key,
|
|
41792
|
+
attrs: {
|
|
41793
|
+
"id": key
|
|
41794
|
+
}
|
|
41795
|
+
}, [_c('div', {
|
|
41796
|
+
staticClass: "plan__price",
|
|
41797
|
+
style: _vm.activePlanStyle(plan)
|
|
41798
|
+
}, [plan.price === 0 ? _c('div', [plan.name !== 'Free' ? _c('b', {
|
|
41799
|
+
staticStyle: {
|
|
41800
|
+
"font-size": "16px"
|
|
41801
|
+
}
|
|
41802
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]) : _vm._e(), _vm._v(" "), _c('p', {
|
|
41803
|
+
staticStyle: {
|
|
41804
|
+
"display": "flex",
|
|
41805
|
+
"margin-top": "10px"
|
|
41806
|
+
}
|
|
41807
|
+
}, [_c('PHeading', {
|
|
41808
|
+
staticStyle: {
|
|
41809
|
+
"font-size": "25px",
|
|
41810
|
+
"font-weight": "700"
|
|
41811
|
+
}
|
|
41812
|
+
}, [_vm._v(_vm._s(_vm.translateMe('Free')))])], 1)]) : plan.discount && plan.discount > 0 && !_vm.isCurrentPlan(plan) ? _c('div', [_c('b', {
|
|
41813
|
+
staticStyle: {
|
|
41814
|
+
"font-size": "16px"
|
|
41815
|
+
}
|
|
41816
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]), _vm._v(" "), _c('p', {
|
|
41817
|
+
staticStyle: {
|
|
41818
|
+
"display": "flex",
|
|
41819
|
+
"margin-top": "10px"
|
|
41820
|
+
}
|
|
41821
|
+
}, [_c('PHeading', {
|
|
41822
|
+
staticStyle: {
|
|
41823
|
+
"font-size": "25px",
|
|
41824
|
+
"font-weight": "700"
|
|
41825
|
+
}
|
|
41826
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculateDiscountedPrice(plan)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
41827
|
+
staticStyle: {
|
|
41828
|
+
"margin-top": "5px",
|
|
41829
|
+
"font-size": "17px"
|
|
41830
|
+
}
|
|
41831
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe(_vm.selectedPlan === 'monthly' ? "mo" : "year")))])], 1), _vm._v(" "), _c('p', {
|
|
41832
|
+
staticStyle: {
|
|
41833
|
+
"display": "flex",
|
|
41834
|
+
"margin-top": "7px"
|
|
41835
|
+
}
|
|
41836
|
+
}, [_c('PHeading', {
|
|
41837
|
+
staticStyle: {
|
|
41838
|
+
"font-size": "18px",
|
|
41839
|
+
"font-weight": "500",
|
|
41840
|
+
"text-decoration": "line-through"
|
|
41841
|
+
}
|
|
41842
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
41843
|
+
staticStyle: {
|
|
41844
|
+
"margin-top": "3px",
|
|
41845
|
+
"font-size": "14px"
|
|
41846
|
+
}
|
|
41847
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe(_vm.selectedPlan === 'monthly' ? "mo" : "year")))])], 1)]) : _vm.promotional_discount && _vm.promotional_discount.length !== 0 && !_vm.promotional_discount.errors && _vm.promotional_discount.plan_relation.length > 0 && _vm.promotional_discount.plan_relation.includes(plan.id) && !_vm.isCurrentPlan(plan) ? _c('div', [_c('b', {
|
|
41848
|
+
staticStyle: {
|
|
41849
|
+
"font-size": "16px"
|
|
41850
|
+
}
|
|
41851
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]), _vm._v(" "), _c('p', {
|
|
41852
|
+
staticStyle: {
|
|
41853
|
+
"display": "flex",
|
|
41854
|
+
"margin-top": "10px"
|
|
41855
|
+
}
|
|
41856
|
+
}, [_c('PHeading', {
|
|
41857
|
+
staticStyle: {
|
|
41858
|
+
"font-size": "25px",
|
|
41859
|
+
"font-weight": "700"
|
|
41860
|
+
}
|
|
41861
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculatePromotionalDiscountedPrice(plan, _vm.promotional_discount)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
41862
|
+
staticStyle: {
|
|
41863
|
+
"margin-top": "5px",
|
|
41864
|
+
"font-size": "17px"
|
|
41865
|
+
}
|
|
41866
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe(_vm.selectedPlan === 'monthly' ? "mo" : "year")))])], 1), _vm._v(" "), _c('p', {
|
|
41867
|
+
staticStyle: {
|
|
41868
|
+
"display": "flex",
|
|
41869
|
+
"margin-top": "7px"
|
|
41870
|
+
}
|
|
41871
|
+
}, [_c('PHeading', {
|
|
41872
|
+
staticStyle: {
|
|
41873
|
+
"font-size": "18px",
|
|
41874
|
+
"font-weight": "500",
|
|
41875
|
+
"text-decoration": "line-through"
|
|
41876
|
+
}
|
|
41877
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
41878
|
+
staticStyle: {
|
|
41879
|
+
"margin-top": "3px",
|
|
41880
|
+
"font-size": "14px"
|
|
41881
|
+
}
|
|
41882
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe(_vm.selectedPlan === 'monthly' ? "mo" : "year")))])], 1)]) : _vm.promotional_discount && _vm.promotional_discount.length !== 0 && !_vm.promotional_discount.errors && _vm.promotional_discount.plan_relation.length === 0 && _vm.promotional_discount.value > 0 && !_vm.isCurrentPlan(plan) ? _c('div', [_c('b', {
|
|
41883
|
+
staticStyle: {
|
|
41884
|
+
"font-size": "16px"
|
|
41885
|
+
}
|
|
41886
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]), _vm._v(" "), _c('p', {
|
|
41887
|
+
staticStyle: {
|
|
41888
|
+
"display": "flex",
|
|
41889
|
+
"margin-top": "10px"
|
|
41890
|
+
}
|
|
41891
|
+
}, [_c('PHeading', {
|
|
41892
|
+
staticStyle: {
|
|
41893
|
+
"font-size": "25px",
|
|
41894
|
+
"font-weight": "700"
|
|
41895
|
+
}
|
|
41896
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculatePromotionalDiscountedPrice(plan, _vm.promotional_discount)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
41897
|
+
staticStyle: {
|
|
41898
|
+
"margin-top": "5px",
|
|
41899
|
+
"font-size": "17px"
|
|
41900
|
+
}
|
|
41901
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe(_vm.selectedPlan === 'monthly' ? "mo" : "year")))])], 1), _vm._v(" "), _c('p', {
|
|
41902
|
+
staticStyle: {
|
|
41903
|
+
"display": "flex",
|
|
41904
|
+
"margin-top": "7px"
|
|
41905
|
+
}
|
|
41906
|
+
}, [_c('PHeading', {
|
|
41907
|
+
staticStyle: {
|
|
41908
|
+
"font-size": "18px",
|
|
41909
|
+
"font-weight": "500",
|
|
41910
|
+
"text-decoration": "line-through"
|
|
41911
|
+
}
|
|
41912
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
41913
|
+
staticStyle: {
|
|
41914
|
+
"margin-top": "3px",
|
|
41915
|
+
"font-size": "14px"
|
|
41916
|
+
}
|
|
41917
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe(_vm.selectedPlan === 'monthly' ? "mo" : "year")))])], 1)]) : _c('div', [_c('b', {
|
|
41918
|
+
staticStyle: {
|
|
41919
|
+
"font-size": "16px"
|
|
41920
|
+
}
|
|
41921
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]), _vm._v(" "), _c('p', {
|
|
41922
|
+
staticStyle: {
|
|
41923
|
+
"display": "flex",
|
|
41924
|
+
"margin-top": "10px"
|
|
41925
|
+
}
|
|
41926
|
+
}, [_c('PHeading', {
|
|
41927
|
+
staticStyle: {
|
|
41928
|
+
"font-size": "25px",
|
|
41929
|
+
"font-weight": "700"
|
|
41930
|
+
}
|
|
41931
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
41932
|
+
staticStyle: {
|
|
41933
|
+
"margin-top": "5px",
|
|
41934
|
+
"font-size": "17px"
|
|
41935
|
+
}
|
|
41936
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe(_vm.selectedPlan === 'monthly' ? "mo" : "year")))])], 1)])]), _vm._v(" "), _c('div', [_c('ul', [_vm._l(_vm.features, function (feature, key) {
|
|
41937
|
+
return _c('li', {
|
|
41938
|
+
key: key,
|
|
41939
|
+
class: feature.value_type + "__type__" + feature.slug + " feature__list feature__type__" + feature.value_type,
|
|
41940
|
+
style: _vm.activePlanStyle(plan)
|
|
41941
|
+
}, [_c('div', [plan.features && plan.features[feature.uuid] ? [plan.features[feature.uuid].value_type === 'boolean' ? [parseInt(plan.features[feature.uuid].value) === 1 ? _c('PIcon', {
|
|
41942
|
+
attrs: {
|
|
41943
|
+
"color": "success",
|
|
41944
|
+
"source": "TickMinor"
|
|
41945
|
+
}
|
|
41946
|
+
}) : _c('PIcon', {
|
|
41947
|
+
attrs: {
|
|
41948
|
+
"color": "subdued",
|
|
41949
|
+
"source": "MinusMinor"
|
|
41950
|
+
}
|
|
41951
|
+
})] : [plan.features[feature.uuid].value ? _c('span', [_vm._v(_vm._s(_vm.format(plan.features[feature.uuid])))]) : _c('PIcon', {
|
|
41952
|
+
attrs: {
|
|
41953
|
+
"color": "subdued",
|
|
41954
|
+
"source": "MinusMinor"
|
|
41955
|
+
}
|
|
41956
|
+
})]] : [_c('PIcon', {
|
|
41957
|
+
attrs: {
|
|
41958
|
+
"color": "subdued",
|
|
41959
|
+
"source": "MinusMinor"
|
|
41960
|
+
}
|
|
41961
|
+
})]], 2)]);
|
|
41962
|
+
}), _vm._v(" "), _c('li', [_vm.isCurrentPlan(plan) ? _c('PButton', {
|
|
41963
|
+
attrs: {
|
|
41964
|
+
"disabled": _vm.isCurrentPlan(plan),
|
|
41965
|
+
"full-width": "",
|
|
41966
|
+
"pressed": _vm.isCurrentPlan(plan)
|
|
41967
|
+
}
|
|
41968
|
+
}, [_vm._v("\n " + _vm._s(_vm.translateMe('Current Plan')) + "\n ")]) : !plan.store_base_plan || plan.shopify_plans.includes(_vm.shop.shopify_plan) ? _c('PButton', {
|
|
41969
|
+
class: _vm.planChooseButtonClass(plan),
|
|
41970
|
+
attrs: {
|
|
41971
|
+
"full-width": "",
|
|
41972
|
+
"primary": _vm.isPlanButtonColor(plan)
|
|
41973
|
+
},
|
|
41974
|
+
on: {
|
|
41975
|
+
"click": function click($event) {
|
|
41976
|
+
plan ? _vm.getPlanUrl(plan) : 'javascript:void';
|
|
41977
|
+
}
|
|
41978
|
+
}
|
|
41979
|
+
}, [_vm._v("\n " + _vm._s(_vm.translateMe('Choose Plan')) + "\n ")]) : _c('PButton', {
|
|
41980
|
+
attrs: {
|
|
41981
|
+
"disabled": true,
|
|
41982
|
+
"full-width": "",
|
|
41983
|
+
"pressed": true
|
|
41984
|
+
}
|
|
41985
|
+
}, [_vm._v("\n " + _vm._s(_vm.translateMe('Not applicable')) + "\n ")])], 1)], 2)])]);
|
|
41986
|
+
})], 2)]], 2)], 1), _vm._v(" "), _vm.onboard ? _c('PStack', {
|
|
41987
|
+
staticClass: "choose-plan-btn",
|
|
41988
|
+
attrs: {
|
|
41989
|
+
"alignment": "center",
|
|
41990
|
+
"distribution": "center",
|
|
41991
|
+
"vertical": ""
|
|
41992
|
+
}
|
|
41993
|
+
}, [_c('PStackItem', {
|
|
41994
|
+
attrs: {
|
|
41995
|
+
"fill": ""
|
|
41996
|
+
}
|
|
41997
|
+
}, [_c('PButton', {
|
|
41998
|
+
attrs: {
|
|
41999
|
+
"plain": ""
|
|
42000
|
+
},
|
|
42001
|
+
on: {
|
|
42002
|
+
"click": _vm.activePlan
|
|
42003
|
+
}
|
|
42004
|
+
}, [_vm._v(_vm._s(_vm.translateMe('I will choose the plan later')))])], 1)], 1) : _vm._e(), _vm._v(" "), _c('PlanBanners', {
|
|
42005
|
+
on: {
|
|
42006
|
+
"handlePlanBannerClose": _vm.handlePlanBannerClose
|
|
42007
|
+
}
|
|
42008
|
+
})], 1);
|
|
41248
42009
|
};
|
|
41249
42010
|
|
|
41250
42011
|
var __vue_staticRenderFns__$1 = [];
|
|
@@ -41252,7 +42013,7 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
41252
42013
|
|
|
41253
42014
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
41254
42015
|
if (!inject) return;
|
|
41255
|
-
inject("data-v-
|
|
42016
|
+
inject("data-v-4d2483fe_0", {
|
|
41256
42017
|
source: "@import url(https://fonts.googleapis.com/css2?family=Satisfy&display=swap);.app-manager .app-manager-plan-page-slider ul{list-style:none;margin:0;padding:0}.app-manager .app-manager-plan-page-slider .Polaris-Layout__Section .VueCarousel-slide li,.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li,.app-manager .app-manager-plan-page-slider .plan__price{padding:16px 16px 16px 20px}.app-manager .app-manager-plan-page-slider .Polaris-Layout.custom-plan .VueCarousel .plan__price,.app-manager .app-manager-plan-page-slider .Polaris-Layout__Section .VueCarousel-slide li:not(:last-child),.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li{border-top:1px solid #ddd;border-right:1px solid #ddd;background:#fff}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li{border-right:none;border-left:1px solid #ddd}.app-manager .app-manager-plan-page-slider .Polaris-Layout__Section .VueCarousel-slide li:nth-last-child(2),.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:last-child{border-bottom:1px solid #ddd}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:first-child{border-top-left-radius:12px}.app-manager .app-manager-plan-page-slider .Polaris-ResourceList__ResourceListWrapper.features li:last-child{border-bottom-left-radius:12px}.app-manager .app-manager-plan-page-slider .VueCarousel-inner .VueCarousel-slide.first-slide ul li:not(:last-child){border-left:1px solid #ddd}.app-manager .app-manager-plan-page-slider .VueCarousel-inner .VueCarousel-slide.first-slide .plan__price{border-left:1px solid #ddd;box-shadow:none;border-top-left-radius:12px;overflow:hidden}.app-manager .app-manager-plan-page-slider .VueCarousel-inner .VueCarousel-slide.last-slide ul li:nth-last-child(2){border-bottom-right-radius:12px}.app-manager .app-manager-plan-page-slider .VueCarousel-inner .VueCarousel-slide.last-slide .plan__price{border-right:1px solid #ddd;box-shadow:none;border-top-right-radius:12px;overflow:hidden}.app-manager .app-manager-plan-page-slider .VueCarousel-inner .VueCarousel-slide.last-slide{border-top-right-radius:12px}.app-manager .app-manager-plan-page-slider .VueCarousel-inner .VueCarousel-slide.first-slide{border-top-left-radius:12px}.app-manager .app-manager-plan-page-slider .VueCarousel .VueCarousel-inner li{text-align:center}.app-manager .app-manager-plan-page-slider .VueCarousel-navigation-button{color:#257f60}.app-manager .app-manager-plan-page-slider .btn-group .Polaris-ButtonGroup__Item{margin-left:0!important;z-index:unset!important}.app-manager .app-manager-plan-page-slider .feature__list,.app-manager .app-manager-plan-page-slider .feature__type__array{display:flex;align-items:center;word-spacing:999px;justify-content:center}.app-manager .app-manager-plan-page-slider .feature__type__array.feature__class{justify-content:left}.app-manager .app-manager-plan-page-slider .plan-heading b{overflow-wrap:break-word;word-wrap:break-word;white-space:initial}.app-manager .app-manager-plan-page-slider .custom-choose-button:hover{background:#006e52;border-color:transparent;color:#fff}",
|
|
41257
42018
|
map: undefined,
|
|
41258
42019
|
media: undefined
|
|
@@ -41264,7 +42025,7 @@ var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
|
41264
42025
|
var __vue_scope_id__$1 = undefined;
|
|
41265
42026
|
/* module identifier */
|
|
41266
42027
|
|
|
41267
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
42028
|
+
var __vue_module_identifier__$1 = "data-v-4d2483fe";
|
|
41268
42029
|
/* functional template */
|
|
41269
42030
|
|
|
41270
42031
|
var __vue_is_functional_template__$1 = false;
|