@myissue/vue-website-page-builder 3.2.86 → 3.2.90
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/README.md +46 -3
- package/dist/vue-website-page-builder.css +1 -1
- package/dist/vue-website-page-builder.js +9217 -9022
- package/dist/vue-website-page-builder.umd.cjs +38 -38
- package/package.json +2 -2
- package/src/Components/Homepage/Footer.vue +9 -7
- package/src/Components/Homepage/Navbar.vue +6 -4
- package/src/Components/Layouts/FullWidthElement.vue +6 -6
- package/src/Components/Modals/BuilderComponents.vue +12 -6
- package/src/Components/Modals/DynamicModalBuilder.vue +39 -47
- package/src/Components/Modals/MediaLibraryModal.vue +2 -2
- package/src/Components/Modals/ModalBuilder.vue +23 -19
- package/src/Components/PageBuilder/DefaultComponents/DefaultBuilderComponents.vue +29 -17
- package/src/Components/PageBuilder/DefaultComponents/DefaultMediaLibraryComponent.vue +2 -2
- package/src/Components/PageBuilder/EditorMenu/Editables/BackgroundColorEditor.vue +22 -20
- package/src/Components/PageBuilder/EditorMenu/Editables/BorderRadius.vue +17 -17
- package/src/Components/PageBuilder/EditorMenu/Editables/Borders.vue +28 -26
- package/src/Components/PageBuilder/EditorMenu/Editables/ClassEditor.vue +13 -11
- package/src/Components/PageBuilder/EditorMenu/Editables/ComponentTopMenu.vue +5 -5
- package/src/Components/PageBuilder/EditorMenu/Editables/DeleteElement.vue +4 -4
- package/src/Components/PageBuilder/EditorMenu/Editables/EditGetElement.vue +22 -19
- package/src/Components/PageBuilder/EditorMenu/Editables/ElementEditor.vue +11 -11
- package/src/Components/PageBuilder/EditorMenu/Editables/ImageEditor.vue +4 -4
- package/src/Components/PageBuilder/EditorMenu/Editables/LinkEditor.vue +74 -66
- package/src/Components/PageBuilder/EditorMenu/Editables/ManageBackgroundOpacity.vue +26 -21
- package/src/Components/PageBuilder/EditorMenu/Editables/ManageOpacity.vue +26 -21
- package/src/Components/PageBuilder/EditorMenu/Editables/Margin.vue +101 -0
- package/src/Components/PageBuilder/EditorMenu/Editables/OpacityEditor.vue +2 -3
- package/src/Components/PageBuilder/EditorMenu/Editables/{PaddingPlusMargin.vue → Padding.vue} +8 -41
- package/src/Components/PageBuilder/EditorMenu/Editables/TextColorEditor.vue +22 -20
- package/src/Components/PageBuilder/EditorMenu/Editables/Typography.vue +63 -58
- package/src/Components/PageBuilder/EditorMenu/EditorAccordion.vue +7 -4
- package/src/Components/PageBuilder/EditorMenu/RightSidebarEditor.vue +24 -19
- package/src/Components/PageBuilder/Settings/AdvancedPageBuilderSettings.vue +132 -98
- package/src/Components/PageBuilder/Settings/PageBuilderSettings.vue +216 -146
- package/src/Components/PageBuilder/ToolbarOption/ToolbarOption.vue +14 -14
- package/src/Components/TipTap/TipTap.vue +4 -4
- package/src/Components/TipTap/TipTapInput.vue +39 -33
- package/src/DemoComponents/DemoBuilderComponents.vue +1 -1
- package/src/DemoComponents/DemoUnsplash.vue +79 -56
- package/src/DemoComponents/HomeSection.vue +20 -16
- package/src/PageBuilder/PageBuilder.vue +62 -57
- package/src/PageBuilder/Preview.vue +4 -20
- package/src/composables/PageBuilderClass.ts +66 -120
- package/src/css/app.css +161 -448
- package/src/css/dev-global.css +137 -0
- package/src/main.ts +1 -0
- package/src/tailwind-safelist.html +1 -1
- package/src/utils/builder/tailwaind-colors.ts +488 -488
- package/src/utils/builder/tailwind-border-radius.ts +40 -40
- package/src/utils/builder/tailwind-border-style-width-color.ts +231 -231
- package/src/utils/builder/tailwind-font-sizes.ts +56 -57
- package/src/utils/builder/tailwind-font-styles.ts +44 -11
- package/src/utils/builder/tailwind-opacities.ts +30 -30
- package/src/utils/builder/tailwind-padding-margin.ts +136 -136
- package/dist/components.json +0 -36
- package/src/Components/Loaders/FullScreenSpinner.vue +0 -9
- package/src/Components/Loaders/SmallUniversalSpinner.vue +0 -26
package/src/Components/PageBuilder/EditorMenu/Editables/{PaddingPlusMargin.vue → Padding.vue}
RENAMED
|
@@ -61,14 +61,13 @@ watch(
|
|
|
61
61
|
</script>
|
|
62
62
|
<template>
|
|
63
63
|
<EditorAccordion>
|
|
64
|
-
<template #title>Padding
|
|
64
|
+
<template #title>Padding</template>
|
|
65
65
|
<template #content>
|
|
66
|
-
<
|
|
67
|
-
|
|
68
|
-
<label class="myPrimaryInputLabel"> Padding Y-axis </label>
|
|
66
|
+
<div class="pbx-my-2 pbx-py-2">
|
|
67
|
+
<label class="pbx-myPrimaryInputLabel"> Vertical Padding </label>
|
|
69
68
|
<select
|
|
70
69
|
v-model="fontVerticalPadding"
|
|
71
|
-
class="myPrimarySelect"
|
|
70
|
+
class="pbx-myPrimarySelect"
|
|
72
71
|
@change="pageBuilderClass.handleVerticalPadding(fontVerticalPadding)"
|
|
73
72
|
>
|
|
74
73
|
<option disabled value="">Select</option>
|
|
@@ -80,11 +79,12 @@ watch(
|
|
|
80
79
|
</option>
|
|
81
80
|
</select>
|
|
82
81
|
</div>
|
|
83
|
-
<
|
|
84
|
-
|
|
82
|
+
<hr />
|
|
83
|
+
<div class="pbx-my-2 pbx-py-2">
|
|
84
|
+
<label class="pbx-myPrimaryInputLabel"> Horizontal Padding </label>
|
|
85
85
|
<select
|
|
86
86
|
v-model="fontHorizontalPadding"
|
|
87
|
-
class="myPrimarySelect"
|
|
87
|
+
class="pbx-myPrimarySelect"
|
|
88
88
|
@change="pageBuilderClass.handleHorizontalPadding(fontHorizontalPadding)"
|
|
89
89
|
>
|
|
90
90
|
<option disabled value="">Select</option>
|
|
@@ -96,39 +96,6 @@ watch(
|
|
|
96
96
|
</option>
|
|
97
97
|
</select>
|
|
98
98
|
</div>
|
|
99
|
-
<p class="myPrimaryParagraph font-medium py-0 my-4">Margin</p>
|
|
100
|
-
<div class="my-2 py-2">
|
|
101
|
-
<label class="myPrimaryInputLabel"> Margin Y-axis </label>
|
|
102
|
-
<select
|
|
103
|
-
v-model="fontVerticalMargin"
|
|
104
|
-
class="myPrimarySelect"
|
|
105
|
-
@change="pageBuilderClass.handleVerticalMargin(fontVerticalMargin)"
|
|
106
|
-
>
|
|
107
|
-
<option disabled value="">Select</option>
|
|
108
|
-
<option
|
|
109
|
-
v-for="verticalMargin in tailwindPaddingPlusMargin.verticalMargin"
|
|
110
|
-
:key="verticalMargin"
|
|
111
|
-
>
|
|
112
|
-
{{ verticalMargin }}
|
|
113
|
-
</option>
|
|
114
|
-
</select>
|
|
115
|
-
</div>
|
|
116
|
-
<div class="my-2 py-2">
|
|
117
|
-
<label class="myPrimaryInputLabel"> Margin X-axis </label>
|
|
118
|
-
<select
|
|
119
|
-
v-model="fontHorizontalMargin"
|
|
120
|
-
class="myPrimarySelect"
|
|
121
|
-
@change="pageBuilderClass.handleHorizontalMargin(fontHorizontalMargin)"
|
|
122
|
-
>
|
|
123
|
-
<option disabled value="">Select</option>
|
|
124
|
-
<option
|
|
125
|
-
v-for="horizontalMargin in tailwindPaddingPlusMargin.horizontalMargin"
|
|
126
|
-
:key="horizontalMargin"
|
|
127
|
-
>
|
|
128
|
-
{{ horizontalMargin }}
|
|
129
|
-
</option>
|
|
130
|
-
</select>
|
|
131
|
-
</div>
|
|
132
99
|
</template>
|
|
133
100
|
</EditorAccordion>
|
|
134
101
|
</template>
|
|
@@ -25,28 +25,28 @@ watch(
|
|
|
25
25
|
|
|
26
26
|
<template>
|
|
27
27
|
<Listbox as="div" v-model="textColor">
|
|
28
|
-
<div class="relative">
|
|
29
|
-
<ListboxButton class="w-max flex items-center myPrimaryTag">
|
|
30
|
-
<div v-if="getTextColor === 'none'" class="flex gap-2 items-center">
|
|
28
|
+
<div class="pbx-relative">
|
|
29
|
+
<ListboxButton class="pbx-w-max pbx-flex pbx-items-center pbx-myPrimaryTag">
|
|
30
|
+
<div v-if="getTextColor === 'none'" class="pbx-flex pbx-gap-2 pbx-items-center">
|
|
31
31
|
<span class="material-symbols-outlined"> format_color_text </span>
|
|
32
|
-
<span class="block truncate text-[12.5px]">Text color</span>
|
|
32
|
+
<span class="pbx-block pbx-truncate pbx-text-[12.5px]">Text color</span>
|
|
33
33
|
</div>
|
|
34
|
-
<div v-if="textColor !== 'none'" class="flex items-center gap-2">
|
|
34
|
+
<div v-if="textColor !== 'none'" class="pbx-flex pbx-items-center pbx-gap-2">
|
|
35
35
|
<div
|
|
36
|
-
class="aspect-square w-6 h-6 border border-gray-800 rounded-sm"
|
|
37
|
-
:class="`bg-${textColor?.replace('text-', '')}`"
|
|
36
|
+
class="pbx-aspect-square pbx-w-6 pbx-h-6 pbx-border pbx-border-gray-800 pbx-rounded-sm"
|
|
37
|
+
:class="`pbx-bg-${textColor?.replace('pbx-text-', '')}`"
|
|
38
38
|
></div>
|
|
39
|
-
<span class="block truncate text-[12.5px]">{{ textColor }}</span>
|
|
39
|
+
<span class="pbx-block pbx-truncate pbx-text-[12.5px]">{{ textColor }}</span>
|
|
40
40
|
</div>
|
|
41
41
|
</ListboxButton>
|
|
42
42
|
|
|
43
43
|
<transition
|
|
44
|
-
leave-active-class="transition ease-in duration-100"
|
|
45
|
-
leave-from-class="opacity-100"
|
|
46
|
-
leave-to-class="opacity-0"
|
|
44
|
+
leave-active-class="pbx-transition pbx-ease-in pbx-duration-100"
|
|
45
|
+
leave-from-class="pbx-opacity-100"
|
|
46
|
+
leave-to-class="pbx-opacity-0"
|
|
47
47
|
>
|
|
48
48
|
<ListboxOptions
|
|
49
|
-
class="absolute min-w-[12rem] z-40 mt-1 max-h-56 w-full overflow-auto rounded-md bg-gray-50 py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
|
|
49
|
+
class="pbx-absolute pbx-min-w-[12rem] pbx-z-40 pbx-mt-1 pbx-max-h-56 pbx-w-full pbx-overflow-auto pbx-rounded-md pbx-bg-gray-50 pbx-py-1 pbx-text-base pbx-shadow-lg pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 focus:pbx-outline-none sm:pbx-text-sm"
|
|
50
50
|
>
|
|
51
51
|
<ListboxOption
|
|
52
52
|
as="template"
|
|
@@ -58,20 +58,22 @@ watch(
|
|
|
58
58
|
>
|
|
59
59
|
<li
|
|
60
60
|
:class="[
|
|
61
|
-
active
|
|
62
|
-
|
|
61
|
+
active
|
|
62
|
+
? 'pbx-bg-myPrimaryLinkColor pbx-text-white'
|
|
63
|
+
: 'pbx-text-myPrimaryDarkGrayColor',
|
|
64
|
+
'pbx-relative pbx-cursor-default pbx-select-none pbx-py-2 pbx-pl-3 pbx-pr-9',
|
|
63
65
|
]"
|
|
64
66
|
>
|
|
65
|
-
<div v-if="color === 'none'" class="flex items-center">
|
|
67
|
+
<div v-if="color === 'none'" class="pbx-flex pbx-items-center">
|
|
66
68
|
<span class="material-symbols-outlined"> invert_colors </span>
|
|
67
|
-
<span class="ml-3">Default black</span>
|
|
69
|
+
<span class="pbx-ml-3">Default black</span>
|
|
68
70
|
</div>
|
|
69
|
-
<div v-if="color !== 'none'" class="flex items-center">
|
|
71
|
+
<div v-if="color !== 'none'" class="pbx-flex pbx-items-center">
|
|
70
72
|
<div
|
|
71
|
-
class="aspect-square w-6 h-6 border border-gray-100 rounded-sm"
|
|
72
|
-
:class="`bg-${color.replace('text-', '')}`"
|
|
73
|
+
class="pbx-aspect-square pbx-w-6 pbx-h-6 pbx-border pbx-border-gray-100 pbx-rounded-sm"
|
|
74
|
+
:class="`pbx-bg-${color.replace('pbx-text-', '')}`"
|
|
73
75
|
></div>
|
|
74
|
-
<span class="ml-3">{{ color }}</span>
|
|
76
|
+
<span class="pbx-ml-3">{{ color }}</span>
|
|
75
77
|
</div>
|
|
76
78
|
</li>
|
|
77
79
|
</ListboxOption>
|
|
@@ -102,13 +102,13 @@ watch(
|
|
|
102
102
|
<template #title> Typographies </template>
|
|
103
103
|
<template #content>
|
|
104
104
|
<!-- FONT SIZES -->
|
|
105
|
-
<p class="myPrimaryParagraph font-medium py-0 my-4">Font
|
|
106
|
-
<div class="my-2 py-2">
|
|
107
|
-
<label class="myPrimaryInputLabel"> Font
|
|
105
|
+
<p class="pbx-myPrimaryParagraph pbx-font-medium pbx-py-0 pbx-my-4">Font Appearance</p>
|
|
106
|
+
<div class="pbx-my-2 pbx-py-2">
|
|
107
|
+
<label class="pbx-myPrimaryInputLabel"> Font Size </label>
|
|
108
108
|
<select
|
|
109
109
|
v-model="fontBase"
|
|
110
|
-
class="myPrimarySelect"
|
|
111
|
-
@change="pageBuilderClass.
|
|
110
|
+
class="pbx-myPrimarySelect"
|
|
111
|
+
@change="pageBuilderClass.handleFontSizeBase(fontBase)"
|
|
112
112
|
>
|
|
113
113
|
<option disabled value="">Select</option>
|
|
114
114
|
<option v-for="fontSize in tailwindFontSizes.fontBase" :key="fontSize">
|
|
@@ -116,52 +116,69 @@ watch(
|
|
|
116
116
|
</option>
|
|
117
117
|
</select>
|
|
118
118
|
</div>
|
|
119
|
-
<
|
|
120
|
-
<
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
<
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
<
|
|
119
|
+
<template v-if="false">
|
|
120
|
+
<div class="pbx-my-2 pbx-py-2">
|
|
121
|
+
<label class="pbx-myPrimaryInputLabel"> Font desktop size </label>
|
|
122
|
+
<select
|
|
123
|
+
v-model="fontDesktop"
|
|
124
|
+
class="pbx-myPrimarySelect"
|
|
125
|
+
@change="pageBuilderClass.handleFontSizeDesktop(fontDesktop)"
|
|
126
|
+
>
|
|
127
|
+
<option disabled value="">Select</option>
|
|
128
|
+
<option v-for="fontSize in tailwindFontSizes.fontDesktop" :key="fontSize">
|
|
129
|
+
{{ fontSize }}
|
|
130
|
+
</option>
|
|
131
|
+
</select>
|
|
132
|
+
</div>
|
|
133
|
+
<div class="pbx-my-2 pbx-py-2">
|
|
134
|
+
<label class="pbx-myPrimaryInputLabel"> Font tablet size </label>
|
|
135
|
+
<select
|
|
136
|
+
v-model="fontTablet"
|
|
137
|
+
class="pbx-myPrimarySelect"
|
|
138
|
+
@change="pageBuilderClass.handleFontSizeTablet(fontTablet)"
|
|
139
|
+
>
|
|
140
|
+
<option disabled value="">Select</option>
|
|
141
|
+
<option v-for="fontSize in tailwindFontSizes.fontTablet" :key="fontSize">
|
|
142
|
+
{{ fontSize }}
|
|
143
|
+
</option>
|
|
144
|
+
</select>
|
|
145
|
+
</div>
|
|
146
|
+
<div class="pbx-my-2 pbx-py-2">
|
|
147
|
+
<label class="pbx-myPrimaryInputLabel"> Font small screens </label>
|
|
148
|
+
<select
|
|
149
|
+
v-model="fontMobile"
|
|
150
|
+
class="pbx-myPrimarySelect"
|
|
151
|
+
@change="pageBuilderClass.handleFontSizeMobile(fontMobile)"
|
|
152
|
+
>
|
|
153
|
+
<option disabled value="">Select</option>
|
|
154
|
+
<option v-for="fontSize in tailwindFontSizes.fontMobile" :key="fontSize">
|
|
155
|
+
{{ fontSize }}
|
|
156
|
+
</option>
|
|
157
|
+
</select>
|
|
158
|
+
</div>
|
|
159
|
+
</template>
|
|
160
|
+
<hr />
|
|
161
|
+
<!-- FONT FAMILY -->
|
|
162
|
+
<div class="pbx-my-2 pbx-py-2">
|
|
163
|
+
<label class="pbx-myPrimaryInputLabel"> Font family </label>
|
|
147
164
|
<select
|
|
148
|
-
v-model="
|
|
149
|
-
class="myPrimarySelect"
|
|
150
|
-
@change="pageBuilderClass.
|
|
165
|
+
v-model="fontFamily"
|
|
166
|
+
class="pbx-myPrimarySelect"
|
|
167
|
+
@change="pageBuilderClass.handleFontFamily(fontFamily)"
|
|
151
168
|
>
|
|
152
169
|
<option disabled value="">Select</option>
|
|
153
|
-
<option v-for="
|
|
154
|
-
{{
|
|
170
|
+
<option v-for="fontFamily in tailwindFontStyles.fontFamily" :key="fontFamily">
|
|
171
|
+
{{ fontFamily }}
|
|
155
172
|
</option>
|
|
156
173
|
</select>
|
|
157
174
|
</div>
|
|
158
175
|
<hr />
|
|
159
|
-
|
|
160
|
-
<div class="my-2 py-2">
|
|
161
|
-
<label class="myPrimaryInputLabel"> Font weight </label>
|
|
176
|
+
|
|
177
|
+
<div class="pbx-my-2 pbx-py-2">
|
|
178
|
+
<label class="pbx-myPrimaryInputLabel"> Font weight </label>
|
|
162
179
|
<select
|
|
163
180
|
v-model="fontWeight"
|
|
164
|
-
class="myPrimarySelect"
|
|
181
|
+
class="pbx-myPrimarySelect"
|
|
165
182
|
@change="pageBuilderClass.handleFontWeight(fontWeight)"
|
|
166
183
|
>
|
|
167
184
|
<option disabled value="">Select</option>
|
|
@@ -170,24 +187,12 @@ watch(
|
|
|
170
187
|
</option>
|
|
171
188
|
</select>
|
|
172
189
|
</div>
|
|
173
|
-
<
|
|
174
|
-
|
|
175
|
-
<
|
|
176
|
-
v-model="fontFamily"
|
|
177
|
-
class="myPrimarySelect"
|
|
178
|
-
@change="pageBuilderClass.handleFontFamily(fontFamily)"
|
|
179
|
-
>
|
|
180
|
-
<option disabled value="">Select</option>
|
|
181
|
-
<option v-for="fontFamily in tailwindFontStyles.fontFamily" :key="fontFamily">
|
|
182
|
-
{{ fontFamily }}
|
|
183
|
-
</option>
|
|
184
|
-
</select>
|
|
185
|
-
</div>
|
|
186
|
-
<div class="my-2 py-2">
|
|
187
|
-
<label class="myPrimaryInputLabel"> Font Style </label>
|
|
190
|
+
<hr />
|
|
191
|
+
<div class="pbx-my-2 pbx-py-2">
|
|
192
|
+
<label class="pbx-myPrimaryInputLabel"> Font Style </label>
|
|
188
193
|
<select
|
|
189
194
|
v-model="fontStyle"
|
|
190
|
-
class="myPrimarySelect"
|
|
195
|
+
class="pbx-myPrimarySelect"
|
|
191
196
|
@change="pageBuilderClass.handleFontStyle(fontStyle)"
|
|
192
197
|
>
|
|
193
198
|
<option disabled value="">Select</option>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="flex flex-col border border-gray-400" :class="{ '
|
|
2
|
+
<div class="pbx-flex pbx-flex-col pbx-border pbx-border-gray-400" :class="{ '': expanded }">
|
|
3
3
|
<div
|
|
4
|
-
class="flex flex-row justify-between items-center pl-3 pr-3 py-5 cursor-pointer duration-200 hover:bg-myPrimaryLightGrayColor border-b border-gray-200"
|
|
4
|
+
class="pbx-flex pbx-flex-row pbx-justify-between pbx-items-center pbx-pl-3 pbx-pr-3 pbx-py-5 pbx-cursor-pointer pbx-duration-200 hover:pbx-bg-myPrimaryLightGrayColor pbx-border-b pbx-border-gray-200"
|
|
5
5
|
@click="expanded = !expanded"
|
|
6
6
|
>
|
|
7
|
-
<p class="myPrimaryParagraph font-medium my-0 py-0">
|
|
7
|
+
<p class="pbx-myPrimaryParagraph pbx-font-medium pbx-my-0 pbx-py-0">
|
|
8
8
|
<slot name="title" />
|
|
9
9
|
</p>
|
|
10
10
|
|
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
<span class="material-symbols-outlined"> chevron_right </span>
|
|
16
16
|
</template>
|
|
17
17
|
</div>
|
|
18
|
-
<div
|
|
18
|
+
<div
|
|
19
|
+
:class="[expanded ? 'pbx-block' : 'pbx-hidden']"
|
|
20
|
+
class="pbx-px-4 pbx-ease-linear pbx-duration-75"
|
|
21
|
+
>
|
|
19
22
|
<slot name="content" />
|
|
20
23
|
</div>
|
|
21
24
|
</div>
|
|
@@ -7,8 +7,8 @@ import ClassEditor from './Editables/ClassEditor.vue'
|
|
|
7
7
|
import ImageEditor from './Editables/ImageEditor.vue'
|
|
8
8
|
import OpacityEditor from './Editables/OpacityEditor.vue'
|
|
9
9
|
import Typography from './Editables/Typography.vue'
|
|
10
|
-
import
|
|
11
|
-
import
|
|
10
|
+
import Padding from './Editables/Padding.vue'
|
|
11
|
+
import Margin from './Editables/Margin.vue'
|
|
12
12
|
import BorderRadius from './Editables/BorderRadius.vue'
|
|
13
13
|
import BackgroundColorEditor from './Editables/BackgroundColorEditor.vue'
|
|
14
14
|
import Borders from './Editables/Borders.vue'
|
|
@@ -45,56 +45,61 @@ const isHeadingElement = computed(() => {
|
|
|
45
45
|
</script>
|
|
46
46
|
|
|
47
47
|
<template>
|
|
48
|
-
<div class="flex max-h-[50rem] flex-col">
|
|
49
|
-
<div
|
|
48
|
+
<div class="pbx-flex pbx-max-h-[50rem] pbx-flex-col">
|
|
49
|
+
<div
|
|
50
|
+
class="pbx-flex pbx-flex-row pbx-justify-between pbx-pt-7 pbx-pr-4 pbx-pl-4 pbx-items-center pbx-mb-3"
|
|
51
|
+
>
|
|
50
52
|
<button
|
|
51
53
|
type="button"
|
|
52
54
|
@click="$emit('closeEditor')"
|
|
53
|
-
class="h-10 w-10 cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0"
|
|
55
|
+
class="pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white focus-visible:pbx-ring-0"
|
|
54
56
|
>
|
|
55
57
|
<span class="material-symbols-outlined"> close </span>
|
|
56
58
|
</button>
|
|
57
|
-
<p class="font-medium text-sm">
|
|
59
|
+
<p class="pbx-font-medium pbx-text-sm">
|
|
58
60
|
Editing
|
|
59
|
-
<span class="lowercase"><{{ elementTag }}></span>
|
|
61
|
+
<span class="pbx-lowercase"><{{ elementTag }}></span>
|
|
60
62
|
</p>
|
|
61
63
|
</div>
|
|
62
64
|
|
|
63
|
-
<div class="pl-3 pr-3 mb-4 overflow-y-scroll">
|
|
65
|
+
<div class="pbx-pl-3 pbx-pr-3 pbx-mb-4 pbx-overflow-y-scroll">
|
|
64
66
|
<div v-show="getElement && pageBuilderClass.isEditableElement(getElement)">
|
|
65
|
-
<article class="mb-1">
|
|
67
|
+
<article class="pbx-mb-1">
|
|
66
68
|
<ImageEditor> </ImageEditor>
|
|
67
69
|
</article>
|
|
68
|
-
<article class="mb-1">
|
|
70
|
+
<article class="pbx-mb-1">
|
|
69
71
|
<TipTap></TipTap>
|
|
70
72
|
</article>
|
|
71
|
-
<article
|
|
73
|
+
<article class="pbx-my-1 pbx-bg-white">
|
|
72
74
|
<Typography></Typography>
|
|
73
75
|
</article>
|
|
74
76
|
|
|
75
|
-
<article class="my-1 bg-white">
|
|
77
|
+
<article class="pbx-my-1 pbx-bg-white">
|
|
76
78
|
<OpacityEditor> </OpacityEditor>
|
|
77
79
|
</article>
|
|
78
|
-
<article class="my-1 bg-white">
|
|
79
|
-
<
|
|
80
|
+
<article class="pbx-my-1 pbx-bg-white">
|
|
81
|
+
<Padding> </Padding>
|
|
80
82
|
</article>
|
|
81
|
-
<article class="my-1 bg-white">
|
|
83
|
+
<article class="pbx-my-1 pbx-bg-white">
|
|
84
|
+
<Margin> </Margin>
|
|
85
|
+
</article>
|
|
86
|
+
<article class="pbx-my-1 pbx-bg-white">
|
|
82
87
|
<BorderRadius></BorderRadius>
|
|
83
88
|
</article>
|
|
84
|
-
<article class="my-1 bg-white">
|
|
89
|
+
<article class="pbx-my-1 pbx-bg-white">
|
|
85
90
|
<Borders></Borders>
|
|
86
91
|
</article>
|
|
87
|
-
<article class="my-1 bg-white">
|
|
92
|
+
<article class="pbx-my-1 pbx-bg-white">
|
|
88
93
|
<ClassEditor></ClassEditor>
|
|
89
94
|
</article>
|
|
90
95
|
</div>
|
|
91
96
|
|
|
92
97
|
<div>
|
|
93
|
-
<article class="my-1 bg-white">
|
|
98
|
+
<article class="pbx-my-1 pbx-bg-white">
|
|
94
99
|
<ElementEditor></ElementEditor>
|
|
95
100
|
</article>
|
|
96
101
|
</div>
|
|
97
|
-
<article class="mt-1 bg-white"></article>
|
|
102
|
+
<article class="pbx-mt-1 pbx-bg-white"></article>
|
|
98
103
|
</div>
|
|
99
104
|
</div>
|
|
100
105
|
</template>
|