@hulkapps/app-manager-vue 2.4.6 → 2.4.8
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 +2 -2
- package/src/components/Plans/AppManagerSliderPlan.vue +2 -2
|
@@ -42014,12 +42014,454 @@ var __vue_render__$2 = function () {
|
|
|
42014
42014
|
|
|
42015
42015
|
var _c = _vm._self._c || _h;
|
|
42016
42016
|
|
|
42017
|
-
return _c('PEmptyState', {
|
|
42017
|
+
return !this.planLoading && this.plans.length === 0 ? _c('PEmptyState', {
|
|
42018
42018
|
attrs: {
|
|
42019
42019
|
"heading": _vm.translateMe('No Plans'),
|
|
42020
42020
|
"image": "https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"
|
|
42021
42021
|
}
|
|
42022
|
-
})
|
|
42022
|
+
}) : !this.planLoading && this.plans.length > 0 ? _c('PPage', {
|
|
42023
|
+
staticClass: "app-manager-plan-page custom-title",
|
|
42024
|
+
attrs: {
|
|
42025
|
+
"title": _vm.translateMe('Plans'),
|
|
42026
|
+
"subtitle": _vm.subtitleContent
|
|
42027
|
+
}
|
|
42028
|
+
}, [_c('PStack', {
|
|
42029
|
+
attrs: {
|
|
42030
|
+
"slot": "primaryAction"
|
|
42031
|
+
},
|
|
42032
|
+
slot: "primaryAction"
|
|
42033
|
+
}, [_c('PStackItem', {
|
|
42034
|
+
staticStyle: {
|
|
42035
|
+
"margin-top": "20px"
|
|
42036
|
+
}
|
|
42037
|
+
}, [_c('PButtonGroup', {
|
|
42038
|
+
staticClass: "btn-group",
|
|
42039
|
+
attrs: {
|
|
42040
|
+
"segmented": ""
|
|
42041
|
+
}
|
|
42042
|
+
}, [_vm.monthlyPlan.length && _vm.yearlyPlan.length ? _c('PButton', {
|
|
42043
|
+
class: _vm.selectedPlan === 'monthly' ? 'plan-active-tab' : '',
|
|
42044
|
+
style: _vm.selectedPlan === 'monthly' ? _vm.monthlySelectedStyle : _vm.monthlyStyle,
|
|
42045
|
+
on: {
|
|
42046
|
+
"click": function ($event) {
|
|
42047
|
+
return _vm.selectPlan('monthly');
|
|
42048
|
+
}
|
|
42049
|
+
}
|
|
42050
|
+
}, [_c('p', {
|
|
42051
|
+
staticStyle: {
|
|
42052
|
+
"font-size": "17px",
|
|
42053
|
+
"font-weight": "500"
|
|
42054
|
+
},
|
|
42055
|
+
attrs: {
|
|
42056
|
+
"slot": "default"
|
|
42057
|
+
},
|
|
42058
|
+
slot: "default"
|
|
42059
|
+
}, [_vm._v(_vm._s(_vm.translateMe('Monthly')))])]) : _vm._e(), _vm._v(" "), _vm.yearlyPlan.length && _vm.monthlyPlan.length ? _c('PButton', {
|
|
42060
|
+
class: _vm.selectedPlan === 'annually' ? 'plan-active-tab' : '',
|
|
42061
|
+
style: _vm.selectedPlan === 'annually' ? _vm.yearlySelectedStyle : _vm.yearlyStyle,
|
|
42062
|
+
attrs: {
|
|
42063
|
+
"primary": _vm.selectedPlan === 'annually'
|
|
42064
|
+
},
|
|
42065
|
+
on: {
|
|
42066
|
+
"click": function ($event) {
|
|
42067
|
+
return _vm.selectPlan('annually');
|
|
42068
|
+
}
|
|
42069
|
+
}
|
|
42070
|
+
}, [_c('YearlyPlanPromotion')], 1) : _vm._e()], 1)], 1)], 1), _vm._v(" "), _c('hr', {
|
|
42071
|
+
staticStyle: {
|
|
42072
|
+
"width": "100%",
|
|
42073
|
+
"margin-right": "auto",
|
|
42074
|
+
"margin-left": "auto",
|
|
42075
|
+
"margin-bottom": "20px"
|
|
42076
|
+
}
|
|
42077
|
+
}), _vm._v(" "), _c('PLayout', {
|
|
42078
|
+
staticClass: "custom-plan"
|
|
42079
|
+
}, [_c('PLayoutSection', [[[_c('PDataTable', {
|
|
42080
|
+
staticClass: "plan-table"
|
|
42081
|
+
}, [_c('template', {
|
|
42082
|
+
slot: "head"
|
|
42083
|
+
}, [_vm.selectedPlan === 'monthly' ? _c('PDataTableRow', {
|
|
42084
|
+
staticStyle: {
|
|
42085
|
+
"box-shadow": "none!important"
|
|
42086
|
+
}
|
|
42087
|
+
}, [_c('PDataTableCol', {
|
|
42088
|
+
staticClass: "plan-heading",
|
|
42089
|
+
staticStyle: {
|
|
42090
|
+
"opacity": "0",
|
|
42091
|
+
"visibility": "hidden",
|
|
42092
|
+
"border": "0 !important"
|
|
42093
|
+
}
|
|
42094
|
+
}, [_c('b', [_vm._v(_vm._s(_vm.translateMe('features')))])]), _vm._v(" "), _vm._l(_vm.monthlyPlan, function (plan, key) {
|
|
42095
|
+
return [_c('PDataTableCol', {
|
|
42096
|
+
class: {
|
|
42097
|
+
'first-column': key === 0,
|
|
42098
|
+
'plan-heading': true,
|
|
42099
|
+
'last-column': key + 1 === _vm.monthlyPlan.length
|
|
42100
|
+
},
|
|
42101
|
+
style: _vm.activePlanStyle(plan)
|
|
42102
|
+
}, [plan.name !== 'Free' ? _c('b', {
|
|
42103
|
+
staticStyle: {
|
|
42104
|
+
"font-size": "16px"
|
|
42105
|
+
}
|
|
42106
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]) : _vm._e(), _vm._v(" "), plan.price === 0 ? _c('div', [_c('p', {
|
|
42107
|
+
staticStyle: {
|
|
42108
|
+
"display": "flex",
|
|
42109
|
+
"margin-top": "10px"
|
|
42110
|
+
}
|
|
42111
|
+
}, [_c('PHeading', {
|
|
42112
|
+
staticStyle: {
|
|
42113
|
+
"font-size": "25px",
|
|
42114
|
+
"font-weight": "700"
|
|
42115
|
+
}
|
|
42116
|
+
}, [_vm._v(_vm._s(_vm.translateMe('Free')))])], 1)]) : plan.discount && plan.discount > 0 && !_vm.isCurrentPlan(plan) ? _c('div', [_c('p', {
|
|
42117
|
+
staticStyle: {
|
|
42118
|
+
"display": "flex",
|
|
42119
|
+
"margin-top": "10px"
|
|
42120
|
+
}
|
|
42121
|
+
}, [_c('PHeading', {
|
|
42122
|
+
staticStyle: {
|
|
42123
|
+
"font-size": "25px",
|
|
42124
|
+
"font-weight": "700"
|
|
42125
|
+
}
|
|
42126
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculateDiscountedPrice(plan)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42127
|
+
staticStyle: {
|
|
42128
|
+
"margin-top": "5px",
|
|
42129
|
+
"font-size": "17px"
|
|
42130
|
+
}
|
|
42131
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("mo")))])], 1), _vm._v(" "), _c('p', {
|
|
42132
|
+
staticStyle: {
|
|
42133
|
+
"display": "flex",
|
|
42134
|
+
"margin-top": "7px"
|
|
42135
|
+
}
|
|
42136
|
+
}, [_c('PHeading', {
|
|
42137
|
+
staticStyle: {
|
|
42138
|
+
"font-size": "18px",
|
|
42139
|
+
"font-weight": "500",
|
|
42140
|
+
"text-decoration": "line-through"
|
|
42141
|
+
}
|
|
42142
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42143
|
+
staticStyle: {
|
|
42144
|
+
"margin-top": "3px",
|
|
42145
|
+
"font-size": "14px"
|
|
42146
|
+
}
|
|
42147
|
+
}, [_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', {
|
|
42148
|
+
staticStyle: {
|
|
42149
|
+
"display": "flex",
|
|
42150
|
+
"margin-top": "10px"
|
|
42151
|
+
}
|
|
42152
|
+
}, [_c('PHeading', {
|
|
42153
|
+
staticStyle: {
|
|
42154
|
+
"font-size": "25px",
|
|
42155
|
+
"font-weight": "700"
|
|
42156
|
+
}
|
|
42157
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculatePromotionalDiscountedPrice(plan, _vm.promotional_discount)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42158
|
+
staticStyle: {
|
|
42159
|
+
"margin-top": "5px",
|
|
42160
|
+
"font-size": "17px"
|
|
42161
|
+
}
|
|
42162
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("mo")))])], 1), _vm._v(" "), _c('p', {
|
|
42163
|
+
staticStyle: {
|
|
42164
|
+
"display": "flex",
|
|
42165
|
+
"margin-top": "7px"
|
|
42166
|
+
}
|
|
42167
|
+
}, [_c('PHeading', {
|
|
42168
|
+
staticStyle: {
|
|
42169
|
+
"font-size": "18px",
|
|
42170
|
+
"font-weight": "500",
|
|
42171
|
+
"text-decoration": "line-through"
|
|
42172
|
+
}
|
|
42173
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42174
|
+
staticStyle: {
|
|
42175
|
+
"margin-top": "3px",
|
|
42176
|
+
"font-size": "14px"
|
|
42177
|
+
}
|
|
42178
|
+
}, [_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', {
|
|
42179
|
+
staticStyle: {
|
|
42180
|
+
"display": "flex",
|
|
42181
|
+
"margin-top": "10px"
|
|
42182
|
+
}
|
|
42183
|
+
}, [_c('PHeading', {
|
|
42184
|
+
staticStyle: {
|
|
42185
|
+
"font-size": "25px",
|
|
42186
|
+
"font-weight": "700"
|
|
42187
|
+
}
|
|
42188
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculatePromotionalDiscountedPrice(plan, _vm.promotional_discount)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42189
|
+
staticStyle: {
|
|
42190
|
+
"margin-top": "5px",
|
|
42191
|
+
"font-size": "17px"
|
|
42192
|
+
}
|
|
42193
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("mo")))])], 1), _vm._v(" "), _c('p', {
|
|
42194
|
+
staticStyle: {
|
|
42195
|
+
"display": "flex",
|
|
42196
|
+
"margin-top": "7px"
|
|
42197
|
+
}
|
|
42198
|
+
}, [_c('PHeading', {
|
|
42199
|
+
staticStyle: {
|
|
42200
|
+
"font-size": "18px",
|
|
42201
|
+
"font-weight": "500",
|
|
42202
|
+
"text-decoration": "line-through"
|
|
42203
|
+
}
|
|
42204
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42205
|
+
staticStyle: {
|
|
42206
|
+
"margin-top": "3px",
|
|
42207
|
+
"font-size": "14px"
|
|
42208
|
+
}
|
|
42209
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("mo")))])], 1)]) : _c('div', [_c('p', {
|
|
42210
|
+
staticStyle: {
|
|
42211
|
+
"display": "flex",
|
|
42212
|
+
"margin-top": "10px"
|
|
42213
|
+
}
|
|
42214
|
+
}, [_c('PHeading', {
|
|
42215
|
+
staticStyle: {
|
|
42216
|
+
"font-size": "25px",
|
|
42217
|
+
"font-weight": "700"
|
|
42218
|
+
}
|
|
42219
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42220
|
+
staticStyle: {
|
|
42221
|
+
"margin-top": "5px",
|
|
42222
|
+
"font-size": "17px"
|
|
42223
|
+
}
|
|
42224
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("mo")))])], 1)])])];
|
|
42225
|
+
})], 2) : _c('PDataTableRow', [_c('PDataTableCol', {
|
|
42226
|
+
staticClass: "plan-heading",
|
|
42227
|
+
staticStyle: {
|
|
42228
|
+
"opacity": "0",
|
|
42229
|
+
"visibility": "hidden",
|
|
42230
|
+
"border": "0 !important"
|
|
42231
|
+
}
|
|
42232
|
+
}, [_c('b', [_vm._v(_vm._s(_vm.translateMe('features')))])]), _vm._v(" "), _vm._l(_vm.yearlyPlan, function (plan, key) {
|
|
42233
|
+
return [_c('PDataTableCol', {
|
|
42234
|
+
class: {
|
|
42235
|
+
'first-column': key === 0,
|
|
42236
|
+
'plan-heading': true,
|
|
42237
|
+
'last-column': key + 1 === _vm.yearlyPlan.length
|
|
42238
|
+
},
|
|
42239
|
+
style: _vm.activePlanStyle(plan)
|
|
42240
|
+
}, [plan.name !== 'Free' ? _c('b', {
|
|
42241
|
+
staticStyle: {
|
|
42242
|
+
"font-size": "16px"
|
|
42243
|
+
}
|
|
42244
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]) : _vm._e(), _vm._v(" "), plan.price === 0 ? _c('div', [_c('p', {
|
|
42245
|
+
staticStyle: {
|
|
42246
|
+
"display": "flex",
|
|
42247
|
+
"margin-top": "10px"
|
|
42248
|
+
}
|
|
42249
|
+
}, [_c('PHeading', {
|
|
42250
|
+
staticStyle: {
|
|
42251
|
+
"font-size": "25px",
|
|
42252
|
+
"font-weight": "700"
|
|
42253
|
+
}
|
|
42254
|
+
}, [_vm._v(_vm._s(_vm.translateMe('Free')))])], 1)]) : plan.discount && plan.discount > 0 && !_vm.isCurrentPlan(plan) ? _c('div', [_c('p', {
|
|
42255
|
+
staticStyle: {
|
|
42256
|
+
"display": "flex",
|
|
42257
|
+
"margin-top": "10px"
|
|
42258
|
+
}
|
|
42259
|
+
}, [_c('PHeading', {
|
|
42260
|
+
staticStyle: {
|
|
42261
|
+
"font-size": "25px",
|
|
42262
|
+
"font-weight": "700"
|
|
42263
|
+
}
|
|
42264
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculateDiscountedPrice(plan)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42265
|
+
staticStyle: {
|
|
42266
|
+
"margin-top": "5px",
|
|
42267
|
+
"font-size": "17px"
|
|
42268
|
+
}
|
|
42269
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("year")))])], 1), _vm._v(" "), _c('p', {
|
|
42270
|
+
staticStyle: {
|
|
42271
|
+
"display": "flex",
|
|
42272
|
+
"margin-top": "7px"
|
|
42273
|
+
}
|
|
42274
|
+
}, [_c('PHeading', {
|
|
42275
|
+
staticStyle: {
|
|
42276
|
+
"font-size": "18px",
|
|
42277
|
+
"font-weight": "500",
|
|
42278
|
+
"text-decoration": "line-through"
|
|
42279
|
+
}
|
|
42280
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42281
|
+
staticStyle: {
|
|
42282
|
+
"margin-top": "3px",
|
|
42283
|
+
"font-size": "14px"
|
|
42284
|
+
}
|
|
42285
|
+
}, [_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', {
|
|
42286
|
+
staticStyle: {
|
|
42287
|
+
"display": "flex",
|
|
42288
|
+
"margin-top": "10px"
|
|
42289
|
+
}
|
|
42290
|
+
}, [_c('PHeading', {
|
|
42291
|
+
staticStyle: {
|
|
42292
|
+
"font-size": "25px",
|
|
42293
|
+
"font-weight": "700"
|
|
42294
|
+
}
|
|
42295
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculatePromotionalDiscountedPrice(plan, _vm.promotional_discount)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42296
|
+
staticStyle: {
|
|
42297
|
+
"margin-top": "5px",
|
|
42298
|
+
"font-size": "17px"
|
|
42299
|
+
}
|
|
42300
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("year")))])], 1), _vm._v(" "), _c('p', {
|
|
42301
|
+
staticStyle: {
|
|
42302
|
+
"display": "flex",
|
|
42303
|
+
"margin-top": "7px"
|
|
42304
|
+
}
|
|
42305
|
+
}, [_c('PHeading', {
|
|
42306
|
+
staticStyle: {
|
|
42307
|
+
"font-size": "18px",
|
|
42308
|
+
"font-weight": "500",
|
|
42309
|
+
"text-decoration": "line-through"
|
|
42310
|
+
}
|
|
42311
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42312
|
+
staticStyle: {
|
|
42313
|
+
"margin-top": "3px",
|
|
42314
|
+
"font-size": "14px"
|
|
42315
|
+
}
|
|
42316
|
+
}, [_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', {
|
|
42317
|
+
staticStyle: {
|
|
42318
|
+
"display": "flex",
|
|
42319
|
+
"margin-top": "10px"
|
|
42320
|
+
}
|
|
42321
|
+
}, [_c('PHeading', {
|
|
42322
|
+
staticStyle: {
|
|
42323
|
+
"font-size": "25px",
|
|
42324
|
+
"font-weight": "700"
|
|
42325
|
+
}
|
|
42326
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculatePromotionalDiscountedPrice(plan, _vm.promotional_discount)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42327
|
+
staticStyle: {
|
|
42328
|
+
"margin-top": "5px",
|
|
42329
|
+
"font-size": "17px"
|
|
42330
|
+
}
|
|
42331
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("year")))])], 1), _vm._v(" "), _c('p', {
|
|
42332
|
+
staticStyle: {
|
|
42333
|
+
"display": "flex",
|
|
42334
|
+
"margin-top": "7px"
|
|
42335
|
+
}
|
|
42336
|
+
}, [_c('PHeading', {
|
|
42337
|
+
staticStyle: {
|
|
42338
|
+
"font-size": "18px",
|
|
42339
|
+
"font-weight": "500",
|
|
42340
|
+
"text-decoration": "line-through"
|
|
42341
|
+
}
|
|
42342
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42343
|
+
staticStyle: {
|
|
42344
|
+
"margin-top": "3px",
|
|
42345
|
+
"font-size": "14px"
|
|
42346
|
+
}
|
|
42347
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("year")))])], 1)]) : _c('div', [_c('p', {
|
|
42348
|
+
staticStyle: {
|
|
42349
|
+
"display": "flex",
|
|
42350
|
+
"margin-top": "10px"
|
|
42351
|
+
}
|
|
42352
|
+
}, [_c('PHeading', {
|
|
42353
|
+
staticStyle: {
|
|
42354
|
+
"font-size": "25px",
|
|
42355
|
+
"font-weight": "700"
|
|
42356
|
+
}
|
|
42357
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
42358
|
+
staticStyle: {
|
|
42359
|
+
"margin-top": "5px",
|
|
42360
|
+
"font-size": "17px"
|
|
42361
|
+
}
|
|
42362
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe("year")))])], 1)])])];
|
|
42363
|
+
})], 2)], 1), _vm._v(" "), _c('template', {
|
|
42364
|
+
slot: "body"
|
|
42365
|
+
}, [_vm._l(_vm.featuresByGroup, function (featureGroup, groupKey) {
|
|
42366
|
+
return [groupKey !== 'null' ? _c('PDataTableRow', {
|
|
42367
|
+
staticClass: "app-manager-group-row"
|
|
42368
|
+
}, [_c('PDataTableCol', {
|
|
42369
|
+
staticClass: "app-manager-group-cell",
|
|
42370
|
+
attrs: {
|
|
42371
|
+
"colspan": _vm.selectedPlan === 'monthly' ? _vm.monthlyPlan.length + 1 : _vm.yearlyPlan.length + 1
|
|
42372
|
+
}
|
|
42373
|
+
}, [_vm._v(_vm._s(_vm.translateMe(groupKey)))])], 1) : _vm._e(), _vm._v(" "), _vm._l(featureGroup, function (feature, rIndex) {
|
|
42374
|
+
return _c('PDataTableRow', {
|
|
42375
|
+
key: "row-" + (rIndex + groupKey)
|
|
42376
|
+
}, [_c('PDataTableCol', {
|
|
42377
|
+
class: "feature__type__" + feature.value_type + " feature__class"
|
|
42378
|
+
}, [_vm._v(_vm._s(_vm.translateMe(feature.name)))]), _vm._v(" "), _vm._l(_vm.selectedPlan === 'monthly' ? _vm.monthlyPlan : _vm.yearlyPlan, function (plan, cIndex) {
|
|
42379
|
+
return _c('PDataTableCol', {
|
|
42380
|
+
key: "cell-" + cIndex + "-row-" + rIndex,
|
|
42381
|
+
class: "feature__type__" + feature.value_type,
|
|
42382
|
+
style: _vm.activePlanStyle(plan)
|
|
42383
|
+
}, [plan.features ? [feature.value_type === 'boolean' ? [plan.features[feature.uuid] ? _c('PIcon', {
|
|
42384
|
+
attrs: {
|
|
42385
|
+
"color": "success",
|
|
42386
|
+
"source": "TickMinor"
|
|
42387
|
+
}
|
|
42388
|
+
}) : _c('PIcon', {
|
|
42389
|
+
attrs: {
|
|
42390
|
+
"color": "subdued",
|
|
42391
|
+
"source": "MinusMinor"
|
|
42392
|
+
}
|
|
42393
|
+
})] : [plan.features[feature.uuid] ? _c('span', [_vm._v(_vm._s(_vm.translateMe(_vm.format(plan.features[feature.uuid]))))]) : _c('PIcon', {
|
|
42394
|
+
attrs: {
|
|
42395
|
+
"color": "subdued",
|
|
42396
|
+
"source": "MinusMinor"
|
|
42397
|
+
}
|
|
42398
|
+
})]] : [_c('PIcon', {
|
|
42399
|
+
attrs: {
|
|
42400
|
+
"color": "subdued",
|
|
42401
|
+
"source": "MinusMinor"
|
|
42402
|
+
}
|
|
42403
|
+
})]], 2);
|
|
42404
|
+
})], 2);
|
|
42405
|
+
})];
|
|
42406
|
+
}), _vm._v(" "), _vm.plans.length ? _c('PDataTableRow', {
|
|
42407
|
+
staticClass: "row-alignment"
|
|
42408
|
+
}, [_c('PDataTableCol'), _vm._v(" "), _vm._l(_vm.selectedPlan === 'monthly' ? _vm.monthlyPlan : _vm.yearlyPlan, function (plan, cIndex) {
|
|
42409
|
+
return _c('PDataTableCol', {
|
|
42410
|
+
key: "cell-" + cIndex + "-row-plan",
|
|
42411
|
+
staticStyle: {
|
|
42412
|
+
"max-width": "0"
|
|
42413
|
+
}
|
|
42414
|
+
}, [_vm.isCurrentPlan(plan) ? _c('PButton', {
|
|
42415
|
+
attrs: {
|
|
42416
|
+
"disabled": _vm.isCurrentPlan(plan),
|
|
42417
|
+
"full-width": "",
|
|
42418
|
+
"pressed": _vm.isCurrentPlan(plan)
|
|
42419
|
+
}
|
|
42420
|
+
}, [_vm._v("\n " + _vm._s(_vm.translateMe('Current Plan')) + "\n ")]) : !plan.store_base_plan || plan.shopify_plans.includes(_vm.shop.shopify_plan) ? _c('PButton', {
|
|
42421
|
+
class: _vm.planChooseButtonClass(plan),
|
|
42422
|
+
attrs: {
|
|
42423
|
+
"full-width": "",
|
|
42424
|
+
"primary": _vm.isPlanButtonColor(plan)
|
|
42425
|
+
},
|
|
42426
|
+
on: {
|
|
42427
|
+
"click": function ($event) {
|
|
42428
|
+
plan ? _vm.getPlanUrl(plan) : 'javascript:void';
|
|
42429
|
+
}
|
|
42430
|
+
}
|
|
42431
|
+
}, [_vm._v("\n " + _vm._s(_vm.translateMe('Choose Plan')) + "\n ")]) : _c('PButton', {
|
|
42432
|
+
attrs: {
|
|
42433
|
+
"disabled": true,
|
|
42434
|
+
"full-width": "",
|
|
42435
|
+
"pressed": true
|
|
42436
|
+
}
|
|
42437
|
+
}, [_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', {
|
|
42438
|
+
staticClass: "footer-note-container"
|
|
42439
|
+
}, [plan.store_base_plan && !plan.shopify_plans.includes(_vm.shop.shopify_plan) && !_vm.isCurrentPlan(plan) && !_vm.isSamePlanInOtherInterval(plan) ? _c('PTextStyle', {
|
|
42440
|
+
staticClass: "text-break"
|
|
42441
|
+
}, [_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);
|
|
42442
|
+
})], 2) : _vm._e()], 2)], 2)]], _vm._v(" "), _vm.onboard ? _c('PStack', {
|
|
42443
|
+
staticClass: "choose-plan-btn",
|
|
42444
|
+
attrs: {
|
|
42445
|
+
"alignment": "center",
|
|
42446
|
+
"distribution": "center",
|
|
42447
|
+
"vertical": ""
|
|
42448
|
+
}
|
|
42449
|
+
}, [_c('PStackItem', {
|
|
42450
|
+
attrs: {
|
|
42451
|
+
"fill": ""
|
|
42452
|
+
}
|
|
42453
|
+
}, [_c('PButton', {
|
|
42454
|
+
attrs: {
|
|
42455
|
+
"plain": ""
|
|
42456
|
+
},
|
|
42457
|
+
on: {
|
|
42458
|
+
"click": _vm.activePlan
|
|
42459
|
+
}
|
|
42460
|
+
}, [_vm._v(_vm._s(_vm.translateMe('I will choose the plan later')))])], 1)], 1) : _vm._e(), _vm._v(" "), _c('PlanBanners', {
|
|
42461
|
+
on: {
|
|
42462
|
+
"handlePlanBannerClose": _vm.handlePlanBannerClose
|
|
42463
|
+
}
|
|
42464
|
+
})], 2)], 1)], 1) : _vm._e();
|
|
42023
42465
|
};
|
|
42024
42466
|
|
|
42025
42467
|
var __vue_staticRenderFns__$2 = [];
|
|
@@ -42027,7 +42469,7 @@ var __vue_staticRenderFns__$2 = [];
|
|
|
42027
42469
|
|
|
42028
42470
|
const __vue_inject_styles__$2 = function (inject) {
|
|
42029
42471
|
if (!inject) return;
|
|
42030
|
-
inject("data-v-
|
|
42472
|
+
inject("data-v-3f7acd90_0", {
|
|
42031
42473
|
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}",
|
|
42032
42474
|
map: undefined,
|
|
42033
42475
|
media: undefined
|
|
@@ -42591,12 +43033,331 @@ var __vue_render__$1 = function () {
|
|
|
42591
43033
|
|
|
42592
43034
|
var _c = _vm._self._c || _h;
|
|
42593
43035
|
|
|
42594
|
-
return _c('PEmptyState', {
|
|
43036
|
+
return !this.planLoading && this.plans.length === 0 ? _c('PEmptyState', {
|
|
42595
43037
|
attrs: {
|
|
42596
43038
|
"heading": _vm.translateMe('No Plans'),
|
|
42597
43039
|
"image": "https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png"
|
|
42598
43040
|
}
|
|
42599
|
-
})
|
|
43041
|
+
}) : !this.planLoading && this.plans.length > 0 ? _c('PPage', {
|
|
43042
|
+
staticClass: "app-manager-plan-page-slider custom-title",
|
|
43043
|
+
attrs: {
|
|
43044
|
+
"title": _vm.translateMe('Plans'),
|
|
43045
|
+
"subtitle": _vm.subtitleContent
|
|
43046
|
+
}
|
|
43047
|
+
}, [_c('PStack', {
|
|
43048
|
+
attrs: {
|
|
43049
|
+
"slot": "primaryAction"
|
|
43050
|
+
},
|
|
43051
|
+
slot: "primaryAction"
|
|
43052
|
+
}, [_c('PStackItem', {
|
|
43053
|
+
staticStyle: {
|
|
43054
|
+
"margin-top": "20px"
|
|
43055
|
+
}
|
|
43056
|
+
}, [_c('PButtonGroup', {
|
|
43057
|
+
staticClass: "btn-group",
|
|
43058
|
+
attrs: {
|
|
43059
|
+
"segmented": ""
|
|
43060
|
+
}
|
|
43061
|
+
}, [_vm.monthlyPlan.length && _vm.yearlyPlan.length ? _c('PButton', {
|
|
43062
|
+
class: _vm.selectedPlan === 'monthly' ? 'plan-active-tab' : '',
|
|
43063
|
+
style: _vm.selectedPlan === 'monthly' ? _vm.monthlySelectedStyle : _vm.monthlyStyle,
|
|
43064
|
+
on: {
|
|
43065
|
+
"click": function ($event) {
|
|
43066
|
+
return _vm.selectPlan('monthly');
|
|
43067
|
+
}
|
|
43068
|
+
}
|
|
43069
|
+
}, [_c('p', {
|
|
43070
|
+
staticStyle: {
|
|
43071
|
+
"font-size": "17px",
|
|
43072
|
+
"font-weight": "500"
|
|
43073
|
+
},
|
|
43074
|
+
attrs: {
|
|
43075
|
+
"slot": "default"
|
|
43076
|
+
},
|
|
43077
|
+
slot: "default"
|
|
43078
|
+
}, [_vm._v(_vm._s(_vm.translateMe('Monthly')))])]) : _vm._e(), _vm._v(" "), _vm.yearlyPlan.length && _vm.monthlyPlan.length ? _c('PButton', {
|
|
43079
|
+
class: _vm.selectedPlan === 'annually' ? 'plan-active-tab' : '',
|
|
43080
|
+
style: _vm.selectedPlan === 'annually' ? _vm.yearlySelectedStyle : _vm.yearlyStyle,
|
|
43081
|
+
attrs: {
|
|
43082
|
+
"primary": _vm.selectedPlan === 'annually'
|
|
43083
|
+
},
|
|
43084
|
+
on: {
|
|
43085
|
+
"click": function ($event) {
|
|
43086
|
+
return _vm.selectPlan('annually');
|
|
43087
|
+
}
|
|
43088
|
+
}
|
|
43089
|
+
}, [_c('YearlyPlanPromotion')], 1) : _vm._e()], 1)], 1)], 1), _vm._v(" "), _c('hr', {
|
|
43090
|
+
staticStyle: {
|
|
43091
|
+
"width": "100%",
|
|
43092
|
+
"margin-right": "auto",
|
|
43093
|
+
"margin-left": "auto",
|
|
43094
|
+
"margin-bottom": "20px"
|
|
43095
|
+
}
|
|
43096
|
+
}), _vm._v(" "), _c('PLayout', {
|
|
43097
|
+
staticClass: "custom-plan"
|
|
43098
|
+
}, [_c('PLayoutSection', {
|
|
43099
|
+
staticStyle: {
|
|
43100
|
+
"display": "flex",
|
|
43101
|
+
"border-radius": "20px"
|
|
43102
|
+
}
|
|
43103
|
+
}, [[[_c('div', {
|
|
43104
|
+
staticClass: "Polaris-ResourceList__ResourceListWrapper features",
|
|
43105
|
+
staticStyle: {
|
|
43106
|
+
"width": "30%"
|
|
43107
|
+
}
|
|
43108
|
+
}, [_c('div', {
|
|
43109
|
+
staticClass: "plan__price"
|
|
43110
|
+
}), _vm._v(" "), _c('ul', {
|
|
43111
|
+
staticClass: "Polaris-ResourceList"
|
|
43112
|
+
}, _vm._l(_vm.features, function (feature, key) {
|
|
43113
|
+
return _c('li', {
|
|
43114
|
+
key: key,
|
|
43115
|
+
staticClass: "Polaris-ResourceList__ItemWrapper pro_title",
|
|
43116
|
+
class: feature.value_type + "__type__" + feature.slug + " feature__type__" + feature.value_type + " feature__class"
|
|
43117
|
+
}, [_c('div', {
|
|
43118
|
+
staticClass: "Polaris-ResourceList-Item__Container"
|
|
43119
|
+
}, [_c('div', {
|
|
43120
|
+
staticClass: "Polaris-ResourceList-Item__Content"
|
|
43121
|
+
}, [_c('h1', {
|
|
43122
|
+
staticClass: "for-price-per-month"
|
|
43123
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.translateMe(feature.name)))])])])])]);
|
|
43124
|
+
}), 0)])], _vm._v(" "), _c('carousel', {
|
|
43125
|
+
staticStyle: {
|
|
43126
|
+
"width": "70%"
|
|
43127
|
+
},
|
|
43128
|
+
attrs: {
|
|
43129
|
+
"per-page": _vm.perPage,
|
|
43130
|
+
"mouseDrag": false,
|
|
43131
|
+
"navigation-enabled": true,
|
|
43132
|
+
"paginationEnabled": false,
|
|
43133
|
+
"navigateTo": [this.currentSlide, true]
|
|
43134
|
+
},
|
|
43135
|
+
on: {
|
|
43136
|
+
"transition-start": function ($event) {
|
|
43137
|
+
return _vm.handleNavigationClick($event);
|
|
43138
|
+
}
|
|
43139
|
+
}
|
|
43140
|
+
}, [_vm._l(_vm.selectedPlan === 'monthly' ? _vm.monthlyPlan : _vm.yearlyPlan, function (plan, key) {
|
|
43141
|
+
return _c('slide', {
|
|
43142
|
+
key: "slide-" + key,
|
|
43143
|
+
class: "slide-" + key,
|
|
43144
|
+
attrs: {
|
|
43145
|
+
"id": key
|
|
43146
|
+
}
|
|
43147
|
+
}, [_c('div', {
|
|
43148
|
+
staticClass: "plan__price",
|
|
43149
|
+
style: _vm.activePlanStyle(plan)
|
|
43150
|
+
}, [plan.price === 0 ? _c('div', [plan.name !== 'Free' ? _c('b', {
|
|
43151
|
+
staticStyle: {
|
|
43152
|
+
"font-size": "16px"
|
|
43153
|
+
}
|
|
43154
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]) : _vm._e(), _vm._v(" "), _c('p', {
|
|
43155
|
+
staticStyle: {
|
|
43156
|
+
"display": "flex",
|
|
43157
|
+
"margin-top": "10px"
|
|
43158
|
+
}
|
|
43159
|
+
}, [_c('PHeading', {
|
|
43160
|
+
staticStyle: {
|
|
43161
|
+
"font-size": "25px",
|
|
43162
|
+
"font-weight": "700"
|
|
43163
|
+
}
|
|
43164
|
+
}, [_vm._v(_vm._s(_vm.translateMe('Free')))])], 1)]) : plan.discount && plan.discount > 0 && !_vm.isCurrentPlan(plan) ? _c('div', [_c('b', {
|
|
43165
|
+
staticStyle: {
|
|
43166
|
+
"font-size": "16px"
|
|
43167
|
+
}
|
|
43168
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]), _vm._v(" "), _c('p', {
|
|
43169
|
+
staticStyle: {
|
|
43170
|
+
"display": "flex",
|
|
43171
|
+
"margin-top": "10px"
|
|
43172
|
+
}
|
|
43173
|
+
}, [_c('PHeading', {
|
|
43174
|
+
staticStyle: {
|
|
43175
|
+
"font-size": "25px",
|
|
43176
|
+
"font-weight": "700"
|
|
43177
|
+
}
|
|
43178
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculateDiscountedPrice(plan)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
43179
|
+
staticStyle: {
|
|
43180
|
+
"margin-top": "5px",
|
|
43181
|
+
"font-size": "17px"
|
|
43182
|
+
}
|
|
43183
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe(_vm.selectedPlan === 'monthly' ? "mo" : "year")))])], 1), _vm._v(" "), _c('p', {
|
|
43184
|
+
staticStyle: {
|
|
43185
|
+
"display": "flex",
|
|
43186
|
+
"margin-top": "7px"
|
|
43187
|
+
}
|
|
43188
|
+
}, [_c('PHeading', {
|
|
43189
|
+
staticStyle: {
|
|
43190
|
+
"font-size": "18px",
|
|
43191
|
+
"font-weight": "500",
|
|
43192
|
+
"text-decoration": "line-through"
|
|
43193
|
+
}
|
|
43194
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
43195
|
+
staticStyle: {
|
|
43196
|
+
"margin-top": "3px",
|
|
43197
|
+
"font-size": "14px"
|
|
43198
|
+
}
|
|
43199
|
+
}, [_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', {
|
|
43200
|
+
staticStyle: {
|
|
43201
|
+
"font-size": "16px"
|
|
43202
|
+
}
|
|
43203
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]), _vm._v(" "), _c('p', {
|
|
43204
|
+
staticStyle: {
|
|
43205
|
+
"display": "flex",
|
|
43206
|
+
"margin-top": "10px"
|
|
43207
|
+
}
|
|
43208
|
+
}, [_c('PHeading', {
|
|
43209
|
+
staticStyle: {
|
|
43210
|
+
"font-size": "25px",
|
|
43211
|
+
"font-weight": "700"
|
|
43212
|
+
}
|
|
43213
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculatePromotionalDiscountedPrice(plan, _vm.promotional_discount)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
43214
|
+
staticStyle: {
|
|
43215
|
+
"margin-top": "5px",
|
|
43216
|
+
"font-size": "17px"
|
|
43217
|
+
}
|
|
43218
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe(_vm.selectedPlan === 'monthly' ? "mo" : "year")))])], 1), _vm._v(" "), _c('p', {
|
|
43219
|
+
staticStyle: {
|
|
43220
|
+
"display": "flex",
|
|
43221
|
+
"margin-top": "7px"
|
|
43222
|
+
}
|
|
43223
|
+
}, [_c('PHeading', {
|
|
43224
|
+
staticStyle: {
|
|
43225
|
+
"font-size": "18px",
|
|
43226
|
+
"font-weight": "500",
|
|
43227
|
+
"text-decoration": "line-through"
|
|
43228
|
+
}
|
|
43229
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
43230
|
+
staticStyle: {
|
|
43231
|
+
"margin-top": "3px",
|
|
43232
|
+
"font-size": "14px"
|
|
43233
|
+
}
|
|
43234
|
+
}, [_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', {
|
|
43235
|
+
staticStyle: {
|
|
43236
|
+
"font-size": "16px"
|
|
43237
|
+
}
|
|
43238
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]), _vm._v(" "), _c('p', {
|
|
43239
|
+
staticStyle: {
|
|
43240
|
+
"display": "flex",
|
|
43241
|
+
"margin-top": "10px"
|
|
43242
|
+
}
|
|
43243
|
+
}, [_c('PHeading', {
|
|
43244
|
+
staticStyle: {
|
|
43245
|
+
"font-size": "25px",
|
|
43246
|
+
"font-weight": "700"
|
|
43247
|
+
}
|
|
43248
|
+
}, [_vm._v("$" + _vm._s(parseFloat(_vm.calculatePromotionalDiscountedPrice(plan, _vm.promotional_discount)).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
43249
|
+
staticStyle: {
|
|
43250
|
+
"margin-top": "5px",
|
|
43251
|
+
"font-size": "17px"
|
|
43252
|
+
}
|
|
43253
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe(_vm.selectedPlan === 'monthly' ? "mo" : "year")))])], 1), _vm._v(" "), _c('p', {
|
|
43254
|
+
staticStyle: {
|
|
43255
|
+
"display": "flex",
|
|
43256
|
+
"margin-top": "7px"
|
|
43257
|
+
}
|
|
43258
|
+
}, [_c('PHeading', {
|
|
43259
|
+
staticStyle: {
|
|
43260
|
+
"font-size": "18px",
|
|
43261
|
+
"font-weight": "500",
|
|
43262
|
+
"text-decoration": "line-through"
|
|
43263
|
+
}
|
|
43264
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
43265
|
+
staticStyle: {
|
|
43266
|
+
"margin-top": "3px",
|
|
43267
|
+
"font-size": "14px"
|
|
43268
|
+
}
|
|
43269
|
+
}, [_vm._v("/" + _vm._s(_vm.translateMe(_vm.selectedPlan === 'monthly' ? "mo" : "year")))])], 1)]) : _c('div', [_c('b', {
|
|
43270
|
+
staticStyle: {
|
|
43271
|
+
"font-size": "16px"
|
|
43272
|
+
}
|
|
43273
|
+
}, [_vm._v(_vm._s(_vm.translateMe(plan.name)))]), _vm._v(" "), _c('p', {
|
|
43274
|
+
staticStyle: {
|
|
43275
|
+
"display": "flex",
|
|
43276
|
+
"margin-top": "10px"
|
|
43277
|
+
}
|
|
43278
|
+
}, [_c('PHeading', {
|
|
43279
|
+
staticStyle: {
|
|
43280
|
+
"font-size": "25px",
|
|
43281
|
+
"font-weight": "700"
|
|
43282
|
+
}
|
|
43283
|
+
}, [_vm._v("$" + _vm._s(parseFloat(plan.price).toFixed(2)))]), _vm._v(" "), _c('b', {
|
|
43284
|
+
staticStyle: {
|
|
43285
|
+
"margin-top": "5px",
|
|
43286
|
+
"font-size": "17px"
|
|
43287
|
+
}
|
|
43288
|
+
}, [_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) {
|
|
43289
|
+
return _c('li', {
|
|
43290
|
+
key: key,
|
|
43291
|
+
class: feature.value_type + "__type__" + feature.slug + " feature__list feature__type__" + feature.value_type,
|
|
43292
|
+
style: _vm.activePlanStyle(plan)
|
|
43293
|
+
}, [_c('div', [plan.features && plan.features[feature.uuid] ? [plan.features[feature.uuid].value_type === 'boolean' ? [parseInt(plan.features[feature.uuid].value) === 1 ? _c('PIcon', {
|
|
43294
|
+
attrs: {
|
|
43295
|
+
"color": "success",
|
|
43296
|
+
"source": "TickMinor"
|
|
43297
|
+
}
|
|
43298
|
+
}) : _c('PIcon', {
|
|
43299
|
+
attrs: {
|
|
43300
|
+
"color": "subdued",
|
|
43301
|
+
"source": "MinusMinor"
|
|
43302
|
+
}
|
|
43303
|
+
})] : [plan.features[feature.uuid].value ? _c('span', [_vm._v(_vm._s(_vm.format(plan.features[feature.uuid])))]) : _c('PIcon', {
|
|
43304
|
+
attrs: {
|
|
43305
|
+
"color": "subdued",
|
|
43306
|
+
"source": "MinusMinor"
|
|
43307
|
+
}
|
|
43308
|
+
})]] : [_c('PIcon', {
|
|
43309
|
+
attrs: {
|
|
43310
|
+
"color": "subdued",
|
|
43311
|
+
"source": "MinusMinor"
|
|
43312
|
+
}
|
|
43313
|
+
})]], 2)]);
|
|
43314
|
+
}), _vm._v(" "), _c('li', [_vm.isCurrentPlan(plan) ? _c('PButton', {
|
|
43315
|
+
attrs: {
|
|
43316
|
+
"disabled": _vm.isCurrentPlan(plan),
|
|
43317
|
+
"full-width": "",
|
|
43318
|
+
"pressed": _vm.isCurrentPlan(plan)
|
|
43319
|
+
}
|
|
43320
|
+
}, [_vm._v("\n " + _vm._s(_vm.translateMe('Current Plan')) + "\n ")]) : !plan.store_base_plan || plan.shopify_plans.includes(_vm.shop.shopify_plan) ? _c('PButton', {
|
|
43321
|
+
class: _vm.planChooseButtonClass(plan),
|
|
43322
|
+
attrs: {
|
|
43323
|
+
"full-width": "",
|
|
43324
|
+
"primary": _vm.isPlanButtonColor(plan)
|
|
43325
|
+
},
|
|
43326
|
+
on: {
|
|
43327
|
+
"click": function ($event) {
|
|
43328
|
+
plan ? _vm.getPlanUrl(plan) : 'javascript:void';
|
|
43329
|
+
}
|
|
43330
|
+
}
|
|
43331
|
+
}, [_vm._v("\n " + _vm._s(_vm.translateMe('Choose Plan')) + "\n ")]) : _c('PButton', {
|
|
43332
|
+
attrs: {
|
|
43333
|
+
"disabled": true,
|
|
43334
|
+
"full-width": "",
|
|
43335
|
+
"pressed": true
|
|
43336
|
+
}
|
|
43337
|
+
}, [_vm._v("\n " + _vm._s(_vm.translateMe('Not applicable')) + "\n ")])], 1)], 2)])]);
|
|
43338
|
+
})], 2)]], 2)], 1), _vm._v(" "), _vm.onboard ? _c('PStack', {
|
|
43339
|
+
staticClass: "choose-plan-btn",
|
|
43340
|
+
attrs: {
|
|
43341
|
+
"alignment": "center",
|
|
43342
|
+
"distribution": "center",
|
|
43343
|
+
"vertical": ""
|
|
43344
|
+
}
|
|
43345
|
+
}, [_c('PStackItem', {
|
|
43346
|
+
attrs: {
|
|
43347
|
+
"fill": ""
|
|
43348
|
+
}
|
|
43349
|
+
}, [_c('PButton', {
|
|
43350
|
+
attrs: {
|
|
43351
|
+
"plain": ""
|
|
43352
|
+
},
|
|
43353
|
+
on: {
|
|
43354
|
+
"click": _vm.activePlan
|
|
43355
|
+
}
|
|
43356
|
+
}, [_vm._v(_vm._s(_vm.translateMe('I will choose the plan later')))])], 1)], 1) : _vm._e(), _vm._v(" "), _c('PlanBanners', {
|
|
43357
|
+
on: {
|
|
43358
|
+
"handlePlanBannerClose": _vm.handlePlanBannerClose
|
|
43359
|
+
}
|
|
43360
|
+
})], 1) : _vm._e();
|
|
42600
43361
|
};
|
|
42601
43362
|
|
|
42602
43363
|
var __vue_staticRenderFns__$1 = [];
|
|
@@ -42604,7 +43365,7 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
42604
43365
|
|
|
42605
43366
|
const __vue_inject_styles__$1 = function (inject) {
|
|
42606
43367
|
if (!inject) return;
|
|
42607
|
-
inject("data-v-
|
|
43368
|
+
inject("data-v-c7ecf122_0", {
|
|
42608
43369
|
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}",
|
|
42609
43370
|
map: undefined,
|
|
42610
43371
|
media: undefined
|