@designcrowd/library.brand-page 5.10.6-maker-tester-2 → 5.10.6-ml-2
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/components/banner-section/BannerSection.mixin.js +1 -2
- 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/utils/personalisation.util.js +1 -1
- package/lib/src/brand-page/utils/text.util.d.ts +2 -0
- package/lib/src/brand-page/utils/text.util.js +11 -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 +14323 -14202
- package/lib/src/lib.js +1 -0
- package/lib/src/shared/content-settings/components/GenericTextInput.mixin.js +1 -1
- 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-items-field/TextItemsField.mixin.js +1 -1
- package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.js +2 -2
- package/lib/src/shared/content-settings/utils.d.ts +0 -2
- package/lib/src/shared/content-settings/utils.js +0 -11
- 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/components/banner-section/BannerSection.mixin.ts +1 -2
- package/src/brand-page/utils/content-callback-util.ts +116 -0
- package/src/brand-page/utils/personalisation.util.ts +1 -1
- package/src/brand-page/utils/text.util.ts +16 -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/GenericTextInput.mixin.ts +4 -1
- 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-items-field/TextItemsField.mixin.ts +1 -1
- package/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.ts +2 -2
- package/src/shared/content-settings/utils.ts +0 -16
- 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
|
@@ -2,9 +2,8 @@ import { defineComponent } from 'vue';
|
|
|
2
2
|
import ComponentCommonMixin from '../mixins/component-common.mixin';
|
|
3
3
|
import { isURL } from '../../../utils/validator.util';
|
|
4
4
|
import { ALIGN_CENTERED, ALIGN_LEFT_ALIGNED, ALIGN_RIGHT_ALIGNED, BIG_IMAGE, ALIGN_LEFT_BIG_IMAGE, ALIGN_RIGHT_FULL_IMAGE, ALIGN_LEFT_FULL_IMAGE, ALIGN_CARD_CENTER_IMAGE, ALIGN_CARD_LEFT_IMAGE, } from '../../constants';
|
|
5
|
-
import { getRenderText } from '../../utils';
|
|
5
|
+
import { getRenderText, escapeContentText } from '../../utils';
|
|
6
6
|
import { hasRTEContent } from '../../../brand-page-maker/utils';
|
|
7
|
-
import { escapeContentText } from '../../../shared/content-settings/utils';
|
|
8
7
|
export default defineComponent({
|
|
9
8
|
mixins: [ComponentCommonMixin],
|
|
10
9
|
props: {
|
|
@@ -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
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { escapeContentText } from '../../
|
|
1
|
+
import { escapeContentText } from '../../brand-page/utils';
|
|
2
2
|
import { DEFAULT_PERSONALISATION_MAPPING, PERSONALISATION_MAPPINGS, TEXT_MEDIA_CONTENT_TYPES, } from '../../brand-page-maker/constants/personalisation.constant';
|
|
3
3
|
import { BRAND_PAGE_TYPES, ShapeAspectRatioCategory } from '../models';
|
|
4
4
|
import { getColorReplacementsFromSvgString, getColorReplacementsFromSvgStringServer, } from './svg-color.util';
|
|
@@ -2,3 +2,14 @@ import { ESCAPED_NEWLINE_CHARACTER } from '../../constants/ui';
|
|
|
2
2
|
export const getRenderText = (text) => {
|
|
3
3
|
return text.replace(new RegExp(`(${ESCAPED_NEWLINE_CHARACTER}|\\n)`, 'g'), '<br/>');
|
|
4
4
|
};
|
|
5
|
+
export const escapeContentText = (text) => {
|
|
6
|
+
if (!text) {
|
|
7
|
+
return text;
|
|
8
|
+
}
|
|
9
|
+
return text
|
|
10
|
+
.replace(/(<([^>]+)>)/gi, '')
|
|
11
|
+
.replace(/(\r\n|\r|\n)/g, ESCAPED_NEWLINE_CHARACTER);
|
|
12
|
+
};
|
|
13
|
+
export const unescapeContentText = (text) => {
|
|
14
|
+
return text.replace(new RegExp(`${ESCAPED_NEWLINE_CHARACTER}`, 'g'), '\n');
|
|
15
|
+
};
|
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
|
|