@myissue/vue-website-page-builder 3.3.73 → 3.3.75
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/{ar-Sg258Eh1.js → ar-CCqXqp3s.js} +0 -1
- package/dist/{en-B__-m2Os.js → en-DzWxts11.js} +41 -43
- package/dist/{pt-D19DpjTw.js → pt-5fYEJgIl.js} +3 -3
- package/dist/vue-website-page-builder.js +2612 -2612
- package/dist/vue-website-page-builder.umd.cjs +53 -53
- package/package.json +1 -1
- package/src/PageBuilder/PageBuilder.vue +7 -3
- package/src/locales/ar.json +0 -1
- package/src/locales/en.json +0 -8
- package/src/locales/pt.json +0 -6
- package/src/tests/PageBuilderTest.vue +3 -4
package/package.json
CHANGED
|
@@ -108,11 +108,14 @@ const getMenuRight = computed(() => {
|
|
|
108
108
|
return pageBuilderStateStore.getMenuRight
|
|
109
109
|
})
|
|
110
110
|
const openPageBuilderPreviewModal = ref(false)
|
|
111
|
+
const titleBuilderDesktop = ref('')
|
|
112
|
+
const titleBuilderMobile = ref('')
|
|
111
113
|
|
|
112
114
|
const previewCurrentDesign = function () {
|
|
113
115
|
pageBuilderService.previewCurrentDesign()
|
|
114
116
|
}
|
|
115
117
|
const handlePageBuilderPreview = function () {
|
|
118
|
+
titleBuilderDesktop.value = translate('Preview')
|
|
116
119
|
previewCurrentDesign()
|
|
117
120
|
openPageBuilderPreviewModal.value = true
|
|
118
121
|
}
|
|
@@ -123,6 +126,7 @@ const previewCurrentDesignMobile = function () {
|
|
|
123
126
|
pageBuilderService.previewCurrentDesign()
|
|
124
127
|
}
|
|
125
128
|
const handlePageBuilderPreviewMobile = function () {
|
|
129
|
+
titleBuilderMobile.value = translate('Mobile')
|
|
126
130
|
previewCurrentDesignMobile()
|
|
127
131
|
openPageBuilderPreviewMobile.value = true
|
|
128
132
|
}
|
|
@@ -429,7 +433,7 @@ onMounted(async () => {
|
|
|
429
433
|
|
|
430
434
|
<template>
|
|
431
435
|
<div
|
|
432
|
-
class="pbx-font-sans pbx-max-w-full pbx-border-solid pbx-border pbx-border-gray-400 pbx-inset-x-0 pbx-z-10 pbx-bg-white pbx-overflow-x-auto pbx-h-full"
|
|
436
|
+
class="pbx-font-sans pbx-text-black pbx-max-w-full pbx-border-solid pbx-border pbx-border-gray-400 pbx-inset-x-0 pbx-z-10 pbx-bg-white pbx-overflow-x-auto pbx-h-full"
|
|
433
437
|
>
|
|
434
438
|
<GlobalLoader
|
|
435
439
|
v-if="(getIsLoadingGlobal && !openAppNotStartedModal) || isLoadingLang"
|
|
@@ -457,7 +461,7 @@ onMounted(async () => {
|
|
|
457
461
|
></BuilderComponents>
|
|
458
462
|
|
|
459
463
|
<ModalBuilder
|
|
460
|
-
title="
|
|
464
|
+
:title="titleBuilderDesktop"
|
|
461
465
|
:showModalBuilder="openPageBuilderPreviewModal"
|
|
462
466
|
@closeMainModalBuilder="firstPageBuilderPreviewModalButton"
|
|
463
467
|
maxWidth="screen"
|
|
@@ -466,7 +470,7 @@ onMounted(async () => {
|
|
|
466
470
|
</ModalBuilder>
|
|
467
471
|
|
|
468
472
|
<ModalBuilder
|
|
469
|
-
title="
|
|
473
|
+
:title="titleBuilderMobile"
|
|
470
474
|
:showModalBuilder="openPageBuilderPreviewMobile"
|
|
471
475
|
@closeMainModalBuilder="firstPageBuilderPreviewModalButtonMobile"
|
|
472
476
|
maxWidth="lg"
|
package/src/locales/ar.json
CHANGED
package/src/locales/en.json
CHANGED
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"avatar": "avatar",
|
|
17
17
|
"Publish": "Publish",
|
|
18
18
|
"Add Components to Page": "Add Components to Page",
|
|
19
|
-
"Close": "Close",
|
|
20
19
|
"Helper Components": "Helper Components",
|
|
21
20
|
"Click to add": "Click to add",
|
|
22
21
|
"component": "component",
|
|
@@ -25,11 +24,6 @@
|
|
|
25
24
|
"Remove all Components": "Remove all Components",
|
|
26
25
|
"Are you sure you want to remove all Components?": "Are you sure you want to remove all Components?",
|
|
27
26
|
"Styles": "Styles",
|
|
28
|
-
"Apply styles that affect the entire page. These settings include global font family, text color, background color, and other universal styles that apply to all sections.": "Apply styles that affect the entire page. These settings include global font family, text color, background color, and other universal styles that apply to all sections.",
|
|
29
|
-
"Update Page Styles": "Update Page Styles",
|
|
30
|
-
"Download HTML": "Download HTML",
|
|
31
|
-
"Export the entire page as a standalone HTML file. This includes all sections, content, and applied styles, making it ready for use or integration elsewhere.": "Export the entire page as a standalone HTML file. This includes all sections, content, and applied styles, making it ready for use or integration elsewhere.",
|
|
32
|
-
"Download HTML file": "Download HTML file",
|
|
33
27
|
"Typographies": "Typographies",
|
|
34
28
|
"Font Appearance": "Font Appearance",
|
|
35
29
|
"Font Size": "Font Size",
|
|
@@ -73,7 +67,6 @@
|
|
|
73
67
|
"value": "value",
|
|
74
68
|
"close": "close",
|
|
75
69
|
"Editing": "Editing",
|
|
76
|
-
"Global Page Styles": "Global Page Styles",
|
|
77
70
|
"Apply styles that affect the entire page. These settings include global font family, text color, background color, and other universal styles that apply to all sections.": "Apply styles that affect the entire page. These settings include global font family, text color, background color, and other universal styles that apply to all sections.",
|
|
78
71
|
"Update Page Styles": "Update Page Styles",
|
|
79
72
|
"Download HTML": "Download HTML",
|
|
@@ -81,7 +74,6 @@
|
|
|
81
74
|
"Download HTML file": "Download HTML file",
|
|
82
75
|
"Loading...": "Loading...",
|
|
83
76
|
"Background Color": "Background Color",
|
|
84
|
-
"Transparent": "Transparent",
|
|
85
77
|
"Text Color": "Text Color",
|
|
86
78
|
"Default black": "Default black",
|
|
87
79
|
"Remove Component?": "Remove Component?",
|
package/src/locales/pt.json
CHANGED
|
@@ -73,12 +73,6 @@
|
|
|
73
73
|
"value": "valor",
|
|
74
74
|
"close": "fechar",
|
|
75
75
|
"Editing": "Editando",
|
|
76
|
-
"Global Page Styles": "Estilos Globais da Página",
|
|
77
|
-
"Apply styles that affect the entire page. These settings include global font family, text color, background color, and other universal styles that apply to all sections.": "Aplique estilos que afetam toda a página. Essas configurações incluem família de fontes globais, cor do texto, cor de fundo e outros estilos universais que se aplicam a todas as seções.",
|
|
78
|
-
"Update Page Styles": "Atualizar Estilos da Página",
|
|
79
|
-
"Download HTML": "Baixar HTML",
|
|
80
|
-
"Export the entire page as a standalone HTML file. This includes all sections, content, and applied styles, making it ready for use or integration elsewhere.": "Exporte toda a página como um arquivo HTML independente. Isso inclui todas as seções, conteúdo e estilos aplicados, tornando-o pronto para uso ou integração em outro lugar.",
|
|
81
|
-
"Download HTML file": "Baixar arquivo HTML",
|
|
82
76
|
"Loading...": "Carregando...",
|
|
83
77
|
"Background Color": "Cor de fundo",
|
|
84
78
|
"Text Color": "Cor do texto",
|
|
@@ -41,7 +41,7 @@ const configPageBuilder = {
|
|
|
41
41
|
userSettings: {
|
|
42
42
|
theme: 'light',
|
|
43
43
|
language: {
|
|
44
|
-
default: '
|
|
44
|
+
default: 'en',
|
|
45
45
|
enable: ['en', 'zh-Hans', 'fr', 'ja', 'ru', 'es', 'pt', 'de', 'ar', 'hi'],
|
|
46
46
|
disableLanguageDropDown: false,
|
|
47
47
|
},
|
|
@@ -55,9 +55,8 @@ const configPageBuilder = {
|
|
|
55
55
|
} as const
|
|
56
56
|
|
|
57
57
|
onMounted(async () => {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
console.log('Page Builder inspect the result for message, status, or error::', result)
|
|
58
|
+
const result = await pageBuilderService.startBuilder(configPageBuilder, components)
|
|
59
|
+
console.log('Page Builder result for message, status, or error::', result)
|
|
61
60
|
})
|
|
62
61
|
</script>
|
|
63
62
|
|