@myissue/vue-website-page-builder 3.4.20 → 3.4.22

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.
Files changed (89) hide show
  1. package/README.md +22 -24
  2. package/dist/vue-website-page-builder.js +1 -1
  3. package/dist/vue-website-page-builder.umd.cjs +1 -1
  4. package/package.json +2 -3
  5. package/src/App.vue +0 -28
  6. package/src/Components/Homepage/Footer.vue +0 -32
  7. package/src/Components/Homepage/Navbar.vue +0 -25
  8. package/src/Components/Layouts/FullWidthElement.vue +0 -34
  9. package/src/Components/Loaders/GlobalLoader.vue +0 -18
  10. package/src/Components/Modals/BuilderComponents.vue +0 -53
  11. package/src/Components/Modals/DynamicModalBuilder.vue +0 -209
  12. package/src/Components/Modals/MediaLibraryModal.vue +0 -61
  13. package/src/Components/Modals/ModalBuilder.vue +0 -117
  14. package/src/Components/PageBuilder/EditorMenu/Editables/BackgroundColorEditor.vue +0 -121
  15. package/src/Components/PageBuilder/EditorMenu/Editables/BorderRadius.vue +0 -188
  16. package/src/Components/PageBuilder/EditorMenu/Editables/Borders.vue +0 -176
  17. package/src/Components/PageBuilder/EditorMenu/Editables/ClassEditor.vue +0 -112
  18. package/src/Components/PageBuilder/EditorMenu/Editables/ComponentTopMenu.vue +0 -108
  19. package/src/Components/PageBuilder/EditorMenu/Editables/EditGetElement.vue +0 -541
  20. package/src/Components/PageBuilder/EditorMenu/Editables/HTMLEditor.vue +0 -203
  21. package/src/Components/PageBuilder/EditorMenu/Editables/ImageEditor.vue +0 -96
  22. package/src/Components/PageBuilder/EditorMenu/Editables/LinkEditor.vue +0 -315
  23. package/src/Components/PageBuilder/EditorMenu/Editables/ManageBackgroundOpacity.vue +0 -107
  24. package/src/Components/PageBuilder/EditorMenu/Editables/ManageOpacity.vue +0 -106
  25. package/src/Components/PageBuilder/EditorMenu/Editables/Margin.vue +0 -116
  26. package/src/Components/PageBuilder/EditorMenu/Editables/OpacityEditor.vue +0 -19
  27. package/src/Components/PageBuilder/EditorMenu/Editables/Padding.vue +0 -117
  28. package/src/Components/PageBuilder/EditorMenu/Editables/StyleEditor.vue +0 -123
  29. package/src/Components/PageBuilder/EditorMenu/Editables/TextColorEditor.vue +0 -123
  30. package/src/Components/PageBuilder/EditorMenu/Editables/Typography.vue +0 -237
  31. package/src/Components/PageBuilder/EditorMenu/EditorAccordion.vue +0 -46
  32. package/src/Components/PageBuilder/EditorMenu/RightSidebarEditor.vue +0 -368
  33. package/src/Components/PageBuilder/Settings/AdvancedPageBuilderSettings.vue +0 -476
  34. package/src/Components/PageBuilder/Settings/PageBuilderSettings.vue +0 -581
  35. package/src/Components/PageBuilder/ToolbarOption/ToolbarOption.vue +0 -248
  36. package/src/Components/PageBuilder/UndoRedo/UndoRedo.vue +0 -90
  37. package/src/Components/TipTap/TipTap.vue +0 -25
  38. package/src/Components/TipTap/TipTapInput.vue +0 -341
  39. package/src/PageBuilder/PageBuilder.vue +0 -1025
  40. package/src/PageBuilder/Preview.vue +0 -64
  41. package/src/composables/builderInstance.ts +0 -47
  42. package/src/composables/delay.ts +0 -5
  43. package/src/composables/extractCleanHTMLFromPageBuilder.ts +0 -59
  44. package/src/composables/preloadImage.ts +0 -8
  45. package/src/composables/useDebounce.ts +0 -8
  46. package/src/composables/usePageBuilderModal.ts +0 -25
  47. package/src/composables/useTranslations.ts +0 -28
  48. package/src/css/dev-global.css +0 -24
  49. package/src/css/style.css +0 -600
  50. package/src/helpers/isEmptyObject.ts +0 -5
  51. package/src/index.ts +0 -28
  52. package/src/locales/ar.json +0 -170
  53. package/src/locales/de.json +0 -171
  54. package/src/locales/en.json +0 -171
  55. package/src/locales/es.json +0 -171
  56. package/src/locales/fr.json +0 -171
  57. package/src/locales/hi.json +0 -172
  58. package/src/locales/ja.json +0 -171
  59. package/src/locales/pt.json +0 -171
  60. package/src/locales/ru.json +0 -171
  61. package/src/locales/zh-Hans.json +0 -171
  62. package/src/main.ts +0 -14
  63. package/src/plugin.ts +0 -16
  64. package/src/services/LocalStorageManager.ts +0 -25
  65. package/src/services/PageBuilderService.ts +0 -3191
  66. package/src/stores/page-builder-state.ts +0 -498
  67. package/src/stores/shared-store.ts +0 -13
  68. package/src/tailwind-safelist.html +0 -3
  69. package/src/tests/DefaultComponents/DefaultBuilderComponents.vue +0 -284
  70. package/src/tests/DefaultComponents/DefaultMediaLibraryComponent.vue +0 -10
  71. package/src/tests/PageBuilderTest.vue +0 -82
  72. package/src/tests/TestComponents/DemoBuilderComponentsTest.vue +0 -5
  73. package/src/tests/TestComponents/DemoMediaLibraryComponentTest.vue +0 -8
  74. package/src/tests/TestComponents/DemoUnsplash.vue +0 -389
  75. package/src/tests/componentsArray.test.json +0 -62
  76. package/src/tests/pageBuilderService.test.ts +0 -165
  77. package/src/types/global.d.ts +0 -11
  78. package/src/types/index.ts +0 -306
  79. package/src/utils/builder/html-doc-declaration-with-components.ts +0 -7
  80. package/src/utils/builder/tailwaind-colors.ts +0 -503
  81. package/src/utils/builder/tailwind-border-radius.ts +0 -67
  82. package/src/utils/builder/tailwind-border-style-width-color.ts +0 -272
  83. package/src/utils/builder/tailwind-font-sizes.ts +0 -75
  84. package/src/utils/builder/tailwind-font-styles.ts +0 -56
  85. package/src/utils/builder/tailwind-opacities.ts +0 -45
  86. package/src/utils/builder/tailwind-padding-margin.ts +0 -159
  87. package/src/utils/html-elements/component.ts +0 -485
  88. package/src/utils/html-elements/componentHelpers.ts +0 -98
  89. package/src/utils/html-elements/themes.ts +0 -85
