@designcrowd/library.brand-page 5.11.5-ast-mp-hyperlink-2 → 5.11.5-ast-mp-hyperlink-3
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-maker/composables/rich-text-editor/useRichTextEditor.d.ts +3 -2
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +42 -2
- package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +2 -0
- package/lib/src/brand-page-maker/composables/useEventTracker.js +2 -0
- package/lib/src/bundled-translations-rba4_gaE.js +23 -0
- package/lib/src/bundled-translations.de-DE-DE_DAjRw.js +23 -0
- package/lib/src/bundled-translations.es-ES-DWrMG6u0.js +23 -0
- package/lib/src/bundled-translations.fr-FR-Dy_OiSUQ.js +23 -0
- package/lib/src/bundled-translations.pt-PT-DXnY8x_3.js +23 -0
- package/lib/src/css/library.brand-page-brandCrowd.min.css +35 -35
- package/lib/src/css/library.brand-page-brandPage.min.css +35 -35
- package/lib/src/css/library.brand-page-designCom.min.css +35 -35
- package/lib/src/css/library.brand-page-preview.min.css +35 -35
- package/lib/src/index.mjs +32458 -32504
- package/package.json +2 -2
- package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +1 -24
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +51 -2
- package/src/brand-page-maker/composables/useEventTracker.ts +2 -0
- package/lib/src/bundled-translations-yNXD14vd.js +0 -25
- package/lib/src/bundled-translations.de-DE-JcuQ3w62.js +0 -25
- package/lib/src/bundled-translations.es-ES-CxAmhY4A.js +0 -25
- package/lib/src/bundled-translations.fr-FR-ClTzpDVd.js +0 -25
- package/lib/src/bundled-translations.pt-PT-CaCaJJ12.js +0 -25
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ModelRef, type ComputedRef, type Ref, type WritableComputedRef } from 'vue';
|
|
2
2
|
import { Editor } from '@tiptap/vue-3';
|
|
3
3
|
import type { StyleTextFontFamilyOption } from '../../../shared/style-settings/models';
|
|
4
|
-
import type { TextStyles } from '../../../brand-page';
|
|
4
|
+
import type { HyperlinkType, TextStyles } from '../../../brand-page';
|
|
5
5
|
import { type TextItem, type TextStyleDeclaration } from '../../../brand-page';
|
|
6
6
|
import type { ButtonGroupOption } from '../../../brand-page-maker/models/button-group.model';
|
|
7
7
|
interface UseRichTextEditorReturn {
|
|
@@ -70,6 +70,7 @@ export declare const useRichTextEditor: (model: ModelRef<any>, props: {
|
|
|
70
70
|
placeholder: string;
|
|
71
71
|
textItemIndex: number;
|
|
72
72
|
item: TextItem;
|
|
73
|
+
contentType: string;
|
|
73
74
|
}, emit: (event: 'focus' | 'blur' | 'update:modelValue', ...args: any[]) => void, fontSettings: {
|
|
74
75
|
selectedTextStyle: string;
|
|
75
76
|
selectedFont: string;
|
|
@@ -77,5 +78,5 @@ export declare const useRichTextEditor: (model: ModelRef<any>, props: {
|
|
|
77
78
|
selectedFontSizePx: number;
|
|
78
79
|
selectedTextColor: string;
|
|
79
80
|
selectedBackgroundColor: string;
|
|
80
|
-
}, fontStyleDropdownRef: Ref<DropdownInstance | undefined, DropdownInstance | undefined>, selectedGlobalTextStyles: WritableComputedRef<TextStyles, string>, onSelectTextStyleType: (option: ButtonGroupOption) => void, updateRichTextEditor: Ref<boolean>, textStyleTypeOptions: ButtonGroupOption[], markedText: Ref<string>, isHyperlinkPopupOpen: Ref<boolean>) => UseRichTextEditorReturn;
|
|
81
|
+
}, fontStyleDropdownRef: Ref<DropdownInstance | undefined, DropdownInstance | undefined>, selectedGlobalTextStyles: WritableComputedRef<TextStyles, string>, onSelectTextStyleType: (option: ButtonGroupOption) => void, updateRichTextEditor: Ref<boolean>, textStyleTypeOptions: ButtonGroupOption[], markedText: Ref<string>, isHyperlinkPopupOpen: Ref<boolean>, selectedLinkTypeValue: Ref<HyperlinkType>) => UseRichTextEditorReturn;
|
|
81
82
|
export {};
|
|
@@ -18,7 +18,7 @@ import { useFont } from './font';
|
|
|
18
18
|
import { useSpacing } from './spacing';
|
|
19
19
|
import Color from 'color';
|
|
20
20
|
import { buildInitialMarks, emToPx, isStyleChanged, pxToEm, sanitiseClientSideRTE, skipStyleDetection, } from '../../../brand-page-maker/utils';
|
|
21
|
-
import {} from '../../../brand-page';
|
|
21
|
+
import { HYPERLINK_TYPE, } from '../../../brand-page';
|
|
22
22
|
import { letterSpacingValueConvertor, colorConvertor, backgroundColorConvertor, } from '../../../brand-page-maker/convertors';
|
|
23
23
|
import { useUiContentSettingsStore } from '../../../shared/content-settings/store';
|
|
24
24
|
import { AllSelection } from 'prosemirror-state';
|
|
@@ -27,6 +27,9 @@ import { AutoLink } from './extensions/AutoLink';
|
|
|
27
27
|
import { useHyperlink } from './hyperlink';
|
|
28
28
|
import { useBubbleMenu } from './bubbleMenu';
|
|
29
29
|
import { hasLogoColorVar, isLogoColor, getRTEColor, } from '../../utils/rich-text-editor.util';
|
|
30
|
+
import { useEventTracker, EVENTS } from '../useEventTracker';
|
|
31
|
+
import { useBrandPageMakerStore } from '../../../brand-page-maker/stores/brandpage-maker';
|
|
32
|
+
import { useBrandPageContainerStore } from '../../../brand-page-maker/stores/brandpage-container';
|
|
30
33
|
export const useExternalRichTextEditor = () => {
|
|
31
34
|
const externalEditor = new Editor({
|
|
32
35
|
editable: false,
|
|
@@ -69,7 +72,7 @@ export const useExternalRichTextEditor = () => {
|
|
|
69
72
|
externalEditor,
|
|
70
73
|
};
|
|
71
74
|
};
|
|
72
|
-
export const useRichTextEditor = (model, props, emit, fontSettings, fontStyleDropdownRef, selectedGlobalTextStyles, onSelectTextStyleType, updateRichTextEditor, textStyleTypeOptions, markedText, isHyperlinkPopupOpen) => {
|
|
75
|
+
export const useRichTextEditor = (model, props, emit, fontSettings, fontStyleDropdownRef, selectedGlobalTextStyles, onSelectTextStyleType, updateRichTextEditor, textStyleTypeOptions, markedText, isHyperlinkPopupOpen, selectedLinkTypeValue) => {
|
|
73
76
|
const editor = new Editor({
|
|
74
77
|
content: model.value ?? '',
|
|
75
78
|
editable: !props.readOnly,
|
|
@@ -206,6 +209,12 @@ export const useRichTextEditor = (model, props, emit, fontSettings, fontStyleDro
|
|
|
206
209
|
},
|
|
207
210
|
});
|
|
208
211
|
const contentSettingStore = useUiContentSettingsStore();
|
|
212
|
+
const eventTracker = useEventTracker();
|
|
213
|
+
const brandPageMakerStore = useBrandPageMakerStore();
|
|
214
|
+
const brandPageContainerStore = useBrandPageContainerStore();
|
|
215
|
+
const location = brandPageContainerStore.isPrePurchase
|
|
216
|
+
? 'pre_purchase'
|
|
217
|
+
: 'post_purchase';
|
|
209
218
|
const { toggleBold, toggleItalic, toggleUnderline, toggleStrike, toggleTextColor, toggleBackgroundColor, toggleBoldAll, toggleItalicAll, toggleUnderlineAll, toggleStrikeAll, toggleTextColorAll, unsetAllMarks, } = createFormattingActions(editor);
|
|
210
219
|
const { currentAlignment, toggleTextAlign, idx: currentAlignmentIndex, keys: alignmentKeys, } = useTextAlign(editor);
|
|
211
220
|
const { selectedFont, toggleFont, toggleFontSize, toggleFontAll, toggleFontSizeAll, } = useFont(editor, fontSettings, fontStyleDropdownRef);
|
|
@@ -505,8 +514,20 @@ export const useRichTextEditor = (model, props, emit, fontSettings, fontStyleDro
|
|
|
505
514
|
emit('blur');
|
|
506
515
|
};
|
|
507
516
|
const handleHyperlink = (action, data) => {
|
|
517
|
+
const linkType = selectedLinkTypeValue.value === HYPERLINK_TYPE.page
|
|
518
|
+
? 'internal_link'
|
|
519
|
+
: 'external_link';
|
|
508
520
|
switch (action) {
|
|
509
521
|
case 'toggle':
|
|
522
|
+
eventTracker.sendWebsiteEvent({
|
|
523
|
+
eventName: EVENTS.WEBSITE_MAKER_HYPERLINK_CLICK,
|
|
524
|
+
eventProps: {
|
|
525
|
+
link_type: linkType,
|
|
526
|
+
content_type: props.contentType,
|
|
527
|
+
template_type: brandPageMakerStore.brandPageType,
|
|
528
|
+
location,
|
|
529
|
+
},
|
|
530
|
+
});
|
|
510
531
|
isHyperlinkPopupOpen.value = !isHyperlinkPopupOpen.value;
|
|
511
532
|
if (isHyperlinkPopupOpen.value) {
|
|
512
533
|
if (data?.href && data?.text) {
|
|
@@ -534,6 +555,16 @@ export const useRichTextEditor = (model, props, emit, fontSettings, fontStyleDro
|
|
|
534
555
|
}
|
|
535
556
|
break;
|
|
536
557
|
case 'apply':
|
|
558
|
+
// Track Mixpanel event for hyperlink attachment
|
|
559
|
+
eventTracker.sendWebsiteEvent({
|
|
560
|
+
eventName: EVENTS.WEBSITE_MAKER_HYPERLINK_ADD,
|
|
561
|
+
eventProps: {
|
|
562
|
+
link_type: linkType,
|
|
563
|
+
content_type: props.contentType,
|
|
564
|
+
template_type: brandPageMakerStore.brandPageType,
|
|
565
|
+
location,
|
|
566
|
+
},
|
|
567
|
+
});
|
|
537
568
|
const url = hyperlinkValue.value.value;
|
|
538
569
|
const text = markedText.value;
|
|
539
570
|
if (!url.trim()) {
|
|
@@ -548,6 +579,15 @@ export const useRichTextEditor = (model, props, emit, fontSettings, fontStyleDro
|
|
|
548
579
|
isHyperlinkPopupOpen.value = false;
|
|
549
580
|
break;
|
|
550
581
|
case 'remove':
|
|
582
|
+
eventTracker.sendWebsiteEvent({
|
|
583
|
+
eventName: EVENTS.WEBSITE_MAKER_HYPERLINK_REMOVE,
|
|
584
|
+
eventProps: {
|
|
585
|
+
link_type: linkType,
|
|
586
|
+
content_type: props.contentType,
|
|
587
|
+
template_type: brandPageMakerStore.brandPageType,
|
|
588
|
+
location,
|
|
589
|
+
},
|
|
590
|
+
});
|
|
551
591
|
removeHyperlinkFromComposable();
|
|
552
592
|
isHyperlinkPopupOpen.value = false;
|
|
553
593
|
break;
|
|
@@ -34,6 +34,8 @@ export declare const EVENTS: {
|
|
|
34
34
|
WEBSITE_SIDEBAR_TAB_CLICKED: string;
|
|
35
35
|
WEBSITE_MAKER_HYPERLINK_ADD: string;
|
|
36
36
|
WEBSITE_MAKER_HYPERLINK_REMOVE: string;
|
|
37
|
+
WEBSITE_MAKER_HYPERLINK_CLICK: string;
|
|
38
|
+
WEBSITE_MAKER_HYPERLINK_EDIT: string;
|
|
37
39
|
};
|
|
38
40
|
export declare const SELECT_LOCATIONS: {
|
|
39
41
|
MAKER_PREVIEW: string;
|
|
@@ -17,6 +17,8 @@ export const EVENTS = {
|
|
|
17
17
|
WEBSITE_SIDEBAR_TAB_CLICKED: 'website_sidebar_tab_clicked',
|
|
18
18
|
WEBSITE_MAKER_HYPERLINK_ADD: 'website_maker_hyperlink_add',
|
|
19
19
|
WEBSITE_MAKER_HYPERLINK_REMOVE: 'website_maker_hyperlink_remove',
|
|
20
|
+
WEBSITE_MAKER_HYPERLINK_CLICK: 'website_maker_hyperlink_click',
|
|
21
|
+
WEBSITE_MAKER_HYPERLINK_EDIT: 'website_maker_hyperlink_edit',
|
|
20
22
|
};
|
|
21
23
|
export const SELECT_LOCATIONS = {
|
|
22
24
|
MAKER_PREVIEW: 'maker_preview',
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const e = { domainCreditUsed: "Domain credit used", free: "Free" }, a = { onboardingIncomplete: "Onboarding Incomplete", pendingVerification: "Pending Verification", connected: "Connected", inactive: "Inactive", addPaymentProvider: "Add Payment Provider", deletePaymentMethod: "Delete payment method" }, n = { firstTimePublishHeaderLabel: "Set the URL for {{brandPageDisplayName}}", sitePublishedLabel: "Site published!", publishSuccessLabel: "Your {{brandPageDisplayName}} is live! Start using your link:", freePublishCardTitleLabel: "Free Address", freePublishCardDescriptionLabel: "Choose a free address to publish now. You can always edit the URL later", slugInputPlaceholderYourNameLabel: "your-name", slugInputPlaceholderYourBusinessNameLabel: "your-business-name", freeDomainLabel: "Free domain", purchasedDomainLabel: "Purchased domain", setUrlLabel: "Set URL", publishLabel: "Publish", viewMoreDomainLabel: "VIEW MORE DOMAINS", viewMyWebsiteLabel: "View {{brandPageDisplayName}}", copyLabel: "Copy", copySuccessLabel: "Copied!", publishedSuccessDescriptionLabel: "Buy matching domain name for your brand", hasAlreadyPurchasedDomainCloseButtonLabel: "No thanks, maybe later", selectDomainDropdownPlaceholder: "Select domain name" }, r = { freeDomainButtonLabel: "Free Domain", buyNowButtonLabel: "Buy Now", pricePerYearLabel: "/yr", costPriceLabel: "Cost Price:" }, o = { domainSearchHeaderTitle: "Search a domain name", domainSearchHeaderSubtitle: "Buy matching domain name for your brand" }, i = { domainSearchHeaderTitle: "Search a domain name", domainSearchHeaderSubtitle: "Buy matching domain name for your brand" }, t = { searchButtonLabel: "Search", searchBarLabel: "Search", searchBarPlaceholder: "Search domain names", searchBarPreText: "Domain name" }, s = { domainSearchEmptyMessage: `Sorry, we couldn't find any domain for "{{domainNameSearchTerm}}".`, searchAnotherDomainMessage: "Try searching with another domain name." }, l = { searchButtonLabel: "Search", searchBarLabel: "Search", searchBarPlaceholder: "Search domain names", domainSearchOrConnectHeaderSubtitle: "Buy matching domain name for your brand or connect your existing domain" }, d = {
|
|
2
|
+
price: e,
|
|
3
|
+
sharedPaymentConfig: a,
|
|
4
|
+
publishBrandPageModal: n,
|
|
5
|
+
sellDomainNameList: r,
|
|
6
|
+
sellDomainNameListModal: o,
|
|
7
|
+
sellDomainNameModalApplication: i,
|
|
8
|
+
sellDomainNameSearch: t,
|
|
9
|
+
sellDomainNameListSearchResult: s,
|
|
10
|
+
sellDomainNameWidget: l
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
d as default,
|
|
14
|
+
e as price,
|
|
15
|
+
n as publishBrandPageModal,
|
|
16
|
+
r as sellDomainNameList,
|
|
17
|
+
o as sellDomainNameListModal,
|
|
18
|
+
s as sellDomainNameListSearchResult,
|
|
19
|
+
i as sellDomainNameModalApplication,
|
|
20
|
+
t as sellDomainNameSearch,
|
|
21
|
+
l as sellDomainNameWidget,
|
|
22
|
+
a as sharedPaymentConfig
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const e = { domainCreditUsed: "Verwendetes Domain-Guthaben", free: "Kostenlos" }, a = { onboardingIncomplete: "Das Onboarding wurde noch nicht abgeschlossen.", pendingVerification: "Ausstehende Verifizierung", connected: "Verbunden", inactive: "Inaktiv", addPaymentProvider: "Zahlungsanbieter hinzufügen", deletePaymentMethod: "Zahlungsmethode löschen" }, n = { firstTimePublishHeaderLabel: "Legen Sie die URL für {{brandPageDisplayName}} fest", sitePublishedLabel: "Seite veröffentlicht!", publishSuccessLabel: "Ihr {{brandPageDisplayName}} ist live! Beginnen Sie mit der Nutzung Ihres Links:", freePublishCardTitleLabel: "Freie Adresse", freePublishCardDescriptionLabel: "Wählen Sie jetzt eine kostenlose Adresse zur Veröffentlichung aus. Sie können die URL später jederzeit bearbeiten", slugInputPlaceholderYourNameLabel: "ihr-name", slugInputPlaceholderYourBusinessNameLabel: "ihr-firmen-name", freeDomainLabel: "Kostenlose Domain", purchasedDomainLabel: "Erworbene Domain", setUrlLabel: "URL festlegen", publishLabel: "Veröffentlichen", viewMoreDomainLabel: "WEITERE DOMAINS ANZEIGEN", viewMyWebsiteLabel: "{{brandPageDisplayName}} anzeigen", copyLabel: "Kopieren", copySuccessLabel: "Kopiert!", publishedSuccessDescriptionLabel: "Kaufen Sie eine passende Domain für Ihre Marke", hasAlreadyPurchasedDomainCloseButtonLabel: "Nein, danke, vielleicht später", selectDomainDropdownPlaceholder: "Domain auswählen" }, i = { freeDomainButtonLabel: "Kostenlose Domain", buyNowButtonLabel: "Jetzt kaufen", pricePerYearLabel: "/yr", costPriceLabel: "Kostenpreis:" }, r = { domainSearchHeaderTitle: "Domainname suchen", domainSearchHeaderSubtitle: "Kaufen Sie eine passende Domain für Ihre Marke" }, s = { domainSearchHeaderTitle: "Domainname suchen", domainSearchHeaderSubtitle: "Kaufen Sie eine passende Domain für Ihre Marke" }, o = { searchButtonLabel: "Suche", searchBarLabel: "Suche", searchBarPlaceholder: "Domainnamen suchen", searchBarPreText: "Domainname" }, l = { domainSearchEmptyMessage: "Leider konnten wir keine Domain für „{{domainNameSearchTerm}}“ finden.", searchAnotherDomainMessage: "Versuchen Sie, mit einer anderen Domain zu suchen." }, t = { searchButtonLabel: "Suche", searchBarLabel: "Suche", searchBarPlaceholder: "Domainnamen suchen", domainSearchOrConnectHeaderSubtitle: "Kaufen Sie passende Domains für Ihre Marke oder verknüpfen Sie Ihre bestehende Domain" }, c = {
|
|
2
|
+
price: e,
|
|
3
|
+
sharedPaymentConfig: a,
|
|
4
|
+
publishBrandPageModal: n,
|
|
5
|
+
sellDomainNameList: i,
|
|
6
|
+
sellDomainNameListModal: r,
|
|
7
|
+
sellDomainNameModalApplication: s,
|
|
8
|
+
sellDomainNameSearch: o,
|
|
9
|
+
sellDomainNameListSearchResult: l,
|
|
10
|
+
sellDomainNameWidget: t
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
c as default,
|
|
14
|
+
e as price,
|
|
15
|
+
n as publishBrandPageModal,
|
|
16
|
+
i as sellDomainNameList,
|
|
17
|
+
r as sellDomainNameListModal,
|
|
18
|
+
l as sellDomainNameListSearchResult,
|
|
19
|
+
s as sellDomainNameModalApplication,
|
|
20
|
+
o as sellDomainNameSearch,
|
|
21
|
+
t as sellDomainNameWidget,
|
|
22
|
+
a as sharedPaymentConfig
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const e = { domainCreditUsed: "Crédito del dominio usado", free: "Gratis" }, a = { onboardingIncomplete: "Incorporación incompleta", pendingVerification: "Pendiente de verificación", connected: "Conectado", inactive: "Inactivo", addPaymentProvider: "Añadir proveedor de pago", deletePaymentMethod: "Eliminar método de pago" }, o = { firstTimePublishHeaderLabel: "Establece la URL para {{brandPageDisplayName}}", sitePublishedLabel: "¡Sitio publicado!", publishSuccessLabel: "¡Tu {{brandPageDisplayName}} está activo! Comienza a usar tu enlace:", freePublishCardTitleLabel: "Dirección gratuita", freePublishCardDescriptionLabel: "Elige una dirección gratuita para publicar ahora. Siempre puedes editar la URL más tarde", slugInputPlaceholderYourNameLabel: "tu-nombre", slugInputPlaceholderYourBusinessNameLabel: "nombre-de-tu-negocio", freeDomainLabel: "Dominio gratis", purchasedDomainLabel: "Dominio adquirido", setUrlLabel: "Establece URL", publishLabel: "Publicar", viewMoreDomainLabel: "VER MÁS DOMINIOS", viewMyWebsiteLabel: "Ver {{brandPageDisplayName}}", copyLabel: "Copiar", copySuccessLabel: "¡Copiado!", publishedSuccessDescriptionLabel: "Compra un nombre de dominio que coincida con tu marca", hasAlreadyPurchasedDomainCloseButtonLabel: "No gracias, quizás más tarde", selectDomainDropdownPlaceholder: "Selecciona un nombre de dominio" }, i = { freeDomainButtonLabel: "Dominio gratis", buyNowButtonLabel: "Comprar ahora", pricePerYearLabel: "/yr", costPriceLabel: "Precio de coste:" }, r = { domainSearchHeaderTitle: "Busca un nombre de dominio", domainSearchHeaderSubtitle: "Compra un nombre de dominio que coincida con tu marca" }, n = { domainSearchHeaderTitle: "Busca un nombre de dominio", domainSearchHeaderSubtitle: "Compra un nombre de dominio que coincida con tu marca" }, c = { searchButtonLabel: "Buscar", searchBarLabel: "Buscar", searchBarPlaceholder: "Busca nombres de dominio", searchBarPreText: "Nombre de dominio" }, d = { domainSearchEmptyMessage: 'Lo siento, no hemos podido encontrar ningún dominio para "{{domainNameSearchTerm}}".', searchAnotherDomainMessage: "Prueba a buscar con otro nombre de dominio." }, s = { searchButtonLabel: "Buscar", searchBarLabel: "Buscar", searchBarPlaceholder: "Busca nombres de dominio", domainSearchOrConnectHeaderSubtitle: "Compra un nombre de dominio que coincida con tu marca o conecta tu dominio existente" }, t = {
|
|
2
|
+
price: e,
|
|
3
|
+
sharedPaymentConfig: a,
|
|
4
|
+
publishBrandPageModal: o,
|
|
5
|
+
sellDomainNameList: i,
|
|
6
|
+
sellDomainNameListModal: r,
|
|
7
|
+
sellDomainNameModalApplication: n,
|
|
8
|
+
sellDomainNameSearch: c,
|
|
9
|
+
sellDomainNameListSearchResult: d,
|
|
10
|
+
sellDomainNameWidget: s
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
t as default,
|
|
14
|
+
e as price,
|
|
15
|
+
o as publishBrandPageModal,
|
|
16
|
+
i as sellDomainNameList,
|
|
17
|
+
r as sellDomainNameListModal,
|
|
18
|
+
d as sellDomainNameListSearchResult,
|
|
19
|
+
n as sellDomainNameModalApplication,
|
|
20
|
+
c as sellDomainNameSearch,
|
|
21
|
+
s as sellDomainNameWidget,
|
|
22
|
+
a as sharedPaymentConfig
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const e = { domainCreditUsed: "Crédit de domaine utilisé", free: "Gratuit" }, a = { onboardingIncomplete: "Inscription incomplète", pendingVerification: "Vérification en attente", connected: "Connecté", inactive: "Inactif", addPaymentProvider: "Ajouter un fournisseur de paiement", deletePaymentMethod: "Supprimer le mode de paiement" }, r = { firstTimePublishHeaderLabel: "Définissez l'URL pour {{brandPageDisplayName}}", sitePublishedLabel: "Site publié !", publishSuccessLabel: "Votre {{brandPageDisplayName}} est en ligne ! Commencez à utiliser votre lien :", freePublishCardTitleLabel: "Adresse libre", freePublishCardDescriptionLabel: "Choisissez une adresse gratuite pour publier maintenant. Vous pouvez toujours modifier l'URL plus tard", slugInputPlaceholderYourNameLabel: "your-name", slugInputPlaceholderYourBusinessNameLabel: "nom-de-votre-entreprise", freeDomainLabel: "Domaine gratuit", purchasedDomainLabel: "Domaine acheté", setUrlLabel: "Définir l'URL", publishLabel: "Publier", viewMoreDomainLabel: "VOIR PLUS DE NOMS DE DOMAINE", viewMyWebsiteLabel: "Voir {{brandPageDisplayName}}", copyLabel: "Copier", copySuccessLabel: "Copié !", publishedSuccessDescriptionLabel: "Achetez un nom de domaine correspondant à votre marque", hasAlreadyPurchasedDomainCloseButtonLabel: "Non merci, peut-être plus tard", selectDomainDropdownPlaceholder: "Sélectionner un nom de domaine" }, n = { freeDomainButtonLabel: "Domaine gratuit", buyNowButtonLabel: "Acheter", pricePerYearLabel: "/yr", costPriceLabel: "Prix de revient :" }, o = { domainSearchHeaderTitle: "Rechercher un nom de domaine", domainSearchHeaderSubtitle: "Achetez un nom de domaine correspondant à votre marque" }, i = { domainSearchHeaderTitle: "Rechercher un nom de domaine", domainSearchHeaderSubtitle: "Achetez un nom de domaine correspondant à votre marque" }, t = { searchButtonLabel: "Rechercher", searchBarLabel: "Rechercher", searchBarPlaceholder: "Rechercher des noms de domaine", searchBarPreText: "Nom de domaine" }, s = { domainSearchEmptyMessage: "Désolé, nous n’avons pas trouvé de nom de domaine pour « {{domainNameSearchTerm}} ».", searchAnotherDomainMessage: "Essayez de faire une recherche avec un autre nom de domaine." }, l = { searchButtonLabel: "Rechercher", searchBarLabel: "Rechercher", searchBarPlaceholder: "Rechercher des noms de domaine", domainSearchOrConnectHeaderSubtitle: "Achetez un nom de domaine correspondant à votre marque ou connectez votre domaine existant" }, c = {
|
|
2
|
+
price: e,
|
|
3
|
+
sharedPaymentConfig: a,
|
|
4
|
+
publishBrandPageModal: r,
|
|
5
|
+
sellDomainNameList: n,
|
|
6
|
+
sellDomainNameListModal: o,
|
|
7
|
+
sellDomainNameModalApplication: i,
|
|
8
|
+
sellDomainNameSearch: t,
|
|
9
|
+
sellDomainNameListSearchResult: s,
|
|
10
|
+
sellDomainNameWidget: l
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
c as default,
|
|
14
|
+
e as price,
|
|
15
|
+
r as publishBrandPageModal,
|
|
16
|
+
n as sellDomainNameList,
|
|
17
|
+
o as sellDomainNameListModal,
|
|
18
|
+
s as sellDomainNameListSearchResult,
|
|
19
|
+
i as sellDomainNameModalApplication,
|
|
20
|
+
t as sellDomainNameSearch,
|
|
21
|
+
l as sellDomainNameWidget,
|
|
22
|
+
a as sharedPaymentConfig
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const e = { domainCreditUsed: "Crédito de domínio utilizado", free: "Grátis" }, a = { onboardingIncomplete: "Integração incompleta", pendingVerification: "Verificação Pendente", connected: "Ligado", inactive: "Inativo", addPaymentProvider: "Adicionar fornecedor de pagamentos", deletePaymentMethod: "Eliminar método de pagamento" }, o = { firstTimePublishHeaderLabel: "Defina o URL para {{brandPageDisplayName}}", sitePublishedLabel: "Site publicado!", publishSuccessLabel: "A sua página {{brandPageDisplayName}} está ativa! Comece a utilizar o link:", freePublishCardTitleLabel: "Endereço gratuito", freePublishCardDescriptionLabel: "Escolha um endereço gratuito para publicar agora. Pode sempre editar o URL mais tarde", slugInputPlaceholderYourNameLabel: "o-seu-nome", slugInputPlaceholderYourBusinessNameLabel: "nome-da-sua-empresa", freeDomainLabel: "Domínio gratuito", purchasedDomainLabel: "Domínio comprado", setUrlLabel: "Definir URL", publishLabel: "Publicar", viewMoreDomainLabel: "VER MAIS DOMÍNIOS", viewMyWebsiteLabel: "Ver {{brandPageDisplayName}}", copyLabel: "Copiar", copySuccessLabel: "Copiado!", publishedSuccessDescriptionLabel: "Compre um nome de domínio que corresponda à sua marca", hasAlreadyPurchasedDomainCloseButtonLabel: "Não, obrigado, talvez mais tarde", selectDomainDropdownPlaceholder: "Selecionar nome de domínio" }, r = { freeDomainButtonLabel: "Domínio gratuito", buyNowButtonLabel: "Comprar Agora", pricePerYearLabel: "/yr", costPriceLabel: "Preço de Custo:" }, i = { domainSearchHeaderTitle: "Pesquisar um nome de domínio", domainSearchHeaderSubtitle: "Compre um nome de domínio que corresponda à sua marca" }, n = { domainSearchHeaderTitle: "Pesquisar um nome de domínio", domainSearchHeaderSubtitle: "Compre um nome de domínio que corresponda à sua marca" }, s = { searchButtonLabel: "Pesquisar", searchBarLabel: "Pesquisar", searchBarPlaceholder: "Pesquisar nomes de domínio", searchBarPreText: "Nome de domínio" }, m = { domainSearchEmptyMessage: 'Não conseguimos encontrar nenhum domínio para "{{domainNameSearchTerm}}".', searchAnotherDomainMessage: "Experimente pesquisar outro nome de domínio." }, d = { searchButtonLabel: "Pesquisar", searchBarLabel: "Pesquisar", searchBarPlaceholder: "Pesquisar nomes de domínio", domainSearchOrConnectHeaderSubtitle: "Compre um nome de domínio que corresponda à sua marca ou associe ao domínio que já tem" }, t = {
|
|
2
|
+
price: e,
|
|
3
|
+
sharedPaymentConfig: a,
|
|
4
|
+
publishBrandPageModal: o,
|
|
5
|
+
sellDomainNameList: r,
|
|
6
|
+
sellDomainNameListModal: i,
|
|
7
|
+
sellDomainNameModalApplication: n,
|
|
8
|
+
sellDomainNameSearch: s,
|
|
9
|
+
sellDomainNameListSearchResult: m,
|
|
10
|
+
sellDomainNameWidget: d
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
t as default,
|
|
14
|
+
e as price,
|
|
15
|
+
o as publishBrandPageModal,
|
|
16
|
+
r as sellDomainNameList,
|
|
17
|
+
i as sellDomainNameListModal,
|
|
18
|
+
m as sellDomainNameListSearchResult,
|
|
19
|
+
n as sellDomainNameModalApplication,
|
|
20
|
+
s as sellDomainNameSearch,
|
|
21
|
+
d as sellDomainNameWidget,
|
|
22
|
+
a as sharedPaymentConfig
|
|
23
|
+
};
|
|
@@ -4191,7 +4191,7 @@ a.maker-anchor {
|
|
|
4191
4191
|
width: 100%;
|
|
4192
4192
|
}
|
|
4193
4193
|
|
|
4194
|
-
.done-btn[data-v-
|
|
4194
|
+
.done-btn[data-v-62a10aed] {
|
|
4195
4195
|
box-shadow:
|
|
4196
4196
|
0 0 0 1px #d4d4d4,
|
|
4197
4197
|
0 8px 16px #d4d4d4;
|
|
@@ -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-affd7369]: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-affd7369] {
|
|
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-affd7369] 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-affd7369] {
|
|
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-affd7369] {
|
|
8179
8179
|
font-weight: 700;
|
|
8180
8180
|
background: #e3e3e3;
|
|
8181
8181
|
}
|
|
8182
|
-
.toolbar-editor-button[data-v-
|
|
8182
|
+
.toolbar-editor-button[data-v-affd7369] {
|
|
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-affd7369] .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-affd7369] .ProseMirror:focus {
|
|
8214
8214
|
outline: none;
|
|
8215
8215
|
}
|
|
8216
|
-
[data-v-
|
|
8216
|
+
[data-v-affd7369] .ProseMirror * {
|
|
8217
8217
|
text-align: left !important;
|
|
8218
8218
|
font-size: 16px !important;
|
|
8219
8219
|
color: #606060 !important;
|
|
@@ -8222,25 +8222,25 @@ body {
|
|
|
8222
8222
|
background-color: transparent !important;
|
|
8223
8223
|
font-family: 'Lato' !important;
|
|
8224
8224
|
}
|
|
8225
|
-
[data-v-
|
|
8225
|
+
[data-v-affd7369] .ProseMirror a,[data-v-affd7369] .ProseMirror a * {
|
|
8226
8226
|
color: #0097d7 !important;
|
|
8227
8227
|
text-decoration: underline !important;
|
|
8228
8228
|
}
|
|
8229
|
-
.error-message[data-v-
|
|
8229
|
+
.error-message[data-v-affd7369] {
|
|
8230
8230
|
color: #d32f2f;
|
|
8231
8231
|
font-size: 0.875rem;
|
|
8232
8232
|
margin-top: 4px;
|
|
8233
8233
|
}
|
|
8234
|
-
.popup-container[data-v-
|
|
8234
|
+
.popup-container[data-v-affd7369] {
|
|
8235
8235
|
position: absolute;
|
|
8236
8236
|
z-index: 10;
|
|
8237
8237
|
right: 8%;
|
|
8238
8238
|
}
|
|
8239
|
-
.hyperlink-preview[data-v-
|
|
8239
|
+
.hyperlink-preview[data-v-affd7369] {
|
|
8240
8240
|
position: absolute;
|
|
8241
8241
|
z-index: 10;
|
|
8242
8242
|
}
|
|
8243
|
-
.popup-panel[data-v-
|
|
8243
|
+
.popup-panel[data-v-affd7369] {
|
|
8244
8244
|
background: #fff;
|
|
8245
8245
|
border: 1px solid #ccc;
|
|
8246
8246
|
border-radius: 8px;
|
|
@@ -8248,17 +8248,17 @@ body {
|
|
|
8248
8248
|
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
8249
8249
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
8250
8250
|
}
|
|
8251
|
-
.popup-panel[data-v-
|
|
8251
|
+
.popup-panel[data-v-affd7369] input {
|
|
8252
8252
|
border: 1px solid #ccc;
|
|
8253
8253
|
border-radius: 8px;
|
|
8254
8254
|
}
|
|
8255
|
-
.border[data-v-
|
|
8255
|
+
.border[data-v-affd7369] {
|
|
8256
8256
|
width: 100%;
|
|
8257
8257
|
--tw-bg-opacity: 1;
|
|
8258
8258
|
background-color: rgb(208 208 208 / var(--tw-bg-opacity));
|
|
8259
8259
|
height: 1px;
|
|
8260
8260
|
}
|
|
8261
|
-
[data-v-
|
|
8261
|
+
[data-v-affd7369] .text-dropdown-title {
|
|
8262
8262
|
height: 2rem;
|
|
8263
8263
|
width: 100%;
|
|
8264
8264
|
font-size: 0.875rem;
|
|
@@ -8267,7 +8267,7 @@ body {
|
|
|
8267
8267
|
color: rgb(43 43 43 / var(--tw-text-opacity));
|
|
8268
8268
|
font-weight: 300;
|
|
8269
8269
|
}
|
|
8270
|
-
[data-v-
|
|
8270
|
+
[data-v-affd7369] .ProseMirror p.is-editor-empty:first-child::before {
|
|
8271
8271
|
--tw-text-opacity: 1;
|
|
8272
8272
|
color: rgb(208 208 208 / var(--tw-text-opacity));
|
|
8273
8273
|
content: attr(data-placeholder);
|
|
@@ -8276,56 +8276,56 @@ body {
|
|
|
8276
8276
|
pointer-events: none;
|
|
8277
8277
|
}
|
|
8278
8278
|
@media (max-width: 399px) {
|
|
8279
|
-
.style-editor-button-font[data-v-
|
|
8280
|
-
.style-editor-button-textstyle[data-v-
|
|
8279
|
+
.style-editor-button-font[data-v-affd7369],
|
|
8280
|
+
.style-editor-button-textstyle[data-v-affd7369] {
|
|
8281
8281
|
max-width: 48%;
|
|
8282
8282
|
padding-bottom: 0.25rem;
|
|
8283
8283
|
}
|
|
8284
|
-
.style-editor-button.stepper[data-v-
|
|
8284
|
+
.style-editor-button.stepper[data-v-affd7369] {
|
|
8285
8285
|
max-width: 40%;
|
|
8286
8286
|
}
|
|
8287
|
-
.style-editor-button-stepper[data-v-
|
|
8287
|
+
.style-editor-button-stepper[data-v-affd7369] {
|
|
8288
8288
|
max-width: 100%;
|
|
8289
8289
|
}
|
|
8290
|
-
.border.desktop[data-v-
|
|
8290
|
+
.border.desktop[data-v-affd7369] {
|
|
8291
8291
|
display: none;
|
|
8292
8292
|
}
|
|
8293
|
-
.border.mobile[data-v-
|
|
8293
|
+
.border.mobile[data-v-affd7369] {
|
|
8294
8294
|
display: block;
|
|
8295
8295
|
}
|
|
8296
|
-
[data-v-
|
|
8296
|
+
[data-v-affd7369] .left-align {
|
|
8297
8297
|
-webkit-transform: translateX(-50%);
|
|
8298
8298
|
transform: translateX(-50%);
|
|
8299
8299
|
}
|
|
8300
|
-
.hyperlink-popup[data-v-
|
|
8300
|
+
.hyperlink-popup[data-v-affd7369] {
|
|
8301
8301
|
z-index: 9999;
|
|
8302
8302
|
}
|
|
8303
8303
|
}
|
|
8304
8304
|
@media (min-width: 400px) {
|
|
8305
|
-
.style-editor-button.stepper[data-v-
|
|
8305
|
+
.style-editor-button.stepper[data-v-affd7369] {
|
|
8306
8306
|
max-width: 32%;
|
|
8307
8307
|
}
|
|
8308
|
-
.style-editor-button-font[data-v-
|
|
8308
|
+
.style-editor-button-font[data-v-affd7369] {
|
|
8309
8309
|
max-width: 28%;
|
|
8310
8310
|
}
|
|
8311
|
-
.style-editor-button-stepper[data-v-
|
|
8311
|
+
.style-editor-button-stepper[data-v-affd7369] {
|
|
8312
8312
|
max-width: 100%;
|
|
8313
8313
|
}
|
|
8314
|
-
.style-editor-button-textstyle[data-v-
|
|
8314
|
+
.style-editor-button-textstyle[data-v-affd7369] {
|
|
8315
8315
|
max-width: 25%;
|
|
8316
8316
|
}
|
|
8317
|
-
.border.desktop[data-v-
|
|
8317
|
+
.border.desktop[data-v-affd7369] {
|
|
8318
8318
|
display: block;
|
|
8319
8319
|
}
|
|
8320
|
-
.border.mobile[data-v-
|
|
8320
|
+
.border.mobile[data-v-affd7369] {
|
|
8321
8321
|
display: none;
|
|
8322
8322
|
}
|
|
8323
|
-
[data-v-
|
|
8323
|
+
[data-v-affd7369] .left-align {
|
|
8324
8324
|
-webkit-transform: translateX(-25%);
|
|
8325
8325
|
transform: translateX(-25%);
|
|
8326
8326
|
}
|
|
8327
8327
|
}
|
|
8328
|
-
.drop-down-item[data-v-
|
|
8328
|
+
.drop-down-item[data-v-affd7369]:hover {
|
|
8329
8329
|
background-color: #eee;
|
|
8330
8330
|
}
|
|
8331
8331
|
|