@designcrowd/library.brand-page 5.12.8-shape-3 → 5.12.9
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/{CreatedOnBrandCrowd-de-de-C6yHS_uc.js → CreatedOnBrandCrowd-de-de-BSa_oMUS.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-71jFnX4a.js → CreatedOnBrandCrowd-en-us-CrDm6Zsd.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-BWQ3wBEd.js → CreatedOnBrandCrowd-es-es-D_osPiN2.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-Ckd8_eBU.js → CreatedOnBrandCrowd-fr-fr-B6KRVAx0.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-DU_TBU5B.js → CreatedOnBrandCrowd-pt-pt-DflhU2ts.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-MeXQe36m.js → CreatedOnDcom-de-de-CMxzzUpC.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-i2V8pHQC.js → CreatedOnDcom-en-us-Cgau0pJ6.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-R881IuIY.js → CreatedOnDcom-es-es-7mE5DRiG.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-Cj4S6RmF.js → CreatedOnDcom-fr-fr-D2Q_bKeL.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-9VaIe9-M.js → CreatedOnDcom-pt-pt-CdsDaHLJ.js} +1 -1
- package/lib/src/brand-page/components/background-shape/BackgroundShape.mixin.d.ts +1 -3
- package/lib/src/brand-page/components/background-shape/BackgroundShape.mixin.js +8 -49
- package/lib/src/brand-page/components/media/Shape.mixin.d.ts +2 -3
- package/lib/src/brand-page/components/media/Shape.mixin.js +11 -44
- package/lib/src/brand-page/utils/svg.util.d.ts +0 -1
- package/lib/src/brand-page/utils/svg.util.js +0 -3
- package/lib/src/brand-page-maker/utils/url.util.js +1 -1
- package/lib/src/css/library.brand-page-brandCrowd.min.css +43 -40
- package/lib/src/css/library.brand-page-brandPage.min.css +43 -40
- package/lib/src/css/library.brand-page-designCom.min.css +43 -40
- package/lib/src/css/library.brand-page-preview.min.css +43 -40
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-Bpr4nnTY.js → lib-C0TzGTrm.js} +11586 -11602
- package/package.json +1 -1
- package/src/brand-page/components/background-shape/BackgroundShape.mixin.ts +12 -64
- package/src/brand-page/components/background-shape/BackgroundShape.vue +12 -2
- package/src/brand-page/components/media/Shape.mixin.ts +17 -56
- package/src/brand-page/components/media/Shape.vue +7 -0
- package/src/brand-page/utils/svg.util.ts +0 -4
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +7 -1
- package/src/brand-page-maker/utils/url.util.test.ts +6 -0
- package/src/brand-page-maker/utils/url.util.ts +1 -1
|
@@ -7,16 +7,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7
7
|
};
|
|
8
8
|
}>, {}, {
|
|
9
9
|
svgData: string;
|
|
10
|
-
svgDataObjectUrl: string;
|
|
11
10
|
originalSvgData: string;
|
|
12
11
|
}, {
|
|
13
12
|
useObjectElement(): boolean;
|
|
14
13
|
backgroundShapesStyle(): BrandPageCssStyle;
|
|
15
14
|
isFullBackground(): boolean;
|
|
16
|
-
|
|
15
|
+
svgAttributes(): string;
|
|
17
16
|
}, {
|
|
18
17
|
isValidSvgUrl(url: string): boolean;
|
|
19
|
-
applySvgAttributes(svgData: string): string;
|
|
20
18
|
render(): Promise<void>;
|
|
21
19
|
}, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
22
20
|
isPreview: {
|
|
@@ -4,7 +4,6 @@ import axios from 'axios';
|
|
|
4
4
|
import { applyColorToSvgString } from '../../utils/svg-color.util';
|
|
5
5
|
import { isURL } from '../../../utils/validator.util';
|
|
6
6
|
import { PROXY_SHAPE_URL_REGEX } from '../../../brand-page/constants';
|
|
7
|
-
import { getRegexToMatchAttributeInSvgTag } from '../../../brand-page/utils/svg.util';
|
|
8
7
|
const SUPPORTED_SHAPE_HOSTS = [
|
|
9
8
|
'https://bc-user-uploads.brandcrowd.com/public',
|
|
10
9
|
'https://bcassetcdn.com/shapes',
|
|
@@ -18,7 +17,7 @@ export default defineComponent({
|
|
|
18
17
|
},
|
|
19
18
|
},
|
|
20
19
|
data() {
|
|
21
|
-
return { svgData: '',
|
|
20
|
+
return { svgData: '', originalSvgData: '' };
|
|
22
21
|
},
|
|
23
22
|
computed: {
|
|
24
23
|
useObjectElement() {
|
|
@@ -31,11 +30,13 @@ export default defineComponent({
|
|
|
31
30
|
return (this.viewModel.style.width === '100%' &&
|
|
32
31
|
this.viewModel.style.height === '100%');
|
|
33
32
|
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
svgAttributes() {
|
|
34
|
+
const attributes = [];
|
|
35
|
+
if (this.isFullBackground) {
|
|
36
|
+
attributes.push('preserveAspectRatio="xMidYMid slice"');
|
|
37
|
+
attributes.push('style="width: 100%; height: 100%;"');
|
|
37
38
|
}
|
|
38
|
-
return
|
|
39
|
+
return attributes.join(' ');
|
|
39
40
|
},
|
|
40
41
|
},
|
|
41
42
|
watch: {
|
|
@@ -60,37 +61,6 @@ export default defineComponent({
|
|
|
60
61
|
return (!!SUPPORTED_SHAPE_HOSTS.find((h) => url.startsWith(h)) &&
|
|
61
62
|
url.endsWith('.svg'));
|
|
62
63
|
},
|
|
63
|
-
applySvgAttributes(svgData) {
|
|
64
|
-
const attributes = [];
|
|
65
|
-
if (this.isFullBackground) {
|
|
66
|
-
const widthRegex = getRegexToMatchAttributeInSvgTag('width');
|
|
67
|
-
if (svgData.match(widthRegex)) {
|
|
68
|
-
svgData = svgData.replace(widthRegex, `$1width="100%"`);
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
attributes.push(`width="100%"`);
|
|
72
|
-
}
|
|
73
|
-
const heightRegex = getRegexToMatchAttributeInSvgTag('height');
|
|
74
|
-
if (svgData.match(heightRegex)) {
|
|
75
|
-
svgData = svgData.replace(heightRegex, `$1height="100%"`);
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
attributes.push(`height="100%"`);
|
|
79
|
-
}
|
|
80
|
-
const preserveAspectRatioRegex = getRegexToMatchAttributeInSvgTag('preserveAspectRatio');
|
|
81
|
-
if (svgData.match(preserveAspectRatioRegex)) {
|
|
82
|
-
svgData = svgData.replace(preserveAspectRatioRegex, `$1preserveAspectRatio="xMidYMid slice"`);
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
attributes.push(`preserveAspectRatio="xMidYMid slice"`);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
const svgAttributes = attributes.join(' ');
|
|
89
|
-
if (svgAttributes) {
|
|
90
|
-
svgData = svgData.replace('<svg ', `<svg ${svgAttributes} `);
|
|
91
|
-
}
|
|
92
|
-
return svgData;
|
|
93
|
-
},
|
|
94
64
|
async render() {
|
|
95
65
|
if (this.useObjectElement) {
|
|
96
66
|
return;
|
|
@@ -107,18 +77,7 @@ export default defineComponent({
|
|
|
107
77
|
if (this.viewModel.style.color) {
|
|
108
78
|
this.svgData = applyColorToSvgString(this.originalSvgData, this.viewModel.style.color);
|
|
109
79
|
}
|
|
110
|
-
|
|
111
|
-
this.svgData = this.originalSvgData;
|
|
112
|
-
}
|
|
113
|
-
this.svgData = this.applySvgAttributes(this.svgData);
|
|
114
|
-
const blob = new Blob([this.svgData], { type: 'image/svg+xml' });
|
|
115
|
-
const oldSvgDataObjectUrl = this.svgDataObjectUrl;
|
|
116
|
-
// Create an Object URL
|
|
117
|
-
this.svgDataObjectUrl = URL.createObjectURL(blob);
|
|
118
|
-
if (oldSvgDataObjectUrl) {
|
|
119
|
-
// clean up previous Object URL
|
|
120
|
-
URL.revokeObjectURL(oldSvgDataObjectUrl);
|
|
121
|
-
}
|
|
80
|
+
this.svgData = this.svgData.replace('<svg ', `<svg ${this.svgAttributes} `);
|
|
122
81
|
},
|
|
123
82
|
},
|
|
124
83
|
});
|
|
@@ -26,7 +26,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
26
26
|
};
|
|
27
27
|
}>, {}, {
|
|
28
28
|
svgData: string;
|
|
29
|
-
svgDataObjectUrl: string;
|
|
30
29
|
originalSvgData: string;
|
|
31
30
|
}, {
|
|
32
31
|
useObjectElement(): boolean;
|
|
@@ -37,9 +36,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
37
36
|
width: any;
|
|
38
37
|
height: any;
|
|
39
38
|
};
|
|
40
|
-
objectUrl():
|
|
39
|
+
objectUrl(): string;
|
|
40
|
+
svgAttributes(): string;
|
|
41
41
|
}, {
|
|
42
|
-
applySvgAttributes(svgData: string): string;
|
|
43
42
|
renderAsInnerHtml(): Promise<void>;
|
|
44
43
|
}, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
45
44
|
isPreview: {
|
|
@@ -3,7 +3,6 @@ import ComponentCommonMixin from '../mixins/component-common.mixin';
|
|
|
3
3
|
import axios from 'axios';
|
|
4
4
|
import { applyColorReplacementsToSvgString } from '../../utils/svg-color.util';
|
|
5
5
|
import { PROXY_SHAPE_URL_REGEX } from '../../../brand-page/constants';
|
|
6
|
-
import { getRegexToMatchAttributeInSvgTag } from '../../../brand-page/utils/svg.util';
|
|
7
6
|
export default defineComponent({
|
|
8
7
|
mixins: [ComponentCommonMixin],
|
|
9
8
|
props: {
|
|
@@ -32,7 +31,7 @@ export default defineComponent({
|
|
|
32
31
|
},
|
|
33
32
|
},
|
|
34
33
|
data() {
|
|
35
|
-
return { svgData: '',
|
|
34
|
+
return { svgData: '', originalSvgData: '' };
|
|
36
35
|
},
|
|
37
36
|
computed: {
|
|
38
37
|
useObjectElement() {
|
|
@@ -48,9 +47,6 @@ export default defineComponent({
|
|
|
48
47
|
};
|
|
49
48
|
},
|
|
50
49
|
objectUrl() {
|
|
51
|
-
if (!this.useObjectElement) {
|
|
52
|
-
return this.svgDataObjectUrl;
|
|
53
|
-
}
|
|
54
50
|
let dimensionQuery = ``;
|
|
55
51
|
if (this.size) {
|
|
56
52
|
const encodedSize = encodeURIComponent(this.size);
|
|
@@ -58,15 +54,18 @@ export default defineComponent({
|
|
|
58
54
|
}
|
|
59
55
|
return `${this.imageUrl}${dimensionQuery}`;
|
|
60
56
|
},
|
|
57
|
+
svgAttributes() {
|
|
58
|
+
const attributes = [];
|
|
59
|
+
if (this.size) {
|
|
60
|
+
attributes.push(`height=${this.size} width=${this.size}`);
|
|
61
|
+
}
|
|
62
|
+
return attributes.join(' ');
|
|
63
|
+
},
|
|
61
64
|
},
|
|
62
65
|
watch: {
|
|
63
66
|
colorReplacements: {
|
|
64
|
-
handler(
|
|
65
|
-
|
|
66
|
-
oldVal &&
|
|
67
|
-
JSON.stringify(newVal) !== JSON.stringify(oldVal)) {
|
|
68
|
-
this.renderAsInnerHtml();
|
|
69
|
-
}
|
|
67
|
+
handler() {
|
|
68
|
+
this.renderAsInnerHtml();
|
|
70
69
|
},
|
|
71
70
|
deep: true,
|
|
72
71
|
},
|
|
@@ -102,44 +101,12 @@ export default defineComponent({
|
|
|
102
101
|
}
|
|
103
102
|
},
|
|
104
103
|
methods: {
|
|
105
|
-
applySvgAttributes(svgData) {
|
|
106
|
-
const attributes = [];
|
|
107
|
-
if (this.size) {
|
|
108
|
-
const widthRegex = getRegexToMatchAttributeInSvgTag('width');
|
|
109
|
-
if (svgData.match(widthRegex)) {
|
|
110
|
-
svgData = svgData.replace(widthRegex, `$1width="${this.size}"`);
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
attributes.push(`width="${this.size}"`);
|
|
114
|
-
}
|
|
115
|
-
const heightRegex = getRegexToMatchAttributeInSvgTag('height');
|
|
116
|
-
if (svgData.match(heightRegex)) {
|
|
117
|
-
svgData = svgData.replace(heightRegex, `$1height="${this.size}"`);
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
attributes.push(`height="${this.size}"`);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
const svgAttributes = attributes.join(' ');
|
|
124
|
-
if (svgAttributes) {
|
|
125
|
-
svgData = svgData.replace('<svg ', `<svg ${svgAttributes} `);
|
|
126
|
-
}
|
|
127
|
-
return svgData;
|
|
128
|
-
},
|
|
129
104
|
async renderAsInnerHtml() {
|
|
130
105
|
if (!this.originalSvgData) {
|
|
131
106
|
return;
|
|
132
107
|
}
|
|
133
108
|
this.svgData = applyColorReplacementsToSvgString(this.originalSvgData, this.colorReplacements);
|
|
134
|
-
this.svgData = this.
|
|
135
|
-
const blob = new Blob([this.svgData], { type: 'image/svg+xml' });
|
|
136
|
-
const oldSvgDataObjectUrl = this.svgDataObjectUrl;
|
|
137
|
-
// Create an Object URL
|
|
138
|
-
this.svgDataObjectUrl = URL.createObjectURL(blob);
|
|
139
|
-
if (oldSvgDataObjectUrl) {
|
|
140
|
-
// clean up previous Object URL
|
|
141
|
-
URL.revokeObjectURL(oldSvgDataObjectUrl);
|
|
142
|
-
}
|
|
109
|
+
this.svgData = this.svgData.replace('<svg ', `<svg ${this.svgAttributes} `);
|
|
143
110
|
},
|
|
144
111
|
},
|
|
145
112
|
});
|
|
@@ -5,4 +5,3 @@ export declare const normaliseSvgData: (svgData: string) => string;
|
|
|
5
5
|
export declare const setSvgCssStyle: (svgData: string, cssStyle: string) => string;
|
|
6
6
|
/** svg linear gradient is shared across the DOM, append unique suffix to avoid conflict issue */
|
|
7
7
|
export declare const appendSvgIdSuffix: (svgData: string, svgIdSuffix: string) => string;
|
|
8
|
-
export declare const getRegexToMatchAttributeInSvgTag: (attribute: string) => RegExp;
|
|
@@ -21,6 +21,3 @@ export const setSvgCssStyle = (svgData, cssStyle) => {
|
|
|
21
21
|
export const appendSvgIdSuffix = (svgData, svgIdSuffix) => {
|
|
22
22
|
return svgData.replace(/(SVGID(?:_\d+)+)/g, `$1_${svgIdSuffix}`);
|
|
23
23
|
};
|
|
24
|
-
export const getRegexToMatchAttributeInSvgTag = (attribute) => {
|
|
25
|
-
return new RegExp(`(<svg\\b[^>]*?)${attribute}="[^"]*"`, 'i');
|
|
26
|
-
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const YOUTUBE_URL_RE = /(?:https?:\/\/)?(?:www|m)?\.?(?:youtube|youtu)\.(?:com|be)\/(?!channel\/|c\/|user\/|u\/)(?:embed\/|watch)?(?:\?.*v=)?([^&]+).*/i;
|
|
1
|
+
export const YOUTUBE_URL_RE = /(?:https?:\/\/)?(?:www|m)?\.?(?:youtube|youtu)\.(?:com|be)\/(?!channel\/|c\/|user\/|u\/)(?:embed\/|watch|shorts\/)?(?:\?.*v=)?([^&]+).*/i;
|
|
2
2
|
export const DOMAIN_NAME_RE = /^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/;
|
|
3
3
|
export const validateCustomDomainName = (domainName) => DOMAIN_NAME_RE.test(domainName);
|
|
@@ -5097,7 +5097,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5097
5097
|
width: 100%;
|
|
5098
5098
|
}
|
|
5099
5099
|
|
|
5100
|
-
.c-shape-background[data-v-
|
|
5100
|
+
.c-shape-background[data-v-89074788] {
|
|
5101
5101
|
-webkit-transform: translate3d(0, 0, 0);
|
|
5102
5102
|
transform: translate3d(0, 0, 0);
|
|
5103
5103
|
position: fixed;
|
|
@@ -5106,11 +5106,11 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5106
5106
|
width: 100%;
|
|
5107
5107
|
height: 100vh;
|
|
5108
5108
|
}
|
|
5109
|
-
.template-preview .c-shape-background[data-v-
|
|
5110
|
-
.device-wrapper .c-shape-background[data-v-
|
|
5109
|
+
.template-preview .c-shape-background[data-v-89074788],
|
|
5110
|
+
.device-wrapper .c-shape-background[data-v-89074788] {
|
|
5111
5111
|
height: 100%;
|
|
5112
5112
|
}
|
|
5113
|
-
.c-shape[data-v-
|
|
5113
|
+
.c-shape[data-v-89074788] {
|
|
5114
5114
|
fill: currentColor;
|
|
5115
5115
|
}
|
|
5116
5116
|
|
|
@@ -5127,7 +5127,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5127
5127
|
height: 2rem;
|
|
5128
5128
|
}
|
|
5129
5129
|
|
|
5130
|
-
.c-shape[data-v-
|
|
5130
|
+
.c-shape[data-v-36d8ec03] {
|
|
5131
5131
|
fill: currentColor;
|
|
5132
5132
|
}
|
|
5133
5133
|
|
|
@@ -8145,11 +8145,11 @@ body {
|
|
|
8145
8145
|
min-width: 33.333333%
|
|
8146
8146
|
}
|
|
8147
8147
|
|
|
8148
|
-
.rich-text-editor[data-v-
|
|
8148
|
+
.rich-text-editor[data-v-d4706300]:focus-within {
|
|
8149
8149
|
--tw-border-opacity: 1;
|
|
8150
8150
|
border-color: rgb(94 94 94 / var(--tw-border-opacity));
|
|
8151
8151
|
}
|
|
8152
|
-
.style-editor[data-v-
|
|
8152
|
+
.style-editor[data-v-d4706300] {
|
|
8153
8153
|
display: -webkit-box;
|
|
8154
8154
|
display: -ms-flexbox;
|
|
8155
8155
|
display: flex;
|
|
@@ -8160,7 +8160,7 @@ body {
|
|
|
8160
8160
|
-ms-flex-wrap: wrap;
|
|
8161
8161
|
flex-wrap: wrap;
|
|
8162
8162
|
}
|
|
8163
|
-
.style-editor[data-v-
|
|
8163
|
+
.style-editor[data-v-d4706300] button:not(.c-button-style) {
|
|
8164
8164
|
display: -webkit-box;
|
|
8165
8165
|
display: -ms-flexbox;
|
|
8166
8166
|
display: flex;
|
|
@@ -8170,16 +8170,16 @@ body {
|
|
|
8170
8170
|
padding-left: 0.5rem;
|
|
8171
8171
|
padding-right: 0.5rem;
|
|
8172
8172
|
}
|
|
8173
|
-
.style-editor-button[data-v-
|
|
8173
|
+
.style-editor-button[data-v-d4706300] {
|
|
8174
8174
|
cursor: pointer;
|
|
8175
8175
|
padding-left: 0.25rem;
|
|
8176
8176
|
padding-top: 0.25rem;
|
|
8177
8177
|
}
|
|
8178
|
-
.toolbar-editor-button.active[data-v-
|
|
8178
|
+
.toolbar-editor-button.active[data-v-d4706300] {
|
|
8179
8179
|
font-weight: 700;
|
|
8180
8180
|
background: #e3e3e3;
|
|
8181
8181
|
}
|
|
8182
|
-
.toolbar-editor-button[data-v-
|
|
8182
|
+
.toolbar-editor-button[data-v-d4706300] {
|
|
8183
8183
|
height: 32px;
|
|
8184
8184
|
width: 32px;
|
|
8185
8185
|
border-radius: 4px;
|
|
@@ -8197,7 +8197,7 @@ body {
|
|
|
8197
8197
|
-ms-flex-pack: center;
|
|
8198
8198
|
justify-content: center;
|
|
8199
8199
|
}
|
|
8200
|
-
[data-v-
|
|
8200
|
+
[data-v-d4706300] .ProseMirror {
|
|
8201
8201
|
border-top: 1px solid #ccc;
|
|
8202
8202
|
min-height: 150px;
|
|
8203
8203
|
padding: 8px;
|
|
@@ -8210,10 +8210,10 @@ body {
|
|
|
8210
8210
|
max-height: 14rem;
|
|
8211
8211
|
overflow: auto;
|
|
8212
8212
|
}
|
|
8213
|
-
[data-v-
|
|
8213
|
+
[data-v-d4706300] .ProseMirror:focus {
|
|
8214
8214
|
outline: none;
|
|
8215
8215
|
}
|
|
8216
|
-
[data-v-
|
|
8216
|
+
[data-v-d4706300] .ProseMirror * {
|
|
8217
8217
|
text-align: left !important;
|
|
8218
8218
|
font-size: 16px !important;
|
|
8219
8219
|
color: #606060 !important;
|
|
@@ -8222,25 +8222,28 @@ body {
|
|
|
8222
8222
|
background-color: transparent !important;
|
|
8223
8223
|
font-family: 'Lato' !important;
|
|
8224
8224
|
}
|
|
8225
|
-
[data-v-
|
|
8225
|
+
[data-v-d4706300] .ProseMirror a s,[data-v-d4706300] .ProseMirror a strike,[data-v-d4706300] .ProseMirror a [data-strike] {
|
|
8226
|
+
text-decoration: line-through !important;
|
|
8227
|
+
}
|
|
8228
|
+
[data-v-d4706300] .ProseMirror a,[data-v-d4706300] .ProseMirror a * {
|
|
8226
8229
|
color: #0097d7 !important;
|
|
8227
8230
|
text-decoration: underline !important;
|
|
8228
8231
|
}
|
|
8229
|
-
.error-message[data-v-
|
|
8232
|
+
.error-message[data-v-d4706300] {
|
|
8230
8233
|
color: #d32f2f;
|
|
8231
8234
|
font-size: 0.875rem;
|
|
8232
8235
|
margin-top: 4px;
|
|
8233
8236
|
}
|
|
8234
|
-
.popup-container[data-v-
|
|
8237
|
+
.popup-container[data-v-d4706300] {
|
|
8235
8238
|
position: absolute;
|
|
8236
8239
|
z-index: 10;
|
|
8237
8240
|
right: 8%;
|
|
8238
8241
|
}
|
|
8239
|
-
.hyperlink-preview[data-v-
|
|
8242
|
+
.hyperlink-preview[data-v-d4706300] {
|
|
8240
8243
|
position: absolute;
|
|
8241
8244
|
z-index: 10;
|
|
8242
8245
|
}
|
|
8243
|
-
.popup-panel[data-v-
|
|
8246
|
+
.popup-panel[data-v-d4706300] {
|
|
8244
8247
|
background: #fff;
|
|
8245
8248
|
border: 1px solid #ccc;
|
|
8246
8249
|
border-radius: 8px;
|
|
@@ -8248,17 +8251,17 @@ body {
|
|
|
8248
8251
|
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
8249
8252
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
8250
8253
|
}
|
|
8251
|
-
.popup-panel[data-v-
|
|
8254
|
+
.popup-panel[data-v-d4706300] input {
|
|
8252
8255
|
border: 1px solid #ccc;
|
|
8253
8256
|
border-radius: 8px;
|
|
8254
8257
|
}
|
|
8255
|
-
.border[data-v-
|
|
8258
|
+
.border[data-v-d4706300] {
|
|
8256
8259
|
width: 100%;
|
|
8257
8260
|
--tw-bg-opacity: 1;
|
|
8258
8261
|
background-color: rgb(208 208 208 / var(--tw-bg-opacity));
|
|
8259
8262
|
height: 1px;
|
|
8260
8263
|
}
|
|
8261
|
-
[data-v-
|
|
8264
|
+
[data-v-d4706300] .text-dropdown-title {
|
|
8262
8265
|
height: 2rem;
|
|
8263
8266
|
width: 100%;
|
|
8264
8267
|
font-size: 0.875rem;
|
|
@@ -8267,7 +8270,7 @@ body {
|
|
|
8267
8270
|
color: rgb(43 43 43 / var(--tw-text-opacity));
|
|
8268
8271
|
font-weight: 300;
|
|
8269
8272
|
}
|
|
8270
|
-
[data-v-
|
|
8273
|
+
[data-v-d4706300] .ProseMirror p.is-editor-empty:first-child::before {
|
|
8271
8274
|
--tw-text-opacity: 1;
|
|
8272
8275
|
color: rgb(208 208 208 / var(--tw-text-opacity));
|
|
8273
8276
|
content: attr(data-placeholder);
|
|
@@ -8276,56 +8279,56 @@ body {
|
|
|
8276
8279
|
pointer-events: none;
|
|
8277
8280
|
}
|
|
8278
8281
|
@media (max-width: 399px) {
|
|
8279
|
-
.style-editor-button-font[data-v-
|
|
8280
|
-
.style-editor-button-textstyle[data-v-
|
|
8282
|
+
.style-editor-button-font[data-v-d4706300],
|
|
8283
|
+
.style-editor-button-textstyle[data-v-d4706300] {
|
|
8281
8284
|
max-width: 48%;
|
|
8282
8285
|
padding-bottom: 0.25rem;
|
|
8283
8286
|
}
|
|
8284
|
-
.style-editor-button.stepper[data-v-
|
|
8287
|
+
.style-editor-button.stepper[data-v-d4706300] {
|
|
8285
8288
|
max-width: 40%;
|
|
8286
8289
|
}
|
|
8287
|
-
.style-editor-button-stepper[data-v-
|
|
8290
|
+
.style-editor-button-stepper[data-v-d4706300] {
|
|
8288
8291
|
max-width: 100%;
|
|
8289
8292
|
}
|
|
8290
|
-
.border.desktop[data-v-
|
|
8293
|
+
.border.desktop[data-v-d4706300] {
|
|
8291
8294
|
display: none;
|
|
8292
8295
|
}
|
|
8293
|
-
.border.mobile[data-v-
|
|
8296
|
+
.border.mobile[data-v-d4706300] {
|
|
8294
8297
|
display: block;
|
|
8295
8298
|
}
|
|
8296
|
-
[data-v-
|
|
8299
|
+
[data-v-d4706300] .left-align {
|
|
8297
8300
|
-webkit-transform: translateX(-50%);
|
|
8298
8301
|
transform: translateX(-50%);
|
|
8299
8302
|
}
|
|
8300
|
-
.hyperlink-popup[data-v-
|
|
8301
|
-
z-index:
|
|
8303
|
+
.hyperlink-popup[data-v-d4706300] {
|
|
8304
|
+
z-index: 10000 !important;
|
|
8302
8305
|
}
|
|
8303
8306
|
}
|
|
8304
8307
|
@media (min-width: 400px) {
|
|
8305
|
-
.style-editor-button.stepper[data-v-
|
|
8308
|
+
.style-editor-button.stepper[data-v-d4706300] {
|
|
8306
8309
|
max-width: 32%;
|
|
8307
8310
|
}
|
|
8308
|
-
.style-editor-button-font[data-v-
|
|
8311
|
+
.style-editor-button-font[data-v-d4706300] {
|
|
8309
8312
|
max-width: 28%;
|
|
8310
8313
|
}
|
|
8311
|
-
.style-editor-button-stepper[data-v-
|
|
8314
|
+
.style-editor-button-stepper[data-v-d4706300] {
|
|
8312
8315
|
max-width: 100%;
|
|
8313
8316
|
}
|
|
8314
|
-
.style-editor-button-textstyle[data-v-
|
|
8317
|
+
.style-editor-button-textstyle[data-v-d4706300] {
|
|
8315
8318
|
max-width: 25%;
|
|
8316
8319
|
}
|
|
8317
|
-
.border.desktop[data-v-
|
|
8320
|
+
.border.desktop[data-v-d4706300] {
|
|
8318
8321
|
display: block;
|
|
8319
8322
|
}
|
|
8320
|
-
.border.mobile[data-v-
|
|
8323
|
+
.border.mobile[data-v-d4706300] {
|
|
8321
8324
|
display: none;
|
|
8322
8325
|
}
|
|
8323
|
-
[data-v-
|
|
8326
|
+
[data-v-d4706300] .left-align {
|
|
8324
8327
|
-webkit-transform: translateX(-25%);
|
|
8325
8328
|
transform: translateX(-25%);
|
|
8326
8329
|
}
|
|
8327
8330
|
}
|
|
8328
|
-
.drop-down-item[data-v-
|
|
8331
|
+
.drop-down-item[data-v-d4706300]:hover {
|
|
8329
8332
|
background-color: #eee;
|
|
8330
8333
|
}
|
|
8331
8334
|
|