@@ -1,171 +0,0 @@
1
- {
2
- "Reset Page": "重置页面",
3
- "Global Page Styles": "全局页面样式",
4
- "Try the powerful Click & Drop Page Builder—designed for developers and creators who want full control without the hassle. Customize layouts, fonts, and colors. Edit content visually in real time. Add media, embed YouTube videos, or export everything as clean HTML. With responsive editing, local auto-save, Tailwind support, and even Unsplash integration, it's everything you need—wrapped in one seamless builder. Build Stunning Pages in Minutes.": "试试强大的Click & Drop Page Builder——专为希望完全控制而无需麻烦的开发者和创作者设计。自定义布局、字体和颜色。实时可视化编辑内容。添加媒体、嵌入YouTube视频或将所有内容导出为干净的HTML。凭借响应式编辑、本地自动保存、Tailwind支持,甚至Unsplash集成,它是您所需的一切——集成在一个无缝的构建器中。几分钟内构建令人惊叹的页面。",
5
- "A Page Builder designed for growth. Build your website pages with ready-made components that are fully customizable and always responsive, designed to fit every need. A powerful Page Builder for growing merchants, brands, and agencies.": "为增长而设计的页面构建器。使用完全可定制且始终响应的现成组件构建您的网站页面,旨在满足所有需求。为不断发展的商家、品牌和代理商提供强大的页面构建器。",
6
- "Everything you need. Break free from design limitations": "您需要的一切。突破设计限制",
7
- "Bring your vision to life and create impressive pages using a click & drop Page Builder": "实现您的愿景,并使用点击和拖放页面构建器创建令人印象深刻的页面",
8
- "The web builder for stunning pages. Enable users to design and publish modern pages at any scale. Build responsive pages like listings, jobs or blog posts and manage content easily using the free click & drop Page Builder. Developed with TypeScript, Vue 3, Composition API, Pinia, CSS, Tailwind CSS and HTML.": "令人惊叹页面的网页构建器。使用户能够设计和发布任何规模的现代页面。创建响应式页面,例如列表、工作或博客文章,并使用免费的点击和拖放页面构建器轻松管理内容。使用 TypeScript、Vue 3、Composition API、Pinia、CSS、Tailwind CSS 和 HTML 开发。",
9
- "Download or install our powerful, flexible, and easy-to-use free Vue 3 Page Builder via": "通过下载或安装我们强大、灵活且易于使用的免费 Vue 3 页面构建器",
10
- "Save": "保存",
11
- "Add new Components": "添加新组件",
12
- "Options": "选项",
13
- "Config Overview": "配置概览",
14
- "HTML Overview": "HTML概览",
15
- "Delete Layout": "删除布局",
16
- "avatar": "头像",
17
- "Publish": "发布",
18
- "Add Components to Page": "将组件添加到页面",
19
- "Helper Components": "辅助组件",
20
- "Click to add": "点击添加",
21
- "component": "组件",
22
- "Layout Components": "布局组件",
23
- "Click to add component": "点击添加组件",
24
- "Remove all Components": "删除所有组件",
25
- "Are you sure you want to remove all Components?": "您确定要删除所有组件吗?",
26
- "Styles": "样式",
27
- "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.": "应用影响整个页面的样式。这些设置包括全局字体系列、文本颜色、背景颜色和适用于所有部分的其他通用样式。",
28
- "Update Page Styles": "更新页面样式",
29
- "Download HTML": "下载HTML",
30
- "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.": "将整个页面导出为独立的HTML文件。这包括所有部分、内容和应用的样式,使其可以随时使用或集成到其他地方。",
31
- "Download HTML file": "下载HTML文件",
32
- "Typographies": "排版",
33
- "Font Appearance": "字体外观",
34
- "Font Size": "字体大小",
35
- "Select": "选择",
36
- "Font size": "字体大小",
37
- "Font tablet size": "平板字体大小",
38
- "Font small screens": "小屏幕字体大小",
39
- "Font weight": "字体粗细",
40
- "Font family": "字体家族",
41
- "Font Style": "字体样式",
42
- "Opacity & Transparency": "不透明度和透明度",
43
- "Padding": "内边距",
44
- "Vertical Padding": "垂直内边距",
45
- "Horizontal Padding": "水平内边距",
46
- "Margin": "边距",
47
- "Vertical Margin": "垂直边距",
48
- "Horizontal Margin": "水平边距",
49
- "Border Radius": "边框半径",
50
- "Global": "全局",
51
- "Specific": "具体",
52
- "Border Radius top left": "边框半径 左上",
53
- "Border Radius top right": "边框半径 右上",
54
- "Border Radius bottom left": "边框半径 左下",
55
- "Border Radius bottom right": "边框半径 右下",
56
- "Border Style, Width & Color": "边框样式、宽度和颜色",
57
- "Border": "边框",
58
- "Border Style": "边框样式",
59
- "Border Width": "边框宽度",
60
- "Border Color": "边框颜色",
61
- "Transparent": "透明",
62
- "Generated CSS": "生成的CSS",
63
- "This is the CSS applied by the builder. Add your own CSS and press Enter to apply it to the selected element.": "这是构建器应用的CSS。添加您自己的CSS并按Enter将其应用于选定的元素。",
64
- "Add your CSS.": "添加您的CSS。",
65
- "The pbx- prefix is added automatically.": "pbx-前缀会自动添加。",
66
- "Type class": "输入类",
67
- "Add": "添加",
68
- "Inline Styles": "内联样式",
69
- "These are the inline styles applied by the builder. Add your own styles and press Enter to apply them to the selected element.": "这些是构建器应用的内联样式。添加您自己的样式,然后按 Enter 将其应用于选定的元素。",
70
- "Add your own style.": "添加您自己的样式。",
71
- "property": "属性",
72
- "value": "值",
73
- "Close": "关闭",
74
- "Editing": "编辑",
75
- "Loading...": "加载中...",
76
- "Background Color": "背景颜色",
77
- "Text Color": "文字颜色",
78
- "Default black": "默认黑色",
79
- "Remove Component?": "删除组件?",
80
- "Are you sure you want to remove this Component?": "您确定要删除此组件吗?",
81
- "Delete": "删除",
82
- "Add to the bottom": "添加到底部",
83
- "Preview": "预览",
84
- "Mobile": "移动",
85
- "Demo Content": "演示内容",
86
- "Demo Description": "介绍轻量级和免费的Vue Click & Drop页面构建器。使用Vue轻松创建和增强数字体验。并非所有强大的东西都需要复杂。这款简约轻便的页面构建器提供了一个优雅直观的界面,专注于简单性和速度。创建完全响应式的页面,例如列表、职位板或博客文章,并使用免费的Click & Drop页面构建器轻松管理您的内容。",
87
- "Demo Title": "令人惊叹的页面的网页构建器",
88
- "Demo Description Two": "为增长而设计的页面构建器。使用完全可定制且始终响应的现成组件构建您的网站页面,旨在满足所有需求。为不断发展的商家、品牌和代理商提供强大的页面构建器。",
89
- "Demo Description Three": "设计师喜爱的网站构建器。轻松设计、预览和调整每个屏幕尺寸的布局。干净。快速。直观。并非所有强大的东西都必须看起来很复杂。",
90
- "Demo Description Four": "确保您的网站在所有设备上看起来都很棒。实时编辑文本内容。选择与您的风格相匹配的完美字体。自信地进行实验,并能够轻松复更改。样式前缀。构建器和您的应用程序之间没有样式冲突的风险。",
91
- "Demo Title Two": "只需使用Vue发布即可",
92
- "Demo Title Three": "响应式编辑",
93
- "Edit text and links": "编辑文本和链接",
94
- "Enter URL": "输入URL",
95
- "Line break": "换行",
96
- "Bold": "加粗",
97
- "Header 2": "标题2",
98
- "Header 3": "标题3",
99
- "List": "列表",
100
- "Add a valid URL to transform the selected text into a clickable hyperlink that directs users to the specified web address.": "添加一个有效的URL,将选定的文本转换为可点击的超链接,指向指定的网页地址。",
101
- "Select image": "选择图片",
102
- "Manage Content": "管理内容",
103
- "Media Library": "媒体库",
104
- "Reset changes": "重置更改",
105
- "Do you want to reset this page?": "您想重置此页面吗?",
106
- "Are you sure you want to reset this page? This will overwrite your current changes.": "您确定要重置此页面吗?这将覆盖您当前的更改。",
107
- "Search": "搜索",
108
- "Search...": "搜索...",
109
- "Landscape": "横向",
110
- "Portrait": "纵向",
111
- "Squarish": "方形",
112
- "Total pages": "总页数",
113
- "Images": "图片",
114
- "First page": "第一页",
115
- "Prev": "上一页",
116
- "Next": "下一页",
117
- "By:": "作者:",
118
- "We did not find any images. Make a new search.": "我们没有找到任何图片。请重新搜索。",
119
- "No results on current page. Navigate to First Page.": "当前页面没有结果。导航到第一页。",
120
- "Information": "信息",
121
- "From:": "来自:",
122
- " Select image": " 选择图片",
123
- "Layouts and visual.": "布局和视觉。",
124
- "Start customizing by editing this default text directly in the editor.": "通过直接在编辑器中编辑此默认文本开始自定义。",
125
- "Single Image": "单张图片",
126
- "Two Vertical Images": "两张竖直图片",
127
- "Two Square Images": "两张方形图片",
128
- "Three Square Images": "三张方形图片",
129
- "Six Square Images Grid": "六张方形图片网格",
130
- "Three Vertical Images": "三张竖直图片",
131
- "Three Square Images With Text": "三张方形图片和文字",
132
- "Two Square Images With Text": "两张方形图片和文字",
133
- "Text": "文本",
134
- "Header H2": "标题 H2",
135
- "Header H3": "标题 H3",
136
- "YouTube Video": "YouTube 视频",
137
- "Break Divider": "分隔线",
138
- "Link": "链接",
139
- "Selected HTML": "选定的HTML",
140
- "Overview of Selected Element, Component, and Components. This section provides real-time updates based on your HTML selection.": "所选元素、组件和组件的概述。本节根据您的HTML选择提供实时更新。",
141
- "Types": "类型",
142
- "Element type:": "元素类型:",
143
- "Component type:": "组件类型:",
144
- "Components:": "组件:",
145
- "array": "数组",
146
- "Content": "内容",
147
- "Element": "元素",
148
- "Component": "组件",
149
- "Components added": "添加的组件",
150
- "No Element selected": "未选择元素",
151
- "Selected HTML:": "选定的HTML:",
152
- "Element src:": "元素来源:",
153
- "Element classes:": "元素类:",
154
- "No Component selected": "未选择组件",
155
- "ID:": "ID:",
156
- "Title:": "标题:",
157
- "HTML Code:": "HTML代码:",
158
- "No Components added yet": "尚未添加组件",
159
- "All": "全部",
160
- "Image": "图片",
161
- "Image & Text": "图片和文字",
162
- "Four Square Images With Text": "四张带文字的方形图片",
163
- "Four Square Images": "四张方形图片",
164
- "Continue Your Work?": "继续您的工作?",
165
- "We noticed you have some changes that weren’t saved last time. Would you like to pick up where you left off, or use the version that’s currently loaded from the database?": "我们注意到您上次有一些更改没有保存。您是想从上次离开的地方继续,还是使用当前从数据库加载的版本?",
166
- "Use Saved Version": "使用保存的版本",
167
- "Continue Where I Left Off": "从我离开的地方继续",
168
- "HTML Editor": "HTML 编辑器",
169
- "Gain full control over components by editing the raw HTML.": "通过编辑原始 HTML 获得对组件的完全控制。",
170
- "Large Screens Only": "仅限大屏幕"
171
- }
package/src/main.ts DELETED
@@ -1,14 +0,0 @@
1
- import './css/dev-global.css'
2
- import './css/style.css'
3
-
4
- import { createApp } from 'vue'
5
- import { createPinia } from 'pinia'
6
- import App from './App.vue'
7
- import { pageBuilder } from './plugin'
8
-
9
- const app = createApp(App)
10
-
11
- app.use(createPinia())
12
- app.use(pageBuilder)
13
-
14
- app.mount('#app')
package/src/plugin.ts DELETED
@@ -1,16 +0,0 @@
1
- // src/plugin.ts
2
- import type { App } from 'vue';
3
- import { PageBuilderService } from './services/PageBuilderService';
4
- import { sharedPageBuilderStore } from './stores/shared-store';
5
- import { setBuilderInstance } from './composables/builderInstance';
6
-
7
- export const pageBuilder = {
8
- install: (app: App): void => {
9
- if (!app.config.globalProperties.$pageBuilder) {
10
- const pageBuilderStateStore = sharedPageBuilderStore;
11
- const instance = new PageBuilderService(pageBuilderStateStore);
12
- setBuilderInstance(instance);
13
- app.config.globalProperties.$pageBuilder = instance;
14
- }
15
- },
16
- };
@@ -1,25 +0,0 @@
1
- export class LocalStorageManager {
2
- private static readonly HISTORY_KEY_SUFFIX = '-history'
3
- private static readonly MAX_HISTORY_SIZE = 10
4
-
5
- public static getHistory(baseKey: string): any[] {
6
- const historyKey = baseKey + this.HISTORY_KEY_SUFFIX
7
- const historyJson = localStorage.getItem(historyKey)
8
- return historyJson ? JSON.parse(historyJson) : []
9
- }
10
-
11
- public static addToHistory(baseKey: string, data: any) {
12
- const historyKey = baseKey + this.HISTORY_KEY_SUFFIX
13
- let history = this.getHistory(baseKey)
14
- history.push(data)
15
- if (history.length > this.MAX_HISTORY_SIZE) {
16
- history = history.slice(history.length - this.MAX_HISTORY_SIZE)
17
- }
18
- localStorage.setItem(historyKey, JSON.stringify(history))
19
- }
20
-
21
- public static clearHistory(baseKey: string) {
22
- const historyKey = baseKey + this.HISTORY_KEY_SUFFIX
23
- localStorage.removeItem(historyKey)
24
- }
25
- }