@dcodegroup-au/page-builder 0.7.4 → 0.7.6
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/page-builder.css +150 -48
- package/dist/page-builder.es.js +39 -36
- package/dist/page-builder.umd.js +39 -36
- package/package.json +1 -1
- package/src/components/presenters/components/LinkPresenter.vue +8 -5
- package/src/components/presenters/components/SliderPresenter.vue +16 -9
- package/src/components/presenters/modules/QuickLinks.vue +3 -3
- package/src/components/presenters/modules/TwoColumnsImageContent.vue +1 -1
package/dist/page-builder.css
CHANGED
|
@@ -733,9 +733,6 @@ select {
|
|
|
733
733
|
.left-1\/2 {
|
|
734
734
|
left: 50%;
|
|
735
735
|
}
|
|
736
|
-
.left-5 {
|
|
737
|
-
left: 1.25rem;
|
|
738
|
-
}
|
|
739
736
|
.left-\[70\%\] {
|
|
740
737
|
left: 70%;
|
|
741
738
|
}
|
|
@@ -778,9 +775,6 @@ select {
|
|
|
778
775
|
.z-10 {
|
|
779
776
|
z-index: 10;
|
|
780
777
|
}
|
|
781
|
-
.z-20 {
|
|
782
|
-
z-index: 20;
|
|
783
|
-
}
|
|
784
778
|
.z-50 {
|
|
785
779
|
z-index: 50;
|
|
786
780
|
}
|
|
@@ -831,8 +825,8 @@ select {
|
|
|
831
825
|
.-mb-\[140px\] {
|
|
832
826
|
margin-bottom: -140px;
|
|
833
827
|
}
|
|
834
|
-
.-mt-
|
|
835
|
-
margin-top: -
|
|
828
|
+
.-mt-6 {
|
|
829
|
+
margin-top: -1.5rem;
|
|
836
830
|
}
|
|
837
831
|
.mb-1 {
|
|
838
832
|
margin-bottom: 0.25rem;
|
|
@@ -909,9 +903,6 @@ select {
|
|
|
909
903
|
.mt-8 {
|
|
910
904
|
margin-top: 2rem;
|
|
911
905
|
}
|
|
912
|
-
.mt-\[100px\] {
|
|
913
|
-
margin-top: 100px;
|
|
914
|
-
}
|
|
915
906
|
.mt-\[3px\] {
|
|
916
907
|
margin-top: 3px;
|
|
917
908
|
}
|
|
@@ -930,6 +921,12 @@ select {
|
|
|
930
921
|
-webkit-box-orient: vertical;
|
|
931
922
|
-webkit-line-clamp: 4;
|
|
932
923
|
}
|
|
924
|
+
.line-clamp-6 {
|
|
925
|
+
overflow: hidden;
|
|
926
|
+
display: -webkit-box;
|
|
927
|
+
-webkit-box-orient: vertical;
|
|
928
|
+
-webkit-line-clamp: 6;
|
|
929
|
+
}
|
|
933
930
|
.\!block {
|
|
934
931
|
display: block !important;
|
|
935
932
|
}
|
|
@@ -981,9 +978,6 @@ select {
|
|
|
981
978
|
.h-8 {
|
|
982
979
|
height: 2rem;
|
|
983
980
|
}
|
|
984
|
-
.h-9 {
|
|
985
|
-
height: 2.25rem;
|
|
986
|
-
}
|
|
987
981
|
.h-\[100vh\] {
|
|
988
982
|
height: 100vh;
|
|
989
983
|
}
|
|
@@ -1035,15 +1029,18 @@ select {
|
|
|
1035
1029
|
.h-\[56px\] {
|
|
1036
1030
|
height: 56px;
|
|
1037
1031
|
}
|
|
1032
|
+
.h-\[614px\] {
|
|
1033
|
+
height: 614px;
|
|
1034
|
+
}
|
|
1038
1035
|
.h-\[674px\] {
|
|
1039
1036
|
height: 674px;
|
|
1040
1037
|
}
|
|
1041
|
-
.h-\[708px\] {
|
|
1042
|
-
height: 708px;
|
|
1043
|
-
}
|
|
1044
1038
|
.h-\[96px\] {
|
|
1045
1039
|
height: 96px;
|
|
1046
1040
|
}
|
|
1041
|
+
.h-auto {
|
|
1042
|
+
height: auto;
|
|
1043
|
+
}
|
|
1047
1044
|
.h-fit {
|
|
1048
1045
|
height: -moz-fit-content;
|
|
1049
1046
|
height: fit-content;
|
|
@@ -1063,9 +1060,6 @@ select {
|
|
|
1063
1060
|
.max-h-screen {
|
|
1064
1061
|
max-height: 100vh;
|
|
1065
1062
|
}
|
|
1066
|
-
.min-h-\[136px\] {
|
|
1067
|
-
min-height: 136px;
|
|
1068
|
-
}
|
|
1069
1063
|
.min-h-\[260px\] {
|
|
1070
1064
|
min-height: 260px;
|
|
1071
1065
|
}
|
|
@@ -1259,6 +1253,9 @@ select {
|
|
|
1259
1253
|
.flex-shrink-0 {
|
|
1260
1254
|
flex-shrink: 0;
|
|
1261
1255
|
}
|
|
1256
|
+
.shrink-0 {
|
|
1257
|
+
flex-shrink: 0;
|
|
1258
|
+
}
|
|
1262
1259
|
.\!translate-x-3 {
|
|
1263
1260
|
--tw-translate-x: 0.75rem !important;
|
|
1264
1261
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
|
|
@@ -1382,13 +1379,6 @@ select {
|
|
|
1382
1379
|
-moz-column-gap: 100px;
|
|
1383
1380
|
column-gap: 100px;
|
|
1384
1381
|
}
|
|
1385
|
-
.gap-x-\[60px\] {
|
|
1386
|
-
-moz-column-gap: 60px;
|
|
1387
|
-
column-gap: 60px;
|
|
1388
|
-
}
|
|
1389
|
-
.gap-y-2 {
|
|
1390
|
-
row-gap: 0.5rem;
|
|
1391
|
-
}
|
|
1392
1382
|
.divide-y > :not([hidden]) ~ :not([hidden]) {
|
|
1393
1383
|
--tw-divide-y-reverse: 0;
|
|
1394
1384
|
border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
|
|
@@ -1717,6 +1707,10 @@ select {
|
|
|
1717
1707
|
.p-8 {
|
|
1718
1708
|
padding: 2rem;
|
|
1719
1709
|
}
|
|
1710
|
+
.\!px-0 {
|
|
1711
|
+
padding-left: 0px !important;
|
|
1712
|
+
padding-right: 0px !important;
|
|
1713
|
+
}
|
|
1720
1714
|
.\!px-6 {
|
|
1721
1715
|
padding-left: 1.5rem !important;
|
|
1722
1716
|
padding-right: 1.5rem !important;
|
|
@@ -1878,15 +1872,12 @@ select {
|
|
|
1878
1872
|
.pr-5 {
|
|
1879
1873
|
padding-right: 1.25rem;
|
|
1880
1874
|
}
|
|
1881
|
-
.
|
|
1882
|
-
padding-
|
|
1875
|
+
.pt-12 {
|
|
1876
|
+
padding-top: 3rem;
|
|
1883
1877
|
}
|
|
1884
1878
|
.pt-16 {
|
|
1885
1879
|
padding-top: 4rem;
|
|
1886
1880
|
}
|
|
1887
|
-
.pt-20 {
|
|
1888
|
-
padding-top: 5rem;
|
|
1889
|
-
}
|
|
1890
1881
|
.pt-4 {
|
|
1891
1882
|
padding-top: 1rem;
|
|
1892
1883
|
}
|
|
@@ -1948,9 +1939,6 @@ select {
|
|
|
1948
1939
|
.text-\[36px\] {
|
|
1949
1940
|
font-size: 36px;
|
|
1950
1941
|
}
|
|
1951
|
-
.text-\[40px\] {
|
|
1952
|
-
font-size: 40px;
|
|
1953
|
-
}
|
|
1954
1942
|
.text-base {
|
|
1955
1943
|
font-size: 1rem;
|
|
1956
1944
|
line-height: 1.5rem;
|
|
@@ -2993,11 +2981,34 @@ select {
|
|
|
2993
2981
|
opacity: 1;
|
|
2994
2982
|
}
|
|
2995
2983
|
|
|
2984
|
+
@media not all and (min-width: 1280px) {
|
|
2985
|
+
|
|
2986
|
+
.max-xl\:h-full {
|
|
2987
|
+
height: 100%;
|
|
2988
|
+
}
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2996
2991
|
@media not all and (min-width: 1024px) {
|
|
2997
2992
|
|
|
2993
|
+
.max-lg\:hidden {
|
|
2994
|
+
display: none;
|
|
2995
|
+
}
|
|
2996
|
+
|
|
2998
2997
|
.max-lg\:flex-col {
|
|
2999
2998
|
flex-direction: column;
|
|
3000
2999
|
}
|
|
3000
|
+
|
|
3001
|
+
.max-lg\:flex-col-reverse {
|
|
3002
|
+
flex-direction: column-reverse;
|
|
3003
|
+
}
|
|
3004
|
+
|
|
3005
|
+
.max-lg\:\!pb-0 {
|
|
3006
|
+
padding-bottom: 0px !important;
|
|
3007
|
+
}
|
|
3008
|
+
|
|
3009
|
+
.max-lg\:pb-6 {
|
|
3010
|
+
padding-bottom: 1.5rem;
|
|
3011
|
+
}
|
|
3001
3012
|
}
|
|
3002
3013
|
|
|
3003
3014
|
@media not all and (min-width: 768px) {
|
|
@@ -3011,6 +3022,10 @@ select {
|
|
|
3011
3022
|
width: 100%;
|
|
3012
3023
|
}
|
|
3013
3024
|
|
|
3025
|
+
.max-md\:flex-1 {
|
|
3026
|
+
flex: 1 1 0%;
|
|
3027
|
+
}
|
|
3028
|
+
|
|
3014
3029
|
.max-md\:flex-col {
|
|
3015
3030
|
flex-direction: column;
|
|
3016
3031
|
}
|
|
@@ -3020,13 +3035,43 @@ select {
|
|
|
3020
3035
|
padding-right: 1rem;
|
|
3021
3036
|
}
|
|
3022
3037
|
|
|
3023
|
-
.max-md
|
|
3038
|
+
.max-md\:\!pt-4 {
|
|
3039
|
+
padding-top: 1rem !important;
|
|
3040
|
+
}
|
|
3041
|
+
}
|
|
3042
|
+
|
|
3043
|
+
@media not all and (min-width: 640px) {
|
|
3044
|
+
|
|
3045
|
+
.max-sm\:flex-col {
|
|
3046
|
+
flex-direction: column;
|
|
3047
|
+
}
|
|
3048
|
+
|
|
3049
|
+
.max-sm\:pb-4 {
|
|
3024
3050
|
padding-bottom: 1rem;
|
|
3025
3051
|
}
|
|
3026
3052
|
}
|
|
3027
3053
|
|
|
3028
3054
|
@media (min-width: 640px) {
|
|
3029
3055
|
|
|
3056
|
+
.sm\:mt-14 {
|
|
3057
|
+
margin-top: 3.5rem;
|
|
3058
|
+
}
|
|
3059
|
+
|
|
3060
|
+
.sm\:line-clamp-3 {
|
|
3061
|
+
overflow: hidden;
|
|
3062
|
+
display: -webkit-box;
|
|
3063
|
+
-webkit-box-orient: vertical;
|
|
3064
|
+
-webkit-line-clamp: 3;
|
|
3065
|
+
}
|
|
3066
|
+
|
|
3067
|
+
.sm\:h-\[240px\] {
|
|
3068
|
+
height: 240px;
|
|
3069
|
+
}
|
|
3070
|
+
|
|
3071
|
+
.sm\:h-\[550px\] {
|
|
3072
|
+
height: 550px;
|
|
3073
|
+
}
|
|
3074
|
+
|
|
3030
3075
|
.sm\:min-h-\[320px\] {
|
|
3031
3076
|
min-height: 320px;
|
|
3032
3077
|
}
|
|
@@ -3048,6 +3093,10 @@ select {
|
|
|
3048
3093
|
padding-left: 1rem;
|
|
3049
3094
|
padding-right: 1rem;
|
|
3050
3095
|
}
|
|
3096
|
+
|
|
3097
|
+
.sm\:pt-10 {
|
|
3098
|
+
padding-top: 2.5rem;
|
|
3099
|
+
}
|
|
3051
3100
|
}
|
|
3052
3101
|
|
|
3053
3102
|
@media (min-width: 768px) {
|
|
@@ -3056,10 +3105,22 @@ select {
|
|
|
3056
3105
|
right: 120px;
|
|
3057
3106
|
}
|
|
3058
3107
|
|
|
3108
|
+
.md\:mt-8 {
|
|
3109
|
+
margin-top: 2rem;
|
|
3110
|
+
}
|
|
3111
|
+
|
|
3059
3112
|
.md\:h-5 {
|
|
3060
3113
|
height: 1.25rem;
|
|
3061
3114
|
}
|
|
3062
3115
|
|
|
3116
|
+
.md\:h-\[480px\] {
|
|
3117
|
+
height: 480px;
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
.md\:h-\[806px\] {
|
|
3121
|
+
height: 806px;
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3063
3124
|
.md\:max-h-\[387px\] {
|
|
3064
3125
|
max-height: 387px;
|
|
3065
3126
|
}
|
|
@@ -3116,11 +3177,6 @@ select {
|
|
|
3116
3177
|
border-radius: 60px;
|
|
3117
3178
|
}
|
|
3118
3179
|
|
|
3119
|
-
.md\:rounded-b-\[48px\] {
|
|
3120
|
-
border-bottom-right-radius: 48px;
|
|
3121
|
-
border-bottom-left-radius: 48px;
|
|
3122
|
-
}
|
|
3123
|
-
|
|
3124
3180
|
.md\:\!p-8 {
|
|
3125
3181
|
padding: 2rem !important;
|
|
3126
3182
|
}
|
|
@@ -3150,6 +3206,11 @@ select {
|
|
|
3150
3206
|
padding-right: 120px;
|
|
3151
3207
|
}
|
|
3152
3208
|
|
|
3209
|
+
.md\:py-10 {
|
|
3210
|
+
padding-top: 2.5rem;
|
|
3211
|
+
padding-bottom: 2.5rem;
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3153
3214
|
.md\:pl-6 {
|
|
3154
3215
|
padding-left: 1.5rem;
|
|
3155
3216
|
}
|
|
@@ -3188,8 +3249,8 @@ select {
|
|
|
3188
3249
|
|
|
3189
3250
|
@media (min-width: 1024px) {
|
|
3190
3251
|
|
|
3191
|
-
.lg
|
|
3192
|
-
|
|
3252
|
+
.lg\:-mt-12 {
|
|
3253
|
+
margin-top: -3rem;
|
|
3193
3254
|
}
|
|
3194
3255
|
|
|
3195
3256
|
.lg\:mt-\[218px\] {
|
|
@@ -3208,18 +3269,22 @@ select {
|
|
|
3208
3269
|
height: 300px;
|
|
3209
3270
|
}
|
|
3210
3271
|
|
|
3211
|
-
.lg\:h-\[336px\] {
|
|
3212
|
-
height: 336px;
|
|
3213
|
-
}
|
|
3214
|
-
|
|
3215
3272
|
.lg\:h-\[480px\] {
|
|
3216
3273
|
height: 480px;
|
|
3217
3274
|
}
|
|
3218
3275
|
|
|
3276
|
+
.lg\:h-\[674px\] {
|
|
3277
|
+
height: 674px;
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3219
3280
|
.lg\:h-\[872px\] {
|
|
3220
3281
|
height: 872px;
|
|
3221
3282
|
}
|
|
3222
3283
|
|
|
3284
|
+
.lg\:min-h-\[136px\] {
|
|
3285
|
+
min-height: 136px;
|
|
3286
|
+
}
|
|
3287
|
+
|
|
3223
3288
|
.lg\:w-1\/2 {
|
|
3224
3289
|
width: 50%;
|
|
3225
3290
|
}
|
|
@@ -3240,6 +3305,10 @@ select {
|
|
|
3240
3305
|
max-width: 33.3%;
|
|
3241
3306
|
}
|
|
3242
3307
|
|
|
3308
|
+
.lg\:max-w-\[882px\] {
|
|
3309
|
+
max-width: 882px;
|
|
3310
|
+
}
|
|
3311
|
+
|
|
3243
3312
|
.lg\:grid-cols-2 {
|
|
3244
3313
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3245
3314
|
}
|
|
@@ -3268,6 +3337,24 @@ select {
|
|
|
3268
3337
|
gap: 2rem;
|
|
3269
3338
|
}
|
|
3270
3339
|
|
|
3340
|
+
.lg\:gap-x-\[60px\] {
|
|
3341
|
+
-moz-column-gap: 60px;
|
|
3342
|
+
column-gap: 60px;
|
|
3343
|
+
}
|
|
3344
|
+
|
|
3345
|
+
.lg\:gap-y-2 {
|
|
3346
|
+
row-gap: 0.5rem;
|
|
3347
|
+
}
|
|
3348
|
+
|
|
3349
|
+
.lg\:rounded-\[48px\] {
|
|
3350
|
+
border-radius: 48px;
|
|
3351
|
+
}
|
|
3352
|
+
|
|
3353
|
+
.lg\:rounded-b-\[48px\] {
|
|
3354
|
+
border-bottom-right-radius: 48px;
|
|
3355
|
+
border-bottom-left-radius: 48px;
|
|
3356
|
+
}
|
|
3357
|
+
|
|
3271
3358
|
.lg\:p-8 {
|
|
3272
3359
|
padding: 2rem;
|
|
3273
3360
|
}
|
|
@@ -3302,6 +3389,11 @@ select {
|
|
|
3302
3389
|
font-size: 48px;
|
|
3303
3390
|
}
|
|
3304
3391
|
|
|
3392
|
+
.lg\:text-lg {
|
|
3393
|
+
font-size: 1.125rem;
|
|
3394
|
+
line-height: 1.75rem;
|
|
3395
|
+
}
|
|
3396
|
+
|
|
3305
3397
|
.lg\:leading-\[60px\] {
|
|
3306
3398
|
line-height: 60px;
|
|
3307
3399
|
}
|
|
@@ -3317,6 +3409,10 @@ select {
|
|
|
3317
3409
|
left: 120px;
|
|
3318
3410
|
}
|
|
3319
3411
|
|
|
3412
|
+
.xl\:h-\[336px\] {
|
|
3413
|
+
height: 336px;
|
|
3414
|
+
}
|
|
3415
|
+
|
|
3320
3416
|
.xl\:h-\[480px\] {
|
|
3321
3417
|
height: 480px;
|
|
3322
3418
|
}
|
|
@@ -3680,8 +3776,14 @@ select {
|
|
|
3680
3776
|
}
|
|
3681
3777
|
|
|
3682
3778
|
|
|
3683
|
-
.carousel[data-v-
|
|
3779
|
+
.carousel[data-v-29ca6047] {
|
|
3684
3780
|
margin: 1rem 0;
|
|
3781
|
+
flex-direction: column;
|
|
3782
|
+
}
|
|
3783
|
+
@media not all and (min-width: 1024px) {
|
|
3784
|
+
[data-v-29ca6047] .carousel__slide {
|
|
3785
|
+
flex-direction: column;
|
|
3786
|
+
}
|
|
3685
3787
|
}
|
|
3686
3788
|
|
|
3687
3789
|
.fade-enter-active[data-v-ef885607], .fade-leave-active[data-v-ef885607] {
|
package/dist/page-builder.es.js
CHANGED
|
@@ -449,7 +449,7 @@ const _hoisted_9$n = { class: "font-semibold text-gray-900" };
|
|
|
449
449
|
const _hoisted_10$i = { class: "text-sm text-gray-600" };
|
|
450
450
|
const _hoisted_11$g = ["disabled"];
|
|
451
451
|
const _hoisted_12$d = { class: "flex flex-col gap-3" };
|
|
452
|
-
const _hoisted_13$
|
|
452
|
+
const _hoisted_13$b = ["onClick"];
|
|
453
453
|
const _hoisted_14$9 = ["onClick"];
|
|
454
454
|
const _hoisted_15$7 = { class: "text-xs text-gray-600" };
|
|
455
455
|
const _hoisted_16$5 = { class: "text-sm font-medium text-gray-900" };
|
|
@@ -549,7 +549,7 @@ const _sfc_main$Q = {
|
|
|
549
549
|
"enable-edit": true,
|
|
550
550
|
onEditItem: ($event) => edit(item, index)
|
|
551
551
|
}, null, 8, ["onRemoveItem", "onEditItem"])
|
|
552
|
-
], 8, _hoisted_13$
|
|
552
|
+
], 8, _hoisted_13$b)
|
|
553
553
|
], 2);
|
|
554
554
|
}), 256))
|
|
555
555
|
])
|
|
@@ -45228,7 +45228,7 @@ const _hoisted_12$b = {
|
|
|
45228
45228
|
key: 0,
|
|
45229
45229
|
class: "flex gap-4"
|
|
45230
45230
|
};
|
|
45231
|
-
const _hoisted_13$
|
|
45231
|
+
const _hoisted_13$a = { class: "flex items-center gap-2 cursor-pointer" };
|
|
45232
45232
|
const _hoisted_14$8 = ["name", "value", "onUpdate:modelValue", "onChange"];
|
|
45233
45233
|
const _hoisted_15$6 = {
|
|
45234
45234
|
key: 1,
|
|
@@ -45366,7 +45366,7 @@ const _sfc_main$C = {
|
|
|
45366
45366
|
createElementVNode("div", _hoisted_11$e, [
|
|
45367
45367
|
!((_a2 = componentData.value) == null ? void 0 : _a2.hasOwnProperty("has_type_switcher")) || ((_b = componentData.value) == null ? void 0 : _b.has_type_switcher) ? (openBlock(), createElementBlock("div", _hoisted_12$b, [
|
|
45368
45368
|
(openBlock(), createElementBlock(Fragment, null, renderList(options, (option) => {
|
|
45369
|
-
return createElementVNode("label", _hoisted_13$
|
|
45369
|
+
return createElementVNode("label", _hoisted_13$a, [
|
|
45370
45370
|
withDirectives(createElementVNode("input", {
|
|
45371
45371
|
name: `content_type${index}`,
|
|
45372
45372
|
type: "radio",
|
|
@@ -46165,7 +46165,7 @@ const _hoisted_9$h = {
|
|
|
46165
46165
|
const _hoisted_10$c = ["onClick"];
|
|
46166
46166
|
const _hoisted_11$b = { class: "flex flex-col" };
|
|
46167
46167
|
const _hoisted_12$9 = { class: "text-sm font-medium text-gray-900" };
|
|
46168
|
-
const _hoisted_13$
|
|
46168
|
+
const _hoisted_13$9 = { class: "flex items-center justify-between gap-3 px-[10px]" };
|
|
46169
46169
|
const _hoisted_14$7 = { class: "flex h-full flex-1 flex-col mb-20" };
|
|
46170
46170
|
const _hoisted_15$5 = {
|
|
46171
46171
|
key: 0,
|
|
@@ -46302,7 +46302,7 @@ const _sfc_main$t = {
|
|
|
46302
46302
|
_cache[1] || (_cache[1] = createElementVNode("div", { class: "text-xs text-gray-600" }, "Sub-module", -1)),
|
|
46303
46303
|
createElementVNode("div", _hoisted_12$9, toDisplayString(component.name), 1)
|
|
46304
46304
|
]),
|
|
46305
|
-
createElementVNode("div", _hoisted_13$
|
|
46305
|
+
createElementVNode("div", _hoisted_13$9, [
|
|
46306
46306
|
createVNode(unref(ChevronRight), { class: "h-5 w-5" })
|
|
46307
46307
|
])
|
|
46308
46308
|
], 10, _hoisted_10$c);
|
|
@@ -47826,20 +47826,21 @@ const Slide = defineComponent({
|
|
|
47826
47826
|
};
|
|
47827
47827
|
}
|
|
47828
47828
|
});
|
|
47829
|
-
const _hoisted_1$M = { class: "flex h-[
|
|
47830
|
-
const _hoisted_2$m = { class: "lg:p-8
|
|
47831
|
-
const _hoisted_3$j = { class: "lg:w-1/2 lg:pl-8 lg:pr-16
|
|
47829
|
+
const _hoisted_1$M = { class: "flex h-[614px] sm:h-[550px] md:h-[806px] lg:h-[872px] w-full bg-navy-800 relative rounded-3xl lg:rounded-[48px] z-10" };
|
|
47830
|
+
const _hoisted_2$m = { class: "flex-1 lg:p-8 px-4 lg:py-4 flex max-lg:flex-col-reverse relative w-full" };
|
|
47831
|
+
const _hoisted_3$j = { class: "flex-1 lg:w-1/2 lg:pl-8 lg:pr-16 flex flex-col mt-8 sm:mt-14 lg:mt-[218px]" };
|
|
47832
47832
|
const _hoisted_4$j = { class: "gap-2 flex z-10 mb-4" };
|
|
47833
47833
|
const _hoisted_5$i = ["onClick"];
|
|
47834
|
-
const _hoisted_6$i = { class: "
|
|
47835
|
-
const _hoisted_7$h =
|
|
47836
|
-
const _hoisted_8$g =
|
|
47837
|
-
const _hoisted_9$g =
|
|
47834
|
+
const _hoisted_6$i = { class: "text-[30px] lg:text-[48px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]" };
|
|
47835
|
+
const _hoisted_7$h = { class: "max-md:flex-1" };
|
|
47836
|
+
const _hoisted_8$g = ["innerHTML"];
|
|
47837
|
+
const _hoisted_9$g = { class: "flex gap-3 md:mt-8 max-sm:flex-col" };
|
|
47838
47838
|
const _hoisted_10$b = ["href", "target"];
|
|
47839
|
-
const _hoisted_11$a = ["
|
|
47840
|
-
const _hoisted_12$8 =
|
|
47839
|
+
const _hoisted_11$a = ["href", "target"];
|
|
47840
|
+
const _hoisted_12$8 = ["src"];
|
|
47841
|
+
const _hoisted_13$8 = {
|
|
47841
47842
|
key: 1,
|
|
47842
|
-
class: "rounded-
|
|
47843
|
+
class: "rounded-[20px] lg:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover",
|
|
47843
47844
|
src: _imports_0
|
|
47844
47845
|
};
|
|
47845
47846
|
const _sfc_main$s = {
|
|
@@ -47880,11 +47881,13 @@ const _sfc_main$s = {
|
|
|
47880
47881
|
}), 256)) : createCommentVNode("", true)
|
|
47881
47882
|
]),
|
|
47882
47883
|
createElementVNode("h3", _hoisted_6$i, toDisplayString(slide == null ? void 0 : slide.title), 1),
|
|
47883
|
-
createElementVNode("
|
|
47884
|
-
|
|
47885
|
-
|
|
47886
|
-
|
|
47887
|
-
|
|
47884
|
+
createElementVNode("div", _hoisted_7$h, [
|
|
47885
|
+
createElementVNode("p", {
|
|
47886
|
+
class: "lg:text-lg font-normal text-navy-50 overflow-hidden line-clamp-6 sm:line-clamp-3",
|
|
47887
|
+
innerHTML: slide == null ? void 0 : slide.description
|
|
47888
|
+
}, null, 8, _hoisted_8$g)
|
|
47889
|
+
]),
|
|
47890
|
+
createElementVNode("div", _hoisted_9$g, [
|
|
47888
47891
|
slide.secondary_button.show ? (openBlock(), createElementBlock("a", {
|
|
47889
47892
|
key: 0,
|
|
47890
47893
|
class: "text-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-800 hover:opacity-60",
|
|
@@ -47892,7 +47895,7 @@ const _sfc_main$s = {
|
|
|
47892
47895
|
target: slide.secondary_button.open_in_new_tab ? "_blank" : ""
|
|
47893
47896
|
}, [
|
|
47894
47897
|
createElementVNode("span", null, toDisplayString(slide.secondary_button.label), 1)
|
|
47895
|
-
], 8,
|
|
47898
|
+
], 8, _hoisted_10$b)) : createCommentVNode("", true),
|
|
47896
47899
|
slide.primary_button.show ? (openBlock(), createElementBlock("a", {
|
|
47897
47900
|
key: 1,
|
|
47898
47901
|
class: "flex items-center gap-2 text-navy-800 bg-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-50",
|
|
@@ -47901,17 +47904,17 @@ const _sfc_main$s = {
|
|
|
47901
47904
|
}, [
|
|
47902
47905
|
createTextVNode(toDisplayString(slide.primary_button.label) + " ", 1),
|
|
47903
47906
|
createVNode(unref(ArrowUpRight), { class: "w-5 h-5" })
|
|
47904
|
-
], 8,
|
|
47907
|
+
], 8, _hoisted_11$a)) : createCommentVNode("", true)
|
|
47905
47908
|
])
|
|
47906
47909
|
]),
|
|
47907
47910
|
slide.featured_image ? (openBlock(), createElementBlock("img", {
|
|
47908
47911
|
key: 0,
|
|
47909
47912
|
src: slide.featured_image,
|
|
47910
47913
|
alt: "Slide Image",
|
|
47911
|
-
class: "rounded-
|
|
47912
|
-
}, null, 8,
|
|
47913
|
-
_cache[1] || (_cache[1] = createElementVNode("div", { class: "absolute inset-0 lg:hidden z-10 p-4" }, [
|
|
47914
|
-
createElementVNode("div", { class: "bg-black opacity-60 rounded-3xl
|
|
47914
|
+
class: "rounded-[20px] lg:rounded-[48px] h-[200px] sm:h-[240px] md:h-[480px] lg:h-[674px] lg:max-w-[882px] lg:w-1/2 w-full object-cover"
|
|
47915
|
+
}, null, 8, _hoisted_12$8)) : (openBlock(), createElementBlock("img", _hoisted_13$8)),
|
|
47916
|
+
_cache[1] || (_cache[1] = createElementVNode("div", { class: "max-lg:hidden absolute inset-0 lg:hidden z-10 p-4" }, [
|
|
47917
|
+
createElementVNode("div", { class: "bg-black opacity-60 rounded-3xl lg:rounded-[48px] h-full" })
|
|
47915
47918
|
], -1))
|
|
47916
47919
|
])
|
|
47917
47920
|
]),
|
|
@@ -47925,7 +47928,7 @@ const _sfc_main$s = {
|
|
|
47925
47928
|
};
|
|
47926
47929
|
}
|
|
47927
47930
|
};
|
|
47928
|
-
const VSliderPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
47931
|
+
const VSliderPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-29ca6047"]]);
|
|
47929
47932
|
const _hoisted_1$L = ["target", "href"];
|
|
47930
47933
|
const _sfc_main$r = {
|
|
47931
47934
|
__name: "LinkPresenter",
|
|
@@ -47941,19 +47944,19 @@ const _sfc_main$r = {
|
|
|
47941
47944
|
const isLinkGrid = component.value.type === "link_grid";
|
|
47942
47945
|
return (_ctx, _cache) => {
|
|
47943
47946
|
return openBlock(), createElementBlock("div", {
|
|
47944
|
-
class: normalizeClass(["flex flex-wrap justify-center min-h-[136px] w-full relative rounded-b-3xl
|
|
47947
|
+
class: normalizeClass(["flex flex-wrap justify-center lg:min-h-[136px] w-full relative rounded-b-3xl lg:rounded-b-[48px] bg-navy-600 -mt-6 lg:-mt-12 pt-12 sm:pt-10 md:pt-12 max-sm:pb-4 max-lg:pb-6 px-4 gap-8 lg:gap-y-2 lg:gap-x-[60px]", { "bg-transparent !justify-start !mt-0 !h-auto !gap-4 !px-0 max-lg:!pb-0 max-md:!pt-4": isLinkGrid }])
|
|
47945
47948
|
}, [
|
|
47946
47949
|
(openBlock(true), createElementBlock(Fragment, null, renderList(component.value.data, (link) => {
|
|
47947
47950
|
return openBlock(), createElementBlock("div", {
|
|
47948
|
-
class: normalizeClass(["flex justify-center items-center", { "!block": isLinkGrid }])
|
|
47951
|
+
class: normalizeClass(["flex justify-center items-center max-w-full", { "!block": isLinkGrid }])
|
|
47949
47952
|
}, [
|
|
47950
47953
|
createElementVNode("a", {
|
|
47951
47954
|
target: link.open_in_new_tab ? "_blank" : "",
|
|
47952
47955
|
href: link.url.startsWith("http") ? link.url : `//${link.url}`,
|
|
47953
|
-
class: normalizeClass(["text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300
|
|
47956
|
+
class: normalizeClass(["text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300", { "bg-white border border-gray-300 rounded-full !text-gray-700 px-4 py-2 h-auto w-max max-w-full !mt-0 !text-base hover:bg-gray-100": isLinkGrid }])
|
|
47954
47957
|
}, [
|
|
47955
47958
|
createElementVNode("span", null, toDisplayString(link.title), 1),
|
|
47956
|
-
createVNode(unref(ArrowUpRight), { class: "w-5 h-5" })
|
|
47959
|
+
createVNode(unref(ArrowUpRight), { class: "shrink-0 w-5 h-5" })
|
|
47957
47960
|
], 10, _hoisted_1$L)
|
|
47958
47961
|
], 2);
|
|
47959
47962
|
}), 256))
|
|
@@ -48085,7 +48088,7 @@ const _sfc_main$o = {
|
|
|
48085
48088
|
return (_ctx, _cache) => {
|
|
48086
48089
|
var _a, _b, _c, _d;
|
|
48087
48090
|
return openBlock(), createElementBlock("div", {
|
|
48088
|
-
class: normalizeClass(["w-full bg-navy-800 max-md:px-4 py-10 relative
|
|
48091
|
+
class: normalizeClass(["w-full bg-navy-800 max-md:px-4 py-4 md:py-10 relative xl:h-[336px]", { "lg:!h-[266px]": (_a = section.value) == null ? void 0 : _a.as_cta }])
|
|
48089
48092
|
}, [
|
|
48090
48093
|
((_b = section.value) == null ? void 0 : _b.as_cta) ? (openBlock(), createBlock(unref(LeftVector), {
|
|
48091
48094
|
key: 0,
|
|
@@ -48093,7 +48096,7 @@ const _sfc_main$o = {
|
|
|
48093
48096
|
})) : createCommentVNode("", true),
|
|
48094
48097
|
createElementVNode("div", _hoisted_1$H, [
|
|
48095
48098
|
createElementVNode("div", {
|
|
48096
|
-
class: normalizeClass(["
|
|
48099
|
+
class: normalizeClass(["relative z-10", { "text-center flex flex-col items-center": (_c = section.value) == null ? void 0 : _c.as_cta }])
|
|
48097
48100
|
}, [
|
|
48098
48101
|
(openBlock(true), createElementBlock(Fragment, null, renderList(section.value.components, (component, index) => {
|
|
48099
48102
|
var _a2;
|
|
@@ -48109,7 +48112,7 @@ const _sfc_main$o = {
|
|
|
48109
48112
|
]),
|
|
48110
48113
|
!((_d = section.value) == null ? void 0 : _d.as_cta) ? (openBlock(), createBlock(unref(HeaderVector), {
|
|
48111
48114
|
key: 1,
|
|
48112
|
-
class: "absolute right-0 top-0"
|
|
48115
|
+
class: "absolute right-0 top-0 max-xl:h-full"
|
|
48113
48116
|
})) : createCommentVNode("", true)
|
|
48114
48117
|
], 2);
|
|
48115
48118
|
};
|
|
@@ -49041,7 +49044,7 @@ const _sfc_main$e = {
|
|
|
49041
49044
|
}
|
|
49042
49045
|
};
|
|
49043
49046
|
const _hoisted_1$q = { class: "overflow-hidden" };
|
|
49044
|
-
const _hoisted_2$c = { class: "pb-container mt-4
|
|
49047
|
+
const _hoisted_2$c = { class: "pb-container mt-4" };
|
|
49045
49048
|
const _hoisted_3$c = { class: "text-[20px] text-gray-900 font-semibold" };
|
|
49046
49049
|
const _hoisted_4$c = ["innerHTML"];
|
|
49047
49050
|
const _hoisted_5$c = {
|
package/dist/page-builder.umd.js
CHANGED
|
@@ -452,7 +452,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
452
452
|
const _hoisted_10$i = { class: "text-sm text-gray-600" };
|
|
453
453
|
const _hoisted_11$g = ["disabled"];
|
|
454
454
|
const _hoisted_12$d = { class: "flex flex-col gap-3" };
|
|
455
|
-
const _hoisted_13$
|
|
455
|
+
const _hoisted_13$b = ["onClick"];
|
|
456
456
|
const _hoisted_14$9 = ["onClick"];
|
|
457
457
|
const _hoisted_15$7 = { class: "text-xs text-gray-600" };
|
|
458
458
|
const _hoisted_16$5 = { class: "text-sm font-medium text-gray-900" };
|
|
@@ -552,7 +552,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
552
552
|
"enable-edit": true,
|
|
553
553
|
onEditItem: ($event) => edit(item, index)
|
|
554
554
|
}, null, 8, ["onRemoveItem", "onEditItem"])
|
|
555
|
-
], 8, _hoisted_13$
|
|
555
|
+
], 8, _hoisted_13$b)
|
|
556
556
|
], 2);
|
|
557
557
|
}), 256))
|
|
558
558
|
])
|
|
@@ -45231,7 +45231,7 @@ ${escapeText(this.code(index, length))}
|
|
|
45231
45231
|
key: 0,
|
|
45232
45232
|
class: "flex gap-4"
|
|
45233
45233
|
};
|
|
45234
|
-
const _hoisted_13$
|
|
45234
|
+
const _hoisted_13$a = { class: "flex items-center gap-2 cursor-pointer" };
|
|
45235
45235
|
const _hoisted_14$8 = ["name", "value", "onUpdate:modelValue", "onChange"];
|
|
45236
45236
|
const _hoisted_15$6 = {
|
|
45237
45237
|
key: 1,
|
|
@@ -45369,7 +45369,7 @@ ${escapeText(this.code(index, length))}
|
|
|
45369
45369
|
vue.createElementVNode("div", _hoisted_11$e, [
|
|
45370
45370
|
!((_a2 = componentData.value) == null ? void 0 : _a2.hasOwnProperty("has_type_switcher")) || ((_b = componentData.value) == null ? void 0 : _b.has_type_switcher) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$b, [
|
|
45371
45371
|
(vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(options, (option) => {
|
|
45372
|
-
return vue.createElementVNode("label", _hoisted_13$
|
|
45372
|
+
return vue.createElementVNode("label", _hoisted_13$a, [
|
|
45373
45373
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
45374
45374
|
name: `content_type${index}`,
|
|
45375
45375
|
type: "radio",
|
|
@@ -46168,7 +46168,7 @@ ${escapeText(this.code(index, length))}
|
|
|
46168
46168
|
const _hoisted_10$c = ["onClick"];
|
|
46169
46169
|
const _hoisted_11$b = { class: "flex flex-col" };
|
|
46170
46170
|
const _hoisted_12$9 = { class: "text-sm font-medium text-gray-900" };
|
|
46171
|
-
const _hoisted_13$
|
|
46171
|
+
const _hoisted_13$9 = { class: "flex items-center justify-between gap-3 px-[10px]" };
|
|
46172
46172
|
const _hoisted_14$7 = { class: "flex h-full flex-1 flex-col mb-20" };
|
|
46173
46173
|
const _hoisted_15$5 = {
|
|
46174
46174
|
key: 0,
|
|
@@ -46305,7 +46305,7 @@ ${escapeText(this.code(index, length))}
|
|
|
46305
46305
|
_cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "text-xs text-gray-600" }, "Sub-module", -1)),
|
|
46306
46306
|
vue.createElementVNode("div", _hoisted_12$9, vue.toDisplayString(component.name), 1)
|
|
46307
46307
|
]),
|
|
46308
|
-
vue.createElementVNode("div", _hoisted_13$
|
|
46308
|
+
vue.createElementVNode("div", _hoisted_13$9, [
|
|
46309
46309
|
vue.createVNode(vue.unref(ChevronRight), { class: "h-5 w-5" })
|
|
46310
46310
|
])
|
|
46311
46311
|
], 10, _hoisted_10$c);
|
|
@@ -47829,20 +47829,21 @@ ${escapeText(this.code(index, length))}
|
|
|
47829
47829
|
};
|
|
47830
47830
|
}
|
|
47831
47831
|
});
|
|
47832
|
-
const _hoisted_1$M = { class: "flex h-[
|
|
47833
|
-
const _hoisted_2$m = { class: "lg:p-8
|
|
47834
|
-
const _hoisted_3$j = { class: "lg:w-1/2 lg:pl-8 lg:pr-16
|
|
47832
|
+
const _hoisted_1$M = { class: "flex h-[614px] sm:h-[550px] md:h-[806px] lg:h-[872px] w-full bg-navy-800 relative rounded-3xl lg:rounded-[48px] z-10" };
|
|
47833
|
+
const _hoisted_2$m = { class: "flex-1 lg:p-8 px-4 lg:py-4 flex max-lg:flex-col-reverse relative w-full" };
|
|
47834
|
+
const _hoisted_3$j = { class: "flex-1 lg:w-1/2 lg:pl-8 lg:pr-16 flex flex-col mt-8 sm:mt-14 lg:mt-[218px]" };
|
|
47835
47835
|
const _hoisted_4$j = { class: "gap-2 flex z-10 mb-4" };
|
|
47836
47836
|
const _hoisted_5$i = ["onClick"];
|
|
47837
|
-
const _hoisted_6$i = { class: "
|
|
47838
|
-
const _hoisted_7$h =
|
|
47839
|
-
const _hoisted_8$g =
|
|
47840
|
-
const _hoisted_9$g =
|
|
47837
|
+
const _hoisted_6$i = { class: "text-[30px] lg:text-[48px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]" };
|
|
47838
|
+
const _hoisted_7$h = { class: "max-md:flex-1" };
|
|
47839
|
+
const _hoisted_8$g = ["innerHTML"];
|
|
47840
|
+
const _hoisted_9$g = { class: "flex gap-3 md:mt-8 max-sm:flex-col" };
|
|
47841
47841
|
const _hoisted_10$b = ["href", "target"];
|
|
47842
|
-
const _hoisted_11$a = ["
|
|
47843
|
-
const _hoisted_12$8 =
|
|
47842
|
+
const _hoisted_11$a = ["href", "target"];
|
|
47843
|
+
const _hoisted_12$8 = ["src"];
|
|
47844
|
+
const _hoisted_13$8 = {
|
|
47844
47845
|
key: 1,
|
|
47845
|
-
class: "rounded-
|
|
47846
|
+
class: "rounded-[20px] lg:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover",
|
|
47846
47847
|
src: _imports_0
|
|
47847
47848
|
};
|
|
47848
47849
|
const _sfc_main$s = {
|
|
@@ -47883,11 +47884,13 @@ ${escapeText(this.code(index, length))}
|
|
|
47883
47884
|
}), 256)) : vue.createCommentVNode("", true)
|
|
47884
47885
|
]),
|
|
47885
47886
|
vue.createElementVNode("h3", _hoisted_6$i, vue.toDisplayString(slide == null ? void 0 : slide.title), 1),
|
|
47886
|
-
vue.createElementVNode("
|
|
47887
|
-
|
|
47888
|
-
|
|
47889
|
-
|
|
47890
|
-
|
|
47887
|
+
vue.createElementVNode("div", _hoisted_7$h, [
|
|
47888
|
+
vue.createElementVNode("p", {
|
|
47889
|
+
class: "lg:text-lg font-normal text-navy-50 overflow-hidden line-clamp-6 sm:line-clamp-3",
|
|
47890
|
+
innerHTML: slide == null ? void 0 : slide.description
|
|
47891
|
+
}, null, 8, _hoisted_8$g)
|
|
47892
|
+
]),
|
|
47893
|
+
vue.createElementVNode("div", _hoisted_9$g, [
|
|
47891
47894
|
slide.secondary_button.show ? (vue.openBlock(), vue.createElementBlock("a", {
|
|
47892
47895
|
key: 0,
|
|
47893
47896
|
class: "text-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-800 hover:opacity-60",
|
|
@@ -47895,7 +47898,7 @@ ${escapeText(this.code(index, length))}
|
|
|
47895
47898
|
target: slide.secondary_button.open_in_new_tab ? "_blank" : ""
|
|
47896
47899
|
}, [
|
|
47897
47900
|
vue.createElementVNode("span", null, vue.toDisplayString(slide.secondary_button.label), 1)
|
|
47898
|
-
], 8,
|
|
47901
|
+
], 8, _hoisted_10$b)) : vue.createCommentVNode("", true),
|
|
47899
47902
|
slide.primary_button.show ? (vue.openBlock(), vue.createElementBlock("a", {
|
|
47900
47903
|
key: 1,
|
|
47901
47904
|
class: "flex items-center gap-2 text-navy-800 bg-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-50",
|
|
@@ -47904,17 +47907,17 @@ ${escapeText(this.code(index, length))}
|
|
|
47904
47907
|
}, [
|
|
47905
47908
|
vue.createTextVNode(vue.toDisplayString(slide.primary_button.label) + " ", 1),
|
|
47906
47909
|
vue.createVNode(vue.unref(ArrowUpRight), { class: "w-5 h-5" })
|
|
47907
|
-
], 8,
|
|
47910
|
+
], 8, _hoisted_11$a)) : vue.createCommentVNode("", true)
|
|
47908
47911
|
])
|
|
47909
47912
|
]),
|
|
47910
47913
|
slide.featured_image ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
47911
47914
|
key: 0,
|
|
47912
47915
|
src: slide.featured_image,
|
|
47913
47916
|
alt: "Slide Image",
|
|
47914
|
-
class: "rounded-
|
|
47915
|
-
}, null, 8,
|
|
47916
|
-
_cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "absolute inset-0 lg:hidden z-10 p-4" }, [
|
|
47917
|
-
vue.createElementVNode("div", { class: "bg-black opacity-60 rounded-3xl
|
|
47917
|
+
class: "rounded-[20px] lg:rounded-[48px] h-[200px] sm:h-[240px] md:h-[480px] lg:h-[674px] lg:max-w-[882px] lg:w-1/2 w-full object-cover"
|
|
47918
|
+
}, null, 8, _hoisted_12$8)) : (vue.openBlock(), vue.createElementBlock("img", _hoisted_13$8)),
|
|
47919
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "max-lg:hidden absolute inset-0 lg:hidden z-10 p-4" }, [
|
|
47920
|
+
vue.createElementVNode("div", { class: "bg-black opacity-60 rounded-3xl lg:rounded-[48px] h-full" })
|
|
47918
47921
|
], -1))
|
|
47919
47922
|
])
|
|
47920
47923
|
]),
|
|
@@ -47928,7 +47931,7 @@ ${escapeText(this.code(index, length))}
|
|
|
47928
47931
|
};
|
|
47929
47932
|
}
|
|
47930
47933
|
};
|
|
47931
|
-
const VSliderPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
47934
|
+
const VSliderPresenter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-29ca6047"]]);
|
|
47932
47935
|
const _hoisted_1$L = ["target", "href"];
|
|
47933
47936
|
const _sfc_main$r = {
|
|
47934
47937
|
__name: "LinkPresenter",
|
|
@@ -47944,19 +47947,19 @@ ${escapeText(this.code(index, length))}
|
|
|
47944
47947
|
const isLinkGrid = component.value.type === "link_grid";
|
|
47945
47948
|
return (_ctx, _cache) => {
|
|
47946
47949
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
47947
|
-
class: vue.normalizeClass(["flex flex-wrap justify-center min-h-[136px] w-full relative rounded-b-3xl
|
|
47950
|
+
class: vue.normalizeClass(["flex flex-wrap justify-center lg:min-h-[136px] w-full relative rounded-b-3xl lg:rounded-b-[48px] bg-navy-600 -mt-6 lg:-mt-12 pt-12 sm:pt-10 md:pt-12 max-sm:pb-4 max-lg:pb-6 px-4 gap-8 lg:gap-y-2 lg:gap-x-[60px]", { "bg-transparent !justify-start !mt-0 !h-auto !gap-4 !px-0 max-lg:!pb-0 max-md:!pt-4": isLinkGrid }])
|
|
47948
47951
|
}, [
|
|
47949
47952
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(component.value.data, (link) => {
|
|
47950
47953
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
47951
|
-
class: vue.normalizeClass(["flex justify-center items-center", { "!block": isLinkGrid }])
|
|
47954
|
+
class: vue.normalizeClass(["flex justify-center items-center max-w-full", { "!block": isLinkGrid }])
|
|
47952
47955
|
}, [
|
|
47953
47956
|
vue.createElementVNode("a", {
|
|
47954
47957
|
target: link.open_in_new_tab ? "_blank" : "",
|
|
47955
47958
|
href: link.url.startsWith("http") ? link.url : `//${link.url}`,
|
|
47956
|
-
class: vue.normalizeClass(["text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300
|
|
47959
|
+
class: vue.normalizeClass(["text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300", { "bg-white border border-gray-300 rounded-full !text-gray-700 px-4 py-2 h-auto w-max max-w-full !mt-0 !text-base hover:bg-gray-100": isLinkGrid }])
|
|
47957
47960
|
}, [
|
|
47958
47961
|
vue.createElementVNode("span", null, vue.toDisplayString(link.title), 1),
|
|
47959
|
-
vue.createVNode(vue.unref(ArrowUpRight), { class: "w-5 h-5" })
|
|
47962
|
+
vue.createVNode(vue.unref(ArrowUpRight), { class: "shrink-0 w-5 h-5" })
|
|
47960
47963
|
], 10, _hoisted_1$L)
|
|
47961
47964
|
], 2);
|
|
47962
47965
|
}), 256))
|
|
@@ -48088,7 +48091,7 @@ ${escapeText(this.code(index, length))}
|
|
|
48088
48091
|
return (_ctx, _cache) => {
|
|
48089
48092
|
var _a, _b, _c, _d;
|
|
48090
48093
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
48091
|
-
class: vue.normalizeClass(["w-full bg-navy-800 max-md:px-4 py-10 relative
|
|
48094
|
+
class: vue.normalizeClass(["w-full bg-navy-800 max-md:px-4 py-4 md:py-10 relative xl:h-[336px]", { "lg:!h-[266px]": (_a = section.value) == null ? void 0 : _a.as_cta }])
|
|
48092
48095
|
}, [
|
|
48093
48096
|
((_b = section.value) == null ? void 0 : _b.as_cta) ? (vue.openBlock(), vue.createBlock(vue.unref(LeftVector), {
|
|
48094
48097
|
key: 0,
|
|
@@ -48096,7 +48099,7 @@ ${escapeText(this.code(index, length))}
|
|
|
48096
48099
|
})) : vue.createCommentVNode("", true),
|
|
48097
48100
|
vue.createElementVNode("div", _hoisted_1$H, [
|
|
48098
48101
|
vue.createElementVNode("div", {
|
|
48099
|
-
class: vue.normalizeClass(["
|
|
48102
|
+
class: vue.normalizeClass(["relative z-10", { "text-center flex flex-col items-center": (_c = section.value) == null ? void 0 : _c.as_cta }])
|
|
48100
48103
|
}, [
|
|
48101
48104
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(section.value.components, (component, index) => {
|
|
48102
48105
|
var _a2;
|
|
@@ -48112,7 +48115,7 @@ ${escapeText(this.code(index, length))}
|
|
|
48112
48115
|
]),
|
|
48113
48116
|
!((_d = section.value) == null ? void 0 : _d.as_cta) ? (vue.openBlock(), vue.createBlock(vue.unref(HeaderVector), {
|
|
48114
48117
|
key: 1,
|
|
48115
|
-
class: "absolute right-0 top-0"
|
|
48118
|
+
class: "absolute right-0 top-0 max-xl:h-full"
|
|
48116
48119
|
})) : vue.createCommentVNode("", true)
|
|
48117
48120
|
], 2);
|
|
48118
48121
|
};
|
|
@@ -49044,7 +49047,7 @@ ${escapeText(this.code(index, length))}
|
|
|
49044
49047
|
}
|
|
49045
49048
|
};
|
|
49046
49049
|
const _hoisted_1$q = { class: "overflow-hidden" };
|
|
49047
|
-
const _hoisted_2$c = { class: "pb-container mt-4
|
|
49050
|
+
const _hoisted_2$c = { class: "pb-container mt-4" };
|
|
49048
49051
|
const _hoisted_3$c = { class: "text-[20px] text-gray-900 font-semibold" };
|
|
49049
49052
|
const _hoisted_4$c = ["innerHTML"];
|
|
49050
49053
|
const _hoisted_5$c = {
|
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="flex flex-wrap justify-center min-h-[136px] w-full relative rounded-b-3xl
|
|
3
|
-
|
|
2
|
+
<div class="flex flex-wrap justify-center lg:min-h-[136px] w-full relative rounded-b-3xl lg:rounded-b-[48px] bg-navy-600
|
|
3
|
+
-mt-6 lg:-mt-12 pt-12 sm:pt-10 md:pt-12 max-sm:pb-4 max-lg:pb-6 px-4 gap-8 lg:gap-y-2 lg:gap-x-[60px]"
|
|
4
|
+
:class="{'bg-transparent !justify-start !mt-0 !h-auto !gap-4 !px-0 max-lg:!pb-0 max-md:!pt-4': isLinkGrid}"
|
|
5
|
+
>
|
|
6
|
+
<div class="flex justify-center items-center max-w-full" :class="{'!block': isLinkGrid}" v-for="link in component.data">
|
|
4
7
|
<a
|
|
5
8
|
:target="link.open_in_new_tab ? '_blank' : ''"
|
|
6
9
|
:href="link.url.startsWith('http') ? link.url : `//${link.url}`"
|
|
7
|
-
class="text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300
|
|
8
|
-
:class="{'bg-white border border-gray-300 rounded-full !text-gray-700 px-4 h-
|
|
10
|
+
class="text-white flex gap-1.5 items-center cursor-pointer text-sm font-semibold hover:text-gray-300"
|
|
11
|
+
:class="{'bg-white border border-gray-300 rounded-full !text-gray-700 px-4 py-2 h-auto w-max max-w-full !mt-0 !text-base hover:bg-gray-100': isLinkGrid}"
|
|
9
12
|
>
|
|
10
|
-
<span>{{ link.title }}</span><ArrowUpRight class="w-5 h-5"></ArrowUpRight>
|
|
13
|
+
<span>{{ link.title }}</span><ArrowUpRight class="shrink-0 w-5 h-5"></ArrowUpRight>
|
|
11
14
|
</a>
|
|
12
15
|
</div>
|
|
13
16
|
</div>
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="flex h-[
|
|
2
|
+
<div class="flex h-[614px] sm:h-[550px] md:h-[806px] lg:h-[872px] w-full bg-navy-800 relative rounded-3xl lg:rounded-[48px] z-10">
|
|
3
3
|
<Carousel :items-to-show="1" v-model="currentSlide" :autoplay="5000" class="carousel w-full" :wrap-around="true">
|
|
4
4
|
<Slide v-for="(slide, index) in slides" :key="index">
|
|
5
|
-
<div class="lg:p-8
|
|
6
|
-
<div class="lg:w-1/2 lg:pl-8 lg:pr-16
|
|
5
|
+
<div class="flex-1 lg:p-8 px-4 lg:py-4 flex max-lg:flex-col-reverse relative w-full">
|
|
6
|
+
<div class="flex-1 lg:w-1/2 lg:pl-8 lg:pr-16 flex flex-col mt-8 sm:mt-14 lg:mt-[218px]">
|
|
7
7
|
<div class="gap-2 flex z-10 mb-4">
|
|
8
8
|
<a v-if="slides.length > 1"
|
|
9
9
|
v-for="(slide, index) in slides"
|
|
10
10
|
@click="currentSlide = index" class="w-4 h-1 bg-navy-400 rounded-full cursor-pointer" :class="{'!w-12 !bg-white' : currentSlide === index}"
|
|
11
11
|
></a>
|
|
12
12
|
</div>
|
|
13
|
-
<h3 class="
|
|
14
|
-
<
|
|
15
|
-
|
|
13
|
+
<h3 class="text-[30px] lg:text-[48px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]">{{ slide?.title }}</h3>
|
|
14
|
+
<div class="max-md:flex-1">
|
|
15
|
+
<p class="lg:text-lg font-normal text-navy-50 overflow-hidden line-clamp-6 sm:line-clamp-3" v-html="slide?.description"></p>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="flex gap-3 md:mt-8 max-sm:flex-col">
|
|
16
18
|
<a class="text-white text-base font-semibold border border-white px-6 py-2 rounded-full hover:bg-navy-800 hover:opacity-60"
|
|
17
19
|
:href="formatUrl(slide.secondary_button.url)"
|
|
18
20
|
v-if="slide.secondary_button.show"
|
|
@@ -32,9 +34,9 @@
|
|
|
32
34
|
v-if="slide.featured_image"
|
|
33
35
|
:src="slide.featured_image"
|
|
34
36
|
alt="Slide Image"
|
|
35
|
-
class="rounded-
|
|
36
|
-
<img v-else class="rounded-
|
|
37
|
-
<div class="absolute inset-0 lg:hidden z-10 p-4"><div class="bg-black opacity-60 rounded-3xl
|
|
37
|
+
class="rounded-[20px] lg:rounded-[48px] h-[200px] sm:h-[240px] md:h-[480px] lg:h-[674px] lg:max-w-[882px] lg:w-1/2 w-full object-cover"/>
|
|
38
|
+
<img v-else class="rounded-[20px] lg:rounded-[48px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover" src="@/assets/img/no_image_available.jpeg">
|
|
39
|
+
<div class="max-lg:hidden absolute inset-0 lg:hidden z-10 p-4"><div class="bg-black opacity-60 rounded-3xl lg:rounded-[48px] h-full"></div></div>
|
|
38
40
|
</div>
|
|
39
41
|
</Slide>
|
|
40
42
|
</Carousel>
|
|
@@ -63,5 +65,10 @@ const slides = componentData.value.data.filter((o) => o.public);
|
|
|
63
65
|
<style scoped>
|
|
64
66
|
.carousel {
|
|
65
67
|
margin: 1rem 0;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:deep(.carousel__slide) {
|
|
72
|
+
@apply max-lg:flex-col;
|
|
66
73
|
}
|
|
67
74
|
</style>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="w-full bg-navy-800 max-md:px-4 py-10 relative
|
|
2
|
+
<div class="w-full bg-navy-800 max-md:px-4 py-4 md:py-10 relative xl:h-[336px]" :class="{'lg:!h-[266px]' : section?.as_cta}">
|
|
3
3
|
<LeftVector class="absolute left-0 top-0 h-full max-w-full" v-if="section?.as_cta"></LeftVector>
|
|
4
4
|
<div class="max-w-[1640px] md:px-[120px] mx-auto w-full">
|
|
5
|
-
<div class="
|
|
5
|
+
<div class="relative z-10" :class="{'text-center flex flex-col items-center': section?.as_cta}">
|
|
6
6
|
<div v-for="(component, index) in section.components" class="w-full md:w-3/4">
|
|
7
7
|
<component
|
|
8
8
|
:is="currentComponent(component)"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
</div>
|
|
16
|
-
<HeaderVector class="absolute right-0 top-0" v-if="!section?.as_cta"></HeaderVector>
|
|
16
|
+
<HeaderVector class="absolute right-0 top-0 max-xl:h-full" v-if="!section?.as_cta"></HeaderVector>
|
|
17
17
|
</div>
|
|
18
18
|
</template>
|
|
19
19
|
|