@designcrowd/library.brand-page 5.10.6-maker-tester-2 → 5.10.6-ml-1
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/lib/src/brand-page/utils/content-callback-util.d.ts +20 -0
- package/lib/src/brand-page/utils/content-callback-util.js +68 -0
- package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.js +5 -5
- package/lib/src/brand-page-maker/components/brand-page-maker/mock-api-calls/mock-custom-domain-api-calls.js +2 -2
- package/lib/src/brand-page-maker/stores/product-config/product-config-store.js +7 -7
- package/lib/src/clients/media-client.js +2 -2
- package/lib/src/clients/user-media-client.js +2 -2
- package/lib/src/css/library.brand-page-brandCrowd.min.css +37 -36
- package/lib/src/css/library.brand-page-brandPage.min.css +33 -36
- package/lib/src/css/library.brand-page-designCom.min.css +37 -36
- package/lib/src/css/library.brand-page-preview.min.css +33 -36
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.mjs +14306 -14187
- package/lib/src/lib.js +1 -0
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.js +3 -3
- package/lib/src/shared/content-settings/components/payment-config-field/support-me-config-field/SupportMeConfigField.mixin.js +2 -2
- package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.js +2 -2
- package/lib/src/shared/ecommerce-settings/store/shop-settings-store.js +3 -3
- package/lib/src/shared/shape-library/ShapeLibrary.mixin.js +1 -1
- package/package.json +10 -15
- package/src/brand-page/utils/content-callback-util.ts +116 -0
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts +5 -5
- package/src/brand-page-maker/components/brand-page-maker/mock-api-calls/mock-custom-domain-api-calls.ts +2 -2
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +2 -2
- package/src/brand-page-maker/components/sensitive-content/i18n/sensitive-settings-translation_de-DE.json +4 -4
- package/src/brand-page-maker/components/sensitive-content/i18n/sensitive-settings-translation_es-ES.json +4 -4
- package/src/brand-page-maker/components/sensitive-content/i18n/sensitive-settings-translation_fr-FR.json +4 -4
- package/src/brand-page-maker/components/sensitive-content/i18n/sensitive-settings-translation_pt-PT.json +4 -4
- package/src/brand-page-maker/components/social-share/i18n/social-share-translation_de-DE.json +8 -8
- package/src/brand-page-maker/components/social-share/i18n/social-share-translation_es-ES.json +8 -8
- package/src/brand-page-maker/components/social-share/i18n/social-share-translation_fr-FR.json +8 -8
- package/src/brand-page-maker/components/social-share/i18n/social-share-translation_pt-PT.json +8 -8
- package/src/brand-page-maker/stores/product-config/product-config-store.ts +7 -7
- package/src/clients/media-client.js +2 -2
- package/src/clients/user-media-client.ts +2 -2
- package/src/lib.ts +1 -0
- package/src/shared/color-picker/components/i18n/color-picker-translation_de-DE.json +5 -5
- package/src/shared/color-picker/components/i18n/color-picker-translation_es-ES.json +5 -5
- package/src/shared/color-picker/components/i18n/color-picker-translation_fr-FR.json +5 -5
- package/src/shared/color-picker/components/i18n/color-picker-translation_pt-PT.json +5 -5
- package/src/shared/common/i18n/common-translation_de-DE.json +46 -46
- package/src/shared/common/i18n/common-translation_es-ES.json +46 -46
- package/src/shared/common/i18n/common-translation_fr-FR.json +46 -46
- package/src/shared/common/i18n/common-translation_pt-PT.json +46 -46
- package/src/shared/content-settings/components/content-settings/i18n/content-settings-translation_de-DE.json +166 -166
- package/src/shared/content-settings/components/content-settings/i18n/content-settings-translation_es-ES.json +166 -166
- package/src/shared/content-settings/components/content-settings/i18n/content-settings-translation_fr-FR.json +166 -166
- package/src/shared/content-settings/components/content-settings/i18n/content-settings-translation_pt-PT.json +166 -166
- package/src/shared/content-settings/components/logo-selection-field/i18n/logo-selection-translation_de-DE.json +5 -5
- package/src/shared/content-settings/components/logo-selection-field/i18n/logo-selection-translation_es-ES.json +5 -5
- package/src/shared/content-settings/components/logo-selection-field/i18n/logo-selection-translation_fr-FR.json +5 -5
- package/src/shared/content-settings/components/logo-selection-field/i18n/logo-selection-translation_pt-PT.json +5 -5
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigOptionField.mixin.ts +3 -3
- package/src/shared/content-settings/components/payment-config-field/support-me-config-field/SupportMeConfigField.mixin.ts +2 -2
- package/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.ts +2 -2
- package/src/shared/ecommerce-settings/store/shop-settings-store.ts +3 -3
- package/src/shared/my-uploads/i18n/my-uploads-translation_de-DE.json +7 -7
- package/src/shared/my-uploads/i18n/my-uploads-translation_es-ES.json +7 -7
- package/src/shared/my-uploads/i18n/my-uploads-translation_fr-FR.json +7 -7
- package/src/shared/my-uploads/i18n/my-uploads-translation_pt-PT.json +7 -7
- package/src/shared/shape-library/ShapeLibrary.mixin.ts +1 -1
- package/src/shared/style-settings/components/i18n/style-settings-translation_de-DE.json +19 -19
- package/src/shared/style-settings/components/i18n/style-settings-translation_es-ES.json +19 -19
- package/src/shared/style-settings/components/i18n/style-settings-translation_fr-FR.json +19 -19
- package/src/shared/style-settings/components/i18n/style-settings-translation_pt-PT.json +19 -19
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ProfileContent, TextContent, ContactFormContent, ImageContent, BannerSectionContent, SocialLinksContent, ImageGalleryContent, TestimonialSectionContent, AboutSectionContent, ImagesSectionContent, MailingListContent, SupportMeContent, RequestPaymentContent, ShapesSectionContent, ShopContent, ButtonContent, PageModel } from '../models';
|
|
2
|
+
export type ContentCallback = {
|
|
3
|
+
profileContentCallback: (content: ProfileContent) => void;
|
|
4
|
+
textContentCallback: (content: TextContent) => void;
|
|
5
|
+
contactFormContentCallback: (content: ContactFormContent) => void;
|
|
6
|
+
imageContentCallback: (content: ImageContent) => void;
|
|
7
|
+
bannerSectionContentCallback: (content: BannerSectionContent) => void;
|
|
8
|
+
socialLinksContentCallback: (content: SocialLinksContent) => void;
|
|
9
|
+
imageGalleryContentCallback: (content: ImageGalleryContent) => void;
|
|
10
|
+
testimonialSectionContentCallback: (content: TestimonialSectionContent) => void;
|
|
11
|
+
aboutSectionContentCallback: (content: AboutSectionContent) => void;
|
|
12
|
+
imagesSectionContentCallback: (content: ImagesSectionContent) => void;
|
|
13
|
+
mailingListContentCallback: (content: MailingListContent) => void;
|
|
14
|
+
supportMeContentCallback: (content: SupportMeContent) => void;
|
|
15
|
+
requestPaymentContentCallback: (content: RequestPaymentContent) => void;
|
|
16
|
+
shapesSectionContentCallback: (content: ShapesSectionContent) => void;
|
|
17
|
+
shopSectionContentCallback: (content: ShopContent) => void;
|
|
18
|
+
buttonContentCallback: (content: ButtonContent) => void;
|
|
19
|
+
};
|
|
20
|
+
export declare const forEachPageCallContentCallback: (page: PageModel, callbacks: ContentCallback) => void;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export const forEachPageCallContentCallback = (page, callbacks) => {
|
|
2
|
+
for (const content of page.contents) {
|
|
3
|
+
switch (content.type) {
|
|
4
|
+
case 'profile':
|
|
5
|
+
callbacks.profileContentCallback(content);
|
|
6
|
+
break;
|
|
7
|
+
case 'text':
|
|
8
|
+
callbacks.textContentCallback(content);
|
|
9
|
+
break;
|
|
10
|
+
case 'contact-form':
|
|
11
|
+
callbacks.contactFormContentCallback(content);
|
|
12
|
+
break;
|
|
13
|
+
case 'image':
|
|
14
|
+
callbacks.imageContentCallback(content);
|
|
15
|
+
break;
|
|
16
|
+
case 'banner-section':
|
|
17
|
+
callbacks.bannerSectionContentCallback(content);
|
|
18
|
+
break;
|
|
19
|
+
case 'social-links':
|
|
20
|
+
callbacks.socialLinksContentCallback(content);
|
|
21
|
+
break;
|
|
22
|
+
case 'image-gallery':
|
|
23
|
+
callbacks.imageGalleryContentCallback(content);
|
|
24
|
+
break;
|
|
25
|
+
case 'testimonial-section':
|
|
26
|
+
callbacks.testimonialSectionContentCallback(content);
|
|
27
|
+
break;
|
|
28
|
+
case 'about-section':
|
|
29
|
+
callbacks.aboutSectionContentCallback(content);
|
|
30
|
+
break;
|
|
31
|
+
case 'images-section':
|
|
32
|
+
callbacks.imagesSectionContentCallback(content);
|
|
33
|
+
break;
|
|
34
|
+
case 'mailing-list':
|
|
35
|
+
callbacks.mailingListContentCallback(content);
|
|
36
|
+
break;
|
|
37
|
+
case 'support-me':
|
|
38
|
+
callbacks.supportMeContentCallback(content);
|
|
39
|
+
break;
|
|
40
|
+
case 'request-payment':
|
|
41
|
+
callbacks.requestPaymentContentCallback(content);
|
|
42
|
+
break;
|
|
43
|
+
case 'shapes-section':
|
|
44
|
+
callbacks.shapesSectionContentCallback(content);
|
|
45
|
+
break;
|
|
46
|
+
case 'shop-section':
|
|
47
|
+
callbacks.shopSectionContentCallback(content);
|
|
48
|
+
break;
|
|
49
|
+
case 'general-link':
|
|
50
|
+
case 'website':
|
|
51
|
+
case 'email':
|
|
52
|
+
case 'phone':
|
|
53
|
+
case 'facebook':
|
|
54
|
+
case 'instagram':
|
|
55
|
+
case 'linkedin':
|
|
56
|
+
case 'tiktok':
|
|
57
|
+
case 'twitch':
|
|
58
|
+
case 'twitter':
|
|
59
|
+
case 'pinterest':
|
|
60
|
+
case 'youtube':
|
|
61
|
+
callbacks.buttonContentCallback(content);
|
|
62
|
+
break;
|
|
63
|
+
default:
|
|
64
|
+
console.warn(`Unhandled content type: ${content.type}`);
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.js
CHANGED
|
@@ -2,7 +2,7 @@ import { PageHeaderDesktop, PageHeaderMobile, BRAND_PAGE_TYPES, EMPTY_LOGO_IMAGE
|
|
|
2
2
|
import { brandPageContentsSampleData, brandPageContentsSampleDataStarterKit, } from './page-content-items';
|
|
3
3
|
import { DEFAULT_MAX_NUM_OF_PAGES, UNLIMITED_MAX_NUM_OF_PAGES, } from '../../../stores';
|
|
4
4
|
import { simpleLogoDesignAttributes } from '../../../../__fixtures__';
|
|
5
|
-
import
|
|
5
|
+
import { v4 as uuid } from 'uuid';
|
|
6
6
|
import { CONTENT_SETTINGS_CONFIGS } from '../../../constants';
|
|
7
7
|
export const storyEmailAddress = 'test@test.com';
|
|
8
8
|
const backgroundShapes = [
|
|
@@ -1097,7 +1097,7 @@ export const BRAND_PAGE_PERSONALISED = {
|
|
|
1097
1097
|
title: 'page 1',
|
|
1098
1098
|
contents: [
|
|
1099
1099
|
{
|
|
1100
|
-
id: uuid
|
|
1100
|
+
id: uuid(),
|
|
1101
1101
|
type: 'profile',
|
|
1102
1102
|
personalisationRole: 'profile',
|
|
1103
1103
|
avatarImageUrl: '',
|
|
@@ -1120,7 +1120,7 @@ export const BRAND_PAGE_PERSONALISED = {
|
|
|
1120
1120
|
},
|
|
1121
1121
|
},
|
|
1122
1122
|
{
|
|
1123
|
-
id: uuid
|
|
1123
|
+
id: uuid(),
|
|
1124
1124
|
type: 'text',
|
|
1125
1125
|
backgroundColor: {},
|
|
1126
1126
|
iconUrl: '',
|
|
@@ -1132,7 +1132,7 @@ export const BRAND_PAGE_PERSONALISED = {
|
|
|
1132
1132
|
personalisationRole: 'information',
|
|
1133
1133
|
},
|
|
1134
1134
|
{
|
|
1135
|
-
id: uuid
|
|
1135
|
+
id: uuid(),
|
|
1136
1136
|
type: 'image',
|
|
1137
1137
|
imageTitle: '',
|
|
1138
1138
|
isFullWidth: false,
|
|
@@ -1140,7 +1140,7 @@ export const BRAND_PAGE_PERSONALISED = {
|
|
|
1140
1140
|
personalisationRole: 'media',
|
|
1141
1141
|
},
|
|
1142
1142
|
{
|
|
1143
|
-
id: uuid
|
|
1143
|
+
id: uuid(),
|
|
1144
1144
|
title: 'Shapes',
|
|
1145
1145
|
type: 'shapes-section',
|
|
1146
1146
|
displayStyle: 'centered',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import MockAdapter from 'axios-mock-adapter';
|
|
3
3
|
import { CUSTOM_DOMAIN_DESIGN_DRAFT_TOKEN, PUBLISHED_DESIGN_DRAFT_TOKEN, } from '../__fixtures__';
|
|
4
|
-
import
|
|
4
|
+
import { v4 as uuid } from 'uuid';
|
|
5
5
|
import { CUSTOM_DOMAIN_STATUSES, DNS_CONFIGURATION_STATUSES, } from '../../../constants';
|
|
6
6
|
export const mockCustomDomainApiCalls = (options = {}) => {
|
|
7
7
|
const mock = options.mockAxios || new MockAdapter(axios);
|
|
@@ -17,7 +17,7 @@ export const mockCustomDomainApiCalls = (options = {}) => {
|
|
|
17
17
|
created: new Date(),
|
|
18
18
|
updated: new Date(),
|
|
19
19
|
domainName: 'test.com',
|
|
20
|
-
id: uuid
|
|
20
|
+
id: uuid(),
|
|
21
21
|
dnsConfigurationStatus: DNS_CONFIGURATION_STATUSES.completed,
|
|
22
22
|
status: CUSTOM_DOMAIN_STATUSES.active,
|
|
23
23
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineStore } from 'pinia';
|
|
2
|
-
import
|
|
2
|
+
import { v4 as uuid } from 'uuid';
|
|
3
3
|
import { generateSku } from '../../../shared/ecommerce-settings/util/skuUtils';
|
|
4
4
|
export const useProductConfigStore = defineStore('productConfig', {
|
|
5
5
|
state: () => ({
|
|
@@ -37,7 +37,7 @@ export const useProductConfigStore = defineStore('productConfig', {
|
|
|
37
37
|
openModal(product) {
|
|
38
38
|
this.isNewProduct = !product;
|
|
39
39
|
if (!product) {
|
|
40
|
-
this.productId = uuid
|
|
40
|
+
this.productId = uuid();
|
|
41
41
|
this.productVariants.push(this.getEmptyVariant());
|
|
42
42
|
}
|
|
43
43
|
else {
|
|
@@ -58,11 +58,11 @@ export const useProductConfigStore = defineStore('productConfig', {
|
|
|
58
58
|
},
|
|
59
59
|
getEmptyVariant() {
|
|
60
60
|
return {
|
|
61
|
-
id: uuid
|
|
61
|
+
id: uuid(),
|
|
62
62
|
name: '',
|
|
63
63
|
options: [
|
|
64
64
|
{
|
|
65
|
-
id: uuid
|
|
65
|
+
id: uuid(),
|
|
66
66
|
name: '',
|
|
67
67
|
price: 0,
|
|
68
68
|
},
|
|
@@ -71,7 +71,7 @@ export const useProductConfigStore = defineStore('productConfig', {
|
|
|
71
71
|
},
|
|
72
72
|
addDefaultVariantOptions(variantIndex) {
|
|
73
73
|
this.productVariants[variantIndex].options.push({
|
|
74
|
-
id: uuid
|
|
74
|
+
id: uuid(),
|
|
75
75
|
name: '',
|
|
76
76
|
price: 0,
|
|
77
77
|
});
|
|
@@ -113,7 +113,7 @@ export const useProductConfigStore = defineStore('productConfig', {
|
|
|
113
113
|
},
|
|
114
114
|
];
|
|
115
115
|
const sku = {
|
|
116
|
-
id: uuid
|
|
116
|
+
id: uuid(),
|
|
117
117
|
price: option.price,
|
|
118
118
|
skuKey: generateSku(this.productName, option),
|
|
119
119
|
variant: skuVariant,
|
|
@@ -125,7 +125,7 @@ export const useProductConfigStore = defineStore('productConfig', {
|
|
|
125
125
|
}
|
|
126
126
|
else {
|
|
127
127
|
skus.push({
|
|
128
|
-
id: uuid
|
|
128
|
+
id: uuid(),
|
|
129
129
|
price: this.productDefaultPrice,
|
|
130
130
|
skuKey: generateSku(this.productName, undefined),
|
|
131
131
|
variant: [],
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* @typedef {MakerSettings} MediaClientOptions
|
|
21
21
|
*/
|
|
22
22
|
import Axios from 'axios';
|
|
23
|
-
import
|
|
23
|
+
import { v4 as uuidV4 } from 'uuid';
|
|
24
24
|
import { getUserMediaTokensFromLocalStorage, addUserMediaTokenToLocalStorage, removeUserMediaTokenFromLocalStorage, } from '../utils/localStorageUtils';
|
|
25
25
|
export default class MediaClient {
|
|
26
26
|
findPaginatedAdminMediaEndpoint = (skip, take, videoOnly) => `${this.options.mediaBaseUrl}/maker/media/GetPaginatedAdminMedia?skip=${skip}&take=${take}&videoOnly=${videoOnly}`;
|
|
@@ -54,7 +54,7 @@ export default class MediaClient {
|
|
|
54
54
|
* @returns {string}
|
|
55
55
|
*/
|
|
56
56
|
generateMediaToken = () => {
|
|
57
|
-
return
|
|
57
|
+
return uuidV4();
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
60
60
|
* @param {string} keyPrefix
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import { getExtensionFromMimeType } from '../brand-page-maker/utils/file-extension.util';
|
|
3
|
-
import
|
|
3
|
+
import { v4 as uuidV4 } from 'uuid';
|
|
4
4
|
const NEW_POLICY_KEY = 'policyForAssetConvertorTrigger';
|
|
5
5
|
const OLD_POLICY_KEY = 'policyForOldUpload';
|
|
6
6
|
export class UserMediaClient {
|
|
@@ -85,7 +85,7 @@ export class UserMediaClient {
|
|
|
85
85
|
if (!policy) {
|
|
86
86
|
return;
|
|
87
87
|
}
|
|
88
|
-
const mediaToken =
|
|
88
|
+
const mediaToken = uuidV4();
|
|
89
89
|
file.mediaToken = mediaToken;
|
|
90
90
|
let key = `${policy.keyPrefix}${file.mediaToken}`;
|
|
91
91
|
if (useOldPolicy) {
|
|
@@ -2020,9 +2020,6 @@ a.maker-anchor {
|
|
|
2020
2020
|
.tw-rounded-sm {
|
|
2021
2021
|
border-radius: 0.125rem
|
|
2022
2022
|
}
|
|
2023
|
-
.tw-rounded-xl {
|
|
2024
|
-
border-radius: 0.75rem
|
|
2025
|
-
}
|
|
2026
2023
|
.\!tw-rounded-l-none {
|
|
2027
2024
|
border-top-left-radius: 0px !important;
|
|
2028
2025
|
border-bottom-left-radius: 0px !important
|
|
@@ -3156,6 +3153,10 @@ a.maker-anchor {
|
|
|
3156
3153
|
--tw-bg-opacity: 1;
|
|
3157
3154
|
background-color: rgb(0 121 172 / var(--tw-bg-opacity))
|
|
3158
3155
|
}
|
|
3156
|
+
.hover\:tw-bg-primary-100:hover {
|
|
3157
|
+
--tw-bg-opacity: 1;
|
|
3158
|
+
background-color: rgb(252 209 217 / var(--tw-bg-opacity))
|
|
3159
|
+
}
|
|
3159
3160
|
.hover\:tw-bg-primary-400:hover {
|
|
3160
3161
|
--tw-bg-opacity: 1;
|
|
3161
3162
|
background-color: rgb(245 73 101 / var(--tw-bg-opacity))
|
|
@@ -4259,13 +4260,13 @@ a.maker-anchor {
|
|
|
4259
4260
|
}
|
|
4260
4261
|
|
|
4261
4262
|
@media (max-width: 640px) {
|
|
4262
|
-
[data-v-
|
|
4263
|
+
[data-v-59d8988e] .publish-bp--modal {
|
|
4263
4264
|
max-height: 90vh;
|
|
4264
4265
|
width: 90vw;
|
|
4265
4266
|
}
|
|
4266
4267
|
}
|
|
4267
4268
|
@media (min-width: 640px) {
|
|
4268
|
-
[data-v-
|
|
4269
|
+
[data-v-59d8988e] .publish-bp--modal {
|
|
4269
4270
|
max-height: 80vh;
|
|
4270
4271
|
width: 90vw;
|
|
4271
4272
|
}
|
|
@@ -8123,11 +8124,11 @@ body {
|
|
|
8123
8124
|
min-width: 33.333333%
|
|
8124
8125
|
}
|
|
8125
8126
|
|
|
8126
|
-
.rich-text-editor[data-v-
|
|
8127
|
+
.rich-text-editor[data-v-48e6fdd4]:focus-within {
|
|
8127
8128
|
--tw-border-opacity: 1;
|
|
8128
8129
|
border-color: rgb(94 94 94 / var(--tw-border-opacity));
|
|
8129
8130
|
}
|
|
8130
|
-
.style-editor[data-v-
|
|
8131
|
+
.style-editor[data-v-48e6fdd4] {
|
|
8131
8132
|
display: -webkit-box;
|
|
8132
8133
|
display: -ms-flexbox;
|
|
8133
8134
|
display: flex;
|
|
@@ -8138,7 +8139,7 @@ body {
|
|
|
8138
8139
|
-ms-flex-wrap: wrap;
|
|
8139
8140
|
flex-wrap: wrap;
|
|
8140
8141
|
}
|
|
8141
|
-
.style-editor[data-v-
|
|
8142
|
+
.style-editor[data-v-48e6fdd4] button:not(.c-button-style) {
|
|
8142
8143
|
display: -webkit-box;
|
|
8143
8144
|
display: -ms-flexbox;
|
|
8144
8145
|
display: flex;
|
|
@@ -8148,16 +8149,16 @@ body {
|
|
|
8148
8149
|
padding-left: 0.5rem;
|
|
8149
8150
|
padding-right: 0.5rem;
|
|
8150
8151
|
}
|
|
8151
|
-
.style-editor-button[data-v-
|
|
8152
|
+
.style-editor-button[data-v-48e6fdd4] {
|
|
8152
8153
|
cursor: pointer;
|
|
8153
8154
|
padding-left: 0.25rem;
|
|
8154
8155
|
padding-top: 0.25rem;
|
|
8155
8156
|
}
|
|
8156
|
-
.toolbar-editor-button.active[data-v-
|
|
8157
|
+
.toolbar-editor-button.active[data-v-48e6fdd4] {
|
|
8157
8158
|
font-weight: 700;
|
|
8158
8159
|
background: #e3e3e3;
|
|
8159
8160
|
}
|
|
8160
|
-
.toolbar-editor-button[data-v-
|
|
8161
|
+
.toolbar-editor-button[data-v-48e6fdd4] {
|
|
8161
8162
|
height: 32px;
|
|
8162
8163
|
width: 32px;
|
|
8163
8164
|
border-radius: 4px;
|
|
@@ -8175,7 +8176,7 @@ body {
|
|
|
8175
8176
|
-ms-flex-pack: center;
|
|
8176
8177
|
justify-content: center;
|
|
8177
8178
|
}
|
|
8178
|
-
[data-v-
|
|
8179
|
+
[data-v-48e6fdd4] .ProseMirror {
|
|
8179
8180
|
border-top: 1px solid #ccc;
|
|
8180
8181
|
min-height: 150px;
|
|
8181
8182
|
padding: 8px;
|
|
@@ -8188,10 +8189,10 @@ body {
|
|
|
8188
8189
|
max-height: 14rem;
|
|
8189
8190
|
overflow: auto;
|
|
8190
8191
|
}
|
|
8191
|
-
[data-v-
|
|
8192
|
+
[data-v-48e6fdd4] .ProseMirror:focus {
|
|
8192
8193
|
outline: none;
|
|
8193
8194
|
}
|
|
8194
|
-
[data-v-
|
|
8195
|
+
[data-v-48e6fdd4] .ProseMirror * {
|
|
8195
8196
|
text-align: left !important;
|
|
8196
8197
|
font-size: 16px !important;
|
|
8197
8198
|
color: #606060 !important;
|
|
@@ -8200,17 +8201,17 @@ body {
|
|
|
8200
8201
|
background-color: transparent !important;
|
|
8201
8202
|
font-family: 'Lato' !important;
|
|
8202
8203
|
}
|
|
8203
|
-
.error-message[data-v-
|
|
8204
|
+
.error-message[data-v-48e6fdd4] {
|
|
8204
8205
|
color: #d32f2f;
|
|
8205
8206
|
font-size: 0.875rem;
|
|
8206
8207
|
margin-top: 4px;
|
|
8207
8208
|
}
|
|
8208
|
-
.spacing-popup-container[data-v-
|
|
8209
|
+
.spacing-popup-container[data-v-48e6fdd4] {
|
|
8209
8210
|
position: absolute;
|
|
8210
8211
|
z-index: 9999;
|
|
8211
8212
|
right: 8%;
|
|
8212
8213
|
}
|
|
8213
|
-
.spacing-popup-panel[data-v-
|
|
8214
|
+
.spacing-popup-panel[data-v-48e6fdd4] {
|
|
8214
8215
|
background: #fff;
|
|
8215
8216
|
border: 1px solid #ccc;
|
|
8216
8217
|
border-radius: 8px;
|
|
@@ -8218,17 +8219,17 @@ body {
|
|
|
8218
8219
|
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
8219
8220
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
8220
8221
|
}
|
|
8221
|
-
.spacing-popup-panel[data-v-
|
|
8222
|
+
.spacing-popup-panel[data-v-48e6fdd4] input {
|
|
8222
8223
|
border: 1px solid #ccc;
|
|
8223
8224
|
border-radius: 8px;
|
|
8224
8225
|
}
|
|
8225
|
-
.border[data-v-
|
|
8226
|
+
.border[data-v-48e6fdd4] {
|
|
8226
8227
|
width: 100%;
|
|
8227
8228
|
--tw-bg-opacity: 1;
|
|
8228
8229
|
background-color: rgb(208 208 208 / var(--tw-bg-opacity));
|
|
8229
8230
|
height: 1px;
|
|
8230
8231
|
}
|
|
8231
|
-
[data-v-
|
|
8232
|
+
[data-v-48e6fdd4] .text-dropdown-title {
|
|
8232
8233
|
height: 2rem;
|
|
8233
8234
|
width: 100%;
|
|
8234
8235
|
font-size: 0.875rem;
|
|
@@ -8237,7 +8238,7 @@ body {
|
|
|
8237
8238
|
color: rgb(43 43 43 / var(--tw-text-opacity));
|
|
8238
8239
|
font-weight: 300;
|
|
8239
8240
|
}
|
|
8240
|
-
[data-v-
|
|
8241
|
+
[data-v-48e6fdd4] .ProseMirror p.is-editor-empty:first-child::before {
|
|
8241
8242
|
--tw-text-opacity: 1;
|
|
8242
8243
|
color: rgb(208 208 208 / var(--tw-text-opacity));
|
|
8243
8244
|
content: attr(data-placeholder);
|
|
@@ -8246,53 +8247,53 @@ body {
|
|
|
8246
8247
|
pointer-events: none;
|
|
8247
8248
|
}
|
|
8248
8249
|
@media (max-width: 399px) {
|
|
8249
|
-
.style-editor-button-font[data-v-
|
|
8250
|
-
.style-editor-button-textstyle[data-v-
|
|
8250
|
+
.style-editor-button-font[data-v-48e6fdd4],
|
|
8251
|
+
.style-editor-button-textstyle[data-v-48e6fdd4] {
|
|
8251
8252
|
max-width: 48%;
|
|
8252
8253
|
padding-bottom: 0.25rem;
|
|
8253
8254
|
}
|
|
8254
|
-
.style-editor-button.stepper[data-v-
|
|
8255
|
+
.style-editor-button.stepper[data-v-48e6fdd4] {
|
|
8255
8256
|
max-width: 40%;
|
|
8256
8257
|
}
|
|
8257
|
-
.style-editor-button-stepper[data-v-
|
|
8258
|
+
.style-editor-button-stepper[data-v-48e6fdd4] {
|
|
8258
8259
|
max-width: 100%;
|
|
8259
8260
|
}
|
|
8260
|
-
.border.desktop[data-v-
|
|
8261
|
+
.border.desktop[data-v-48e6fdd4] {
|
|
8261
8262
|
display: none;
|
|
8262
8263
|
}
|
|
8263
|
-
.border.mobile[data-v-
|
|
8264
|
+
.border.mobile[data-v-48e6fdd4] {
|
|
8264
8265
|
display: block;
|
|
8265
8266
|
}
|
|
8266
|
-
[data-v-
|
|
8267
|
+
[data-v-48e6fdd4] .left-align {
|
|
8267
8268
|
-webkit-transform: translateX(-50%);
|
|
8268
8269
|
transform: translateX(-50%);
|
|
8269
8270
|
}
|
|
8270
8271
|
}
|
|
8271
8272
|
@media (min-width: 400px) {
|
|
8272
|
-
.style-editor-button.stepper[data-v-
|
|
8273
|
+
.style-editor-button.stepper[data-v-48e6fdd4] {
|
|
8273
8274
|
max-width: 32%;
|
|
8274
8275
|
}
|
|
8275
|
-
.style-editor-button-font[data-v-
|
|
8276
|
+
.style-editor-button-font[data-v-48e6fdd4] {
|
|
8276
8277
|
max-width: 28%;
|
|
8277
8278
|
}
|
|
8278
|
-
.style-editor-button-stepper[data-v-
|
|
8279
|
+
.style-editor-button-stepper[data-v-48e6fdd4] {
|
|
8279
8280
|
max-width: 100%;
|
|
8280
8281
|
}
|
|
8281
|
-
.style-editor-button-textstyle[data-v-
|
|
8282
|
+
.style-editor-button-textstyle[data-v-48e6fdd4] {
|
|
8282
8283
|
max-width: 25%;
|
|
8283
8284
|
}
|
|
8284
|
-
.border.desktop[data-v-
|
|
8285
|
+
.border.desktop[data-v-48e6fdd4] {
|
|
8285
8286
|
display: block;
|
|
8286
8287
|
}
|
|
8287
|
-
.border.mobile[data-v-
|
|
8288
|
+
.border.mobile[data-v-48e6fdd4] {
|
|
8288
8289
|
display: none;
|
|
8289
8290
|
}
|
|
8290
|
-
[data-v-
|
|
8291
|
+
[data-v-48e6fdd4] .left-align {
|
|
8291
8292
|
-webkit-transform: translateX(-25%);
|
|
8292
8293
|
transform: translateX(-25%);
|
|
8293
8294
|
}
|
|
8294
8295
|
}
|
|
8295
|
-
.drop-down-item[data-v-
|
|
8296
|
+
.drop-down-item[data-v-48e6fdd4]:hover {
|
|
8296
8297
|
background-color: #eee;
|
|
8297
8298
|
}
|
|
8298
8299
|
|
|
@@ -2444,9 +2444,6 @@ a.maker-anchor {
|
|
|
2444
2444
|
.tw-rounded-sm {
|
|
2445
2445
|
border-radius: 0.125rem;
|
|
2446
2446
|
}
|
|
2447
|
-
.tw-rounded-xl {
|
|
2448
|
-
border-radius: 0.75rem;
|
|
2449
|
-
}
|
|
2450
2447
|
.\!tw-rounded-l-none {
|
|
2451
2448
|
border-top-left-radius: 0px !important;
|
|
2452
2449
|
border-bottom-left-radius: 0px !important;
|
|
@@ -4590,13 +4587,13 @@ a.maker-anchor {
|
|
|
4590
4587
|
}
|
|
4591
4588
|
|
|
4592
4589
|
@media (max-width: 640px) {
|
|
4593
|
-
[data-v-
|
|
4590
|
+
[data-v-59d8988e] .publish-bp--modal {
|
|
4594
4591
|
max-height: 90vh;
|
|
4595
4592
|
width: 90vw;
|
|
4596
4593
|
}
|
|
4597
4594
|
}
|
|
4598
4595
|
@media (min-width: 640px) {
|
|
4599
|
-
[data-v-
|
|
4596
|
+
[data-v-59d8988e] .publish-bp--modal {
|
|
4600
4597
|
max-height: 80vh;
|
|
4601
4598
|
width: 90vw;
|
|
4602
4599
|
}
|
|
@@ -8454,11 +8451,11 @@ body {
|
|
|
8454
8451
|
min-width: 33.333333%
|
|
8455
8452
|
}
|
|
8456
8453
|
|
|
8457
|
-
.rich-text-editor[data-v-
|
|
8454
|
+
.rich-text-editor[data-v-48e6fdd4]:focus-within {
|
|
8458
8455
|
--tw-border-opacity: 1;
|
|
8459
8456
|
border-color: rgb(94 94 94 / var(--tw-border-opacity));
|
|
8460
8457
|
}
|
|
8461
|
-
.style-editor[data-v-
|
|
8458
|
+
.style-editor[data-v-48e6fdd4] {
|
|
8462
8459
|
display: -webkit-box;
|
|
8463
8460
|
display: -ms-flexbox;
|
|
8464
8461
|
display: flex;
|
|
@@ -8469,7 +8466,7 @@ body {
|
|
|
8469
8466
|
-ms-flex-wrap: wrap;
|
|
8470
8467
|
flex-wrap: wrap;
|
|
8471
8468
|
}
|
|
8472
|
-
.style-editor[data-v-
|
|
8469
|
+
.style-editor[data-v-48e6fdd4] button:not(.c-button-style) {
|
|
8473
8470
|
display: -webkit-box;
|
|
8474
8471
|
display: -ms-flexbox;
|
|
8475
8472
|
display: flex;
|
|
@@ -8479,16 +8476,16 @@ body {
|
|
|
8479
8476
|
padding-left: 0.5rem;
|
|
8480
8477
|
padding-right: 0.5rem;
|
|
8481
8478
|
}
|
|
8482
|
-
.style-editor-button[data-v-
|
|
8479
|
+
.style-editor-button[data-v-48e6fdd4] {
|
|
8483
8480
|
cursor: pointer;
|
|
8484
8481
|
padding-left: 0.25rem;
|
|
8485
8482
|
padding-top: 0.25rem;
|
|
8486
8483
|
}
|
|
8487
|
-
.toolbar-editor-button.active[data-v-
|
|
8484
|
+
.toolbar-editor-button.active[data-v-48e6fdd4] {
|
|
8488
8485
|
font-weight: 700;
|
|
8489
8486
|
background: #e3e3e3;
|
|
8490
8487
|
}
|
|
8491
|
-
.toolbar-editor-button[data-v-
|
|
8488
|
+
.toolbar-editor-button[data-v-48e6fdd4] {
|
|
8492
8489
|
height: 32px;
|
|
8493
8490
|
width: 32px;
|
|
8494
8491
|
border-radius: 4px;
|
|
@@ -8506,7 +8503,7 @@ body {
|
|
|
8506
8503
|
-ms-flex-pack: center;
|
|
8507
8504
|
justify-content: center;
|
|
8508
8505
|
}
|
|
8509
|
-
[data-v-
|
|
8506
|
+
[data-v-48e6fdd4] .ProseMirror {
|
|
8510
8507
|
border-top: 1px solid #ccc;
|
|
8511
8508
|
min-height: 150px;
|
|
8512
8509
|
padding: 8px;
|
|
@@ -8519,10 +8516,10 @@ body {
|
|
|
8519
8516
|
max-height: 14rem;
|
|
8520
8517
|
overflow: auto;
|
|
8521
8518
|
}
|
|
8522
|
-
[data-v-
|
|
8519
|
+
[data-v-48e6fdd4] .ProseMirror:focus {
|
|
8523
8520
|
outline: none;
|
|
8524
8521
|
}
|
|
8525
|
-
[data-v-
|
|
8522
|
+
[data-v-48e6fdd4] .ProseMirror * {
|
|
8526
8523
|
text-align: left !important;
|
|
8527
8524
|
font-size: 16px !important;
|
|
8528
8525
|
color: #606060 !important;
|
|
@@ -8531,17 +8528,17 @@ body {
|
|
|
8531
8528
|
background-color: transparent !important;
|
|
8532
8529
|
font-family: 'Lato' !important;
|
|
8533
8530
|
}
|
|
8534
|
-
.error-message[data-v-
|
|
8531
|
+
.error-message[data-v-48e6fdd4] {
|
|
8535
8532
|
color: #d32f2f;
|
|
8536
8533
|
font-size: 0.875rem;
|
|
8537
8534
|
margin-top: 4px;
|
|
8538
8535
|
}
|
|
8539
|
-
.spacing-popup-container[data-v-
|
|
8536
|
+
.spacing-popup-container[data-v-48e6fdd4] {
|
|
8540
8537
|
position: absolute;
|
|
8541
8538
|
z-index: 9999;
|
|
8542
8539
|
right: 8%;
|
|
8543
8540
|
}
|
|
8544
|
-
.spacing-popup-panel[data-v-
|
|
8541
|
+
.spacing-popup-panel[data-v-48e6fdd4] {
|
|
8545
8542
|
background: #fff;
|
|
8546
8543
|
border: 1px solid #ccc;
|
|
8547
8544
|
border-radius: 8px;
|
|
@@ -8549,17 +8546,17 @@ body {
|
|
|
8549
8546
|
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
8550
8547
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
8551
8548
|
}
|
|
8552
|
-
.spacing-popup-panel[data-v-
|
|
8549
|
+
.spacing-popup-panel[data-v-48e6fdd4] input {
|
|
8553
8550
|
border: 1px solid #ccc;
|
|
8554
8551
|
border-radius: 8px;
|
|
8555
8552
|
}
|
|
8556
|
-
.border[data-v-
|
|
8553
|
+
.border[data-v-48e6fdd4] {
|
|
8557
8554
|
width: 100%;
|
|
8558
8555
|
--tw-bg-opacity: 1;
|
|
8559
8556
|
background-color: rgb(208 208 208 / var(--tw-bg-opacity));
|
|
8560
8557
|
height: 1px;
|
|
8561
8558
|
}
|
|
8562
|
-
[data-v-
|
|
8559
|
+
[data-v-48e6fdd4] .text-dropdown-title {
|
|
8563
8560
|
height: 2rem;
|
|
8564
8561
|
width: 100%;
|
|
8565
8562
|
font-size: 0.875rem;
|
|
@@ -8568,7 +8565,7 @@ body {
|
|
|
8568
8565
|
color: rgb(43 43 43 / var(--tw-text-opacity));
|
|
8569
8566
|
font-weight: 300;
|
|
8570
8567
|
}
|
|
8571
|
-
[data-v-
|
|
8568
|
+
[data-v-48e6fdd4] .ProseMirror p.is-editor-empty:first-child::before {
|
|
8572
8569
|
--tw-text-opacity: 1;
|
|
8573
8570
|
color: rgb(208 208 208 / var(--tw-text-opacity));
|
|
8574
8571
|
content: attr(data-placeholder);
|
|
@@ -8577,53 +8574,53 @@ body {
|
|
|
8577
8574
|
pointer-events: none;
|
|
8578
8575
|
}
|
|
8579
8576
|
@media (max-width: 399px) {
|
|
8580
|
-
.style-editor-button-font[data-v-
|
|
8581
|
-
.style-editor-button-textstyle[data-v-
|
|
8577
|
+
.style-editor-button-font[data-v-48e6fdd4],
|
|
8578
|
+
.style-editor-button-textstyle[data-v-48e6fdd4] {
|
|
8582
8579
|
max-width: 48%;
|
|
8583
8580
|
padding-bottom: 0.25rem;
|
|
8584
8581
|
}
|
|
8585
|
-
.style-editor-button.stepper[data-v-
|
|
8582
|
+
.style-editor-button.stepper[data-v-48e6fdd4] {
|
|
8586
8583
|
max-width: 40%;
|
|
8587
8584
|
}
|
|
8588
|
-
.style-editor-button-stepper[data-v-
|
|
8585
|
+
.style-editor-button-stepper[data-v-48e6fdd4] {
|
|
8589
8586
|
max-width: 100%;
|
|
8590
8587
|
}
|
|
8591
|
-
.border.desktop[data-v-
|
|
8588
|
+
.border.desktop[data-v-48e6fdd4] {
|
|
8592
8589
|
display: none;
|
|
8593
8590
|
}
|
|
8594
|
-
.border.mobile[data-v-
|
|
8591
|
+
.border.mobile[data-v-48e6fdd4] {
|
|
8595
8592
|
display: block;
|
|
8596
8593
|
}
|
|
8597
|
-
[data-v-
|
|
8594
|
+
[data-v-48e6fdd4] .left-align {
|
|
8598
8595
|
-webkit-transform: translateX(-50%);
|
|
8599
8596
|
transform: translateX(-50%);
|
|
8600
8597
|
}
|
|
8601
8598
|
}
|
|
8602
8599
|
@media (min-width: 400px) {
|
|
8603
|
-
.style-editor-button.stepper[data-v-
|
|
8600
|
+
.style-editor-button.stepper[data-v-48e6fdd4] {
|
|
8604
8601
|
max-width: 32%;
|
|
8605
8602
|
}
|
|
8606
|
-
.style-editor-button-font[data-v-
|
|
8603
|
+
.style-editor-button-font[data-v-48e6fdd4] {
|
|
8607
8604
|
max-width: 28%;
|
|
8608
8605
|
}
|
|
8609
|
-
.style-editor-button-stepper[data-v-
|
|
8606
|
+
.style-editor-button-stepper[data-v-48e6fdd4] {
|
|
8610
8607
|
max-width: 100%;
|
|
8611
8608
|
}
|
|
8612
|
-
.style-editor-button-textstyle[data-v-
|
|
8609
|
+
.style-editor-button-textstyle[data-v-48e6fdd4] {
|
|
8613
8610
|
max-width: 25%;
|
|
8614
8611
|
}
|
|
8615
|
-
.border.desktop[data-v-
|
|
8612
|
+
.border.desktop[data-v-48e6fdd4] {
|
|
8616
8613
|
display: block;
|
|
8617
8614
|
}
|
|
8618
|
-
.border.mobile[data-v-
|
|
8615
|
+
.border.mobile[data-v-48e6fdd4] {
|
|
8619
8616
|
display: none;
|
|
8620
8617
|
}
|
|
8621
|
-
[data-v-
|
|
8618
|
+
[data-v-48e6fdd4] .left-align {
|
|
8622
8619
|
-webkit-transform: translateX(-25%);
|
|
8623
8620
|
transform: translateX(-25%);
|
|
8624
8621
|
}
|
|
8625
8622
|
}
|
|
8626
|
-
.drop-down-item[data-v-
|
|
8623
|
+
.drop-down-item[data-v-48e6fdd4]:hover {
|
|
8627
8624
|
background-color: #eee;
|
|
8628
8625
|
}
|
|
8629
8626
|
|