@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myissue/vue-website-page-builder",
3
- "version": "3.3.73",
3
+ "version": "3.3.75",
4
4
  "description": "Vue 3 page builder component with drag & drop functionality.",
5
5
  "type": "module",
6
6
  "main": "./dist/vue-website-page-builder.umd.cjs",
@@ -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="{{ translate('Preview') }}"
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="{{ translate('Mobile') }}"
473
+ :title="titleBuilderMobile"
470
474
  :showModalBuilder="openPageBuilderPreviewMobile"
471
475
  @closeMainModalBuilder="firstPageBuilderPreviewModalButtonMobile"
472
476
  maxWidth="lg"
@@ -34,7 +34,6 @@
34
34
  "Font Appearance": "مظهر الخط",
35
35
  "Font Size": "حجم الخط",
36
36
  "Select": "اختر",
37
- "Font size": "حجم الخط",
38
37
  "Font tablet size": "حجم الخط للجهاز اللوحي",
39
38
  "Font small screens": "حجم الخط للشاشات الصغيرة",
40
39
  "Font weight": "وزن الخط",
@@ -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?",
@@ -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: 'zh-Hans',
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
- // const result = await pageBuilderService.startBuilder(configPageBuilder, components)
59
- const result = await pageBuilderService.startBuilder(configPageBuilder)
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