@designcrowd/library.brand-page 5.15.21 → 5.15.24-ast-previews-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/{CreatedOnBrandCrowd-de-de-DZ5Vucii.js → CreatedOnBrandCrowd-de-de-eUKSDWA0.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-DknGL3Zu.js → CreatedOnBrandCrowd-en-us-C_uqDCbw.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-NwtO4oKe.js → CreatedOnBrandCrowd-es-es-D00N7D1y.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-DfUf3ajR.js → CreatedOnBrandCrowd-fr-ca-C_Y11ve1.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-DfUf3ajR.js → CreatedOnBrandCrowd-fr-fr-C_Y11ve1.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-TjO5ceZp.js → CreatedOnBrandCrowd-pt-br-b-NirRyH.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-TjO5ceZp.js → CreatedOnBrandCrowd-pt-pt-b-NirRyH.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-CiEaeern.js → CreatedOnDcom-de-de-DGenvk6d.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-BsQTy39u.js → CreatedOnDcom-en-us-BNO9QrD0.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-BgUs8RD2.js → CreatedOnDcom-es-es-BG_gd286.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-5Rt16LTN.js → CreatedOnDcom-fr-ca-DLBcHowo.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-DRajgiLq.js → CreatedOnDcom-fr-fr-jInQfULX.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-CpGsGCmj.js → CreatedOnDcom-pt-br-Di1Kb5Xa.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-C1CjD8Ks.js → CreatedOnDcom-pt-pt-BWZ0TIJv.js} +1 -1
- package/lib/src/brand-page/components/media/Media.mixin.d.ts +12 -0
- package/lib/src/brand-page/components/media/Media.mixin.js +5 -0
- package/lib/src/brand-page/components/page/Page.stories.js +1 -1
- package/lib/src/brand-page/components/payment/__fixtures__/request-payment.d.ts +1 -0
- package/lib/src/brand-page/components/payment/__fixtures__/support-me.d.ts +1 -0
- package/lib/src/brand-page/models/brand-page-context.model.d.ts +1 -0
- package/lib/src/brand-page/models/index.d.ts +16 -0
- package/lib/src/brand-page/models/index.js +19 -0
- package/lib/src/brand-page/models/payment.model.d.ts +7 -0
- package/lib/src/brand-page/utils/migration/migration-07.js +1 -1
- package/lib/src/brand-page/utils/view-model.util.d.ts +16 -5
- package/lib/src/brand-page/utils/view-model.util.js +48 -8
- package/lib/src/brand-page/view-models.d.ts +19 -1
- package/lib/src/brand-page-maker/components/action-bar/ActionBar.mixin.d.ts +1 -0
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +4 -0
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +1 -0
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMakerTemplateSettings.mixin.d.ts +1 -0
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +4 -0
- package/lib/src/brand-page-maker/components/brandpage-settings/ReplaceImageSettingsForBrandPageSettings.mixin.d.ts +1 -0
- package/lib/src/brand-page-maker/components/preview/Preview.mixin.js +1 -0
- package/lib/src/brand-page-maker/components/preview/Preview.stories.js +1 -1
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +1 -0
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +1 -0
- package/lib/src/brand-page-maker/components/social-share/SocialShare.mixin.d.ts +1 -0
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +228 -0
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.js +72 -6
- package/lib/src/brand-page-maker/constants/config-settings-constant.js +28 -11
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +12 -0
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +20 -3
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.d.ts +1 -0
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +35 -4
- package/lib/src/brand-page-maker/stores/index.d.ts +1 -0
- package/lib/src/brand-page-maker/stores/index.js +1 -0
- package/lib/src/brand-page-maker/stores/video/index.d.ts +1 -0
- package/lib/src/brand-page-maker/stores/video/index.js +1 -0
- package/lib/src/brand-page-maker/stores/video/video-store.d.ts +27 -0
- package/lib/src/brand-page-maker/stores/video/video-store.js +27 -0
- package/lib/src/{bundled-translations-wzmaFfsm.js → bundled-translations-D9iHE5G9.js} +1 -1
- package/lib/src/bundled-translations-DfL3kp2E.js +27 -0
- package/lib/src/bundled-translations.de-DE-C-Q--DoV.js +27 -0
- package/lib/src/bundled-translations.de-DE-DW3iDx_G.js +161 -0
- package/lib/src/bundled-translations.es-ES-C2bDEZN2.js +27 -0
- package/lib/src/bundled-translations.es-ES-C9I8wDyq.js +161 -0
- package/lib/src/bundled-translations.fr-CA-BT6vKgDQ.js +27 -0
- package/lib/src/bundled-translations.fr-CA-C0NN8DsO.js +161 -0
- package/lib/src/bundled-translations.fr-FR-BekT99Kc.js +27 -0
- package/lib/src/bundled-translations.fr-FR-oKV5NyE1.js +161 -0
- package/lib/src/bundled-translations.pt-BR-CTvCfv1X.js +161 -0
- package/lib/src/bundled-translations.pt-BR-DjzgcAmv.js +27 -0
- package/lib/src/bundled-translations.pt-PT-CbwxwRY1.js +161 -0
- package/lib/src/bundled-translations.pt-PT-ZxaU_1Hw.js +27 -0
- package/lib/src/bundles/bundled-translations.de-DE.json +4 -0
- package/lib/src/bundles/bundled-translations.es-ES.json +4 -0
- package/lib/src/bundles/bundled-translations.fr-CA.json +4 -0
- package/lib/src/bundles/bundled-translations.fr-FR.json +4 -0
- package/lib/src/bundles/bundled-translations.json +4 -0
- package/lib/src/bundles/bundled-translations.pt-BR.json +4 -0
- package/lib/src/bundles/bundled-translations.pt-PT.json +4 -0
- package/lib/src/clients/brand-page-client.d.ts +1 -0
- package/lib/src/clients/brand-page-client.js +11 -1
- package/lib/src/clients/gettyimages-client.js +1 -1
- package/lib/src/css/library.brand-page-brandCrowd.min.css +59 -44
- package/lib/src/css/library.brand-page-brandPage.min.css +59 -44
- package/lib/src/css/library.brand-page-designCom.min.css +59 -44
- package/lib/src/css/library.brand-page-preview.min.css +59 -44
- package/lib/src/helpers/ts.helper.d.ts +1 -0
- package/lib/src/helpers/ts.helper.js +22 -0
- package/lib/src/index.d.ts +1 -1
- package/lib/src/index.mjs +183 -180
- package/lib/src/{lib-BpQH-xbj.js → lib-Crz0R1bS.js} +20226 -19710
- package/lib/src/lib.js +1 -1
- package/lib/src/shared/content-settings/components/GenericTextInput.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +4 -0
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +6 -1
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.js +4 -0
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +2 -0
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.js +1 -0
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +4 -0
- package/lib/src/shared/content-settings/components/email-field/EmailField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +2 -0
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.js +1 -0
- package/lib/src/shared/content-settings/components/image-field/ImageField.mixin.d.ts +23 -1
- package/lib/src/shared/content-settings/components/image-field/ImageField.mixin.js +25 -1
- package/lib/src/shared/content-settings/components/page-dropdown-field/PageDropdownField.mixin.d.ts +1 -0
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +79 -1
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.js +16 -0
- package/lib/src/shared/content-settings/components/tel-field/TelField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/text-field/TextField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/textarea-field/TextareaField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/url-field/UrlField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/youtube-video-field/YoutubeVideoField.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/models.d.ts +2 -0
- package/lib/src/shared/content-settings/store/content-settings-store.d.ts +3 -0
- package/lib/src/shared/content-settings/store/content-settings-store.js +37 -1
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +2 -0
- package/lib/src/shared/my-uploads/models.d.ts +12 -0
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +1 -0
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +4 -0
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +4 -0
- package/lib/src/shared/page-settings/store/page-settings-store.d.ts +2 -1
- package/lib/src/shared/page-settings/store/page-settings-store.js +35 -0
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +1 -0
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +1 -0
- package/lib/src/shared/template-settings/store/template-settings-store.js +18 -5
- package/package.json +2 -2
- package/src/brand-page/components/banner-section/BannerSection.vue +6 -1
- package/src/brand-page/components/media/Media.mixin.ts +6 -0
- package/src/brand-page/components/media/Media.vue +18 -3
- package/src/brand-page/components/media/Video.vue +62 -0
- package/src/brand-page/components/page/Page.stories.ts +1 -0
- package/src/brand-page/components/page/Page.vue +2 -2
- package/src/brand-page/models/brand-page-context.model.ts +1 -0
- package/src/brand-page/models/index.ts +34 -0
- package/src/brand-page/models/payment.model.ts +8 -0
- package/src/brand-page/utils/migration/migration-07.ts +6 -4
- package/src/brand-page/utils/view-model.util.test.ts +10 -2
- package/src/brand-page/utils/view-model.util.ts +93 -7
- package/src/brand-page/view-models.ts +24 -0
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +1 -0
- package/src/brand-page-maker/components/preview/Preview.mixin.ts +1 -0
- package/src/brand-page-maker/components/preview/Preview.stories.ts +1 -0
- package/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.ts +93 -5
- package/src/brand-page-maker/components/template-preview/TemplatePreview.vue +40 -4
- package/src/brand-page-maker/components/template-preview-with-state/TemplatePreviewWithState.vue +4 -6
- package/src/brand-page-maker/constants/config-settings-constant.ts +30 -10
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +46 -1
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +41 -1
- package/src/brand-page-maker/stores/index.ts +1 -0
- package/src/brand-page-maker/stores/video/index.ts +1 -0
- package/src/brand-page-maker/stores/video/video-store.ts +47 -0
- package/src/bundles/bundled-translations.de-DE.json +4 -0
- package/src/bundles/bundled-translations.es-ES.json +4 -0
- package/src/bundles/bundled-translations.fr-CA.json +4 -0
- package/src/bundles/bundled-translations.fr-FR.json +4 -0
- package/src/bundles/bundled-translations.json +4 -0
- package/src/bundles/bundled-translations.pt-BR.json +4 -0
- package/src/bundles/bundled-translations.pt-PT.json +4 -0
- package/src/clients/brand-page-client.ts +20 -1
- package/src/clients/gettyimages-client.js +1 -1
- package/src/helpers/ts.helper.ts +30 -0
- package/src/lib.ts +1 -0
- package/src/shared/common/i18n/common.de-DE.json +1 -0
- package/src/shared/common/i18n/common.es-ES.json +1 -0
- package/src/shared/common/i18n/common.fr-CA.json +1 -0
- package/src/shared/common/i18n/common.fr-FR.json +1 -0
- package/src/shared/common/i18n/common.json +2 -0
- package/src/shared/common/i18n/common.pt-BR.json +1 -0
- package/src/shared/common/i18n/common.pt-PT.json +1 -0
- package/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.ts +12 -1
- package/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.vue +1 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.de-DE.json +3 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.es-ES.json +3 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-CA.json +3 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-FR.json +3 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.json +4 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-BR.json +3 -0
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-PT.json +3 -0
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.ts +1 -0
- package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.ts +1 -0
- package/src/shared/content-settings/components/image-field/ImageField.mixin.ts +31 -1
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.ts +34 -0
- package/src/shared/content-settings/components/payment-config-field/PaymentConfigField.vue +23 -8
- package/src/shared/content-settings/components/replace-image-base-settings/ReplaceImageBaseSettings.vue +10 -2
- package/src/shared/content-settings/models.ts +3 -0
- package/src/shared/content-settings/store/content-settings-store.ts +68 -0
- package/src/shared/my-uploads/models.ts +16 -0
- package/src/shared/page-settings/store/page-settings-store.ts +58 -0
- package/src/shared/template-settings/store/template-settings-store.ts +27 -14
- package/src/shared/video-library/VideoLibrary.vue +32 -11
- package/lib/src/bundled-translations-BMr0LtzI.js +0 -27
- package/lib/src/bundled-translations.de-DE-BDSwnN6z.js +0 -27
- package/lib/src/bundled-translations.de-DE-BNwDY0Gw.js +0 -161
- package/lib/src/bundled-translations.es-ES-B4FHib2V.js +0 -27
- package/lib/src/bundled-translations.es-ES-DTvCIjvS.js +0 -161
- package/lib/src/bundled-translations.fr-CA-5oL4PLEx.js +0 -161
- package/lib/src/bundled-translations.fr-CA-SQDJwXv_.js +0 -27
- package/lib/src/bundled-translations.fr-FR-B84T67W5.js +0 -27
- package/lib/src/bundled-translations.fr-FR-DWL7DJQp.js +0 -161
- package/lib/src/bundled-translations.pt-BR-C9ZYeoLd.js +0 -27
- package/lib/src/bundled-translations.pt-BR-CDj0L4EF.js +0 -161
- package/lib/src/bundled-translations.pt-PT-BB4hTIYd.js +0 -27
- package/lib/src/bundled-translations.pt-PT-M916KJYD.js +0 -161
|
@@ -346,6 +346,7 @@
|
|
|
346
346
|
"addShapeLabel": "Ajouter une forme",
|
|
347
347
|
"addImageLabel": "Ajouter une image",
|
|
348
348
|
"addFaviconLabel": "Ajouter un favicon",
|
|
349
|
+
"addMediaLabel": "Ajouter un média",
|
|
349
350
|
"replaceFaviconLabel": "Remplacer le favicon",
|
|
350
351
|
"updateSettings": "Mettre à jour les paramètres",
|
|
351
352
|
"shapeColor": "Couleur de forme",
|
|
@@ -452,6 +453,7 @@
|
|
|
452
453
|
"addImageButtonTitle": "Ajouter une image",
|
|
453
454
|
"addImageHeaderTitle": "Ajouter une image",
|
|
454
455
|
"imageReplaceTitle": "Remplacer l'image",
|
|
456
|
+
"replaceMediaTitle": "Remplacer un média",
|
|
455
457
|
"imageGalleryAddButtonTitle": "Ajoutez des images",
|
|
456
458
|
"imageGalleryReplaceTitle": "Ajouter une image",
|
|
457
459
|
"iconReplaceTitle": "Remplacer la vignette",
|
|
@@ -572,6 +574,8 @@
|
|
|
572
574
|
"styleCircleOption": "Cercle",
|
|
573
575
|
"mediaTypeImage": "Image",
|
|
574
576
|
"mediaTypeShape": "Forme",
|
|
577
|
+
"media": "Réseaux",
|
|
578
|
+
"addMediaTitle": "Ajouter un média",
|
|
575
579
|
"firstNameLabel": "Prénom",
|
|
576
580
|
"lastNameLabel": "Nom de famille",
|
|
577
581
|
"emailAddressLabel": "Adresse e-mail",
|
|
@@ -346,6 +346,7 @@
|
|
|
346
346
|
"addShapeLabel": "Add Shape",
|
|
347
347
|
"addImageLabel": "Add Image",
|
|
348
348
|
"addFaviconLabel": "Add Favicon",
|
|
349
|
+
"addMediaLabel": "Add Media",
|
|
349
350
|
"replaceFaviconLabel": "Replace Favicon",
|
|
350
351
|
"updateSettings": "Update Settings",
|
|
351
352
|
"shapeColor": "Shape Color",
|
|
@@ -452,6 +453,7 @@
|
|
|
452
453
|
"addImageButtonTitle": "Add image",
|
|
453
454
|
"addImageHeaderTitle": "Add image",
|
|
454
455
|
"imageReplaceTitle": "Replace image",
|
|
456
|
+
"replaceMediaTitle": "Replace media",
|
|
455
457
|
"imageGalleryAddButtonTitle": "Add images",
|
|
456
458
|
"imageGalleryReplaceTitle": "Add image",
|
|
457
459
|
"iconReplaceTitle": "Replace thumbnail",
|
|
@@ -572,6 +574,8 @@
|
|
|
572
574
|
"styleCircleOption": "Circle",
|
|
573
575
|
"mediaTypeImage": "image",
|
|
574
576
|
"mediaTypeShape": "shape",
|
|
577
|
+
"media": "Media",
|
|
578
|
+
"addMediaTitle": "Add media",
|
|
575
579
|
"firstNameLabel": "First name",
|
|
576
580
|
"lastNameLabel": "Last name",
|
|
577
581
|
"emailAddressLabel": "Email address",
|
|
@@ -346,6 +346,7 @@
|
|
|
346
346
|
"addShapeLabel": "Adicionar forma",
|
|
347
347
|
"addImageLabel": "Adicionar imagem",
|
|
348
348
|
"addFaviconLabel": "Adicionar favicon",
|
|
349
|
+
"addMediaLabel": "Adicionar mídia",
|
|
349
350
|
"replaceFaviconLabel": "Substituir favicon",
|
|
350
351
|
"updateSettings": "Atualizar definições",
|
|
351
352
|
"shapeColor": "Cor da Forma",
|
|
@@ -452,6 +453,7 @@
|
|
|
452
453
|
"addImageButtonTitle": "Adicionar imagem",
|
|
453
454
|
"addImageHeaderTitle": "Adicionar imagem",
|
|
454
455
|
"imageReplaceTitle": "Substitua a imagem",
|
|
456
|
+
"replaceMediaTitle": "Substituir mídia",
|
|
455
457
|
"imageGalleryAddButtonTitle": "Adicionar imagens",
|
|
456
458
|
"imageGalleryReplaceTitle": "Adicionar imagem",
|
|
457
459
|
"iconReplaceTitle": "Substituir miniatura",
|
|
@@ -572,6 +574,8 @@
|
|
|
572
574
|
"styleCircleOption": "Circle",
|
|
573
575
|
"mediaTypeImage": "imagem",
|
|
574
576
|
"mediaTypeShape": "forma",
|
|
577
|
+
"media": "Multimídia",
|
|
578
|
+
"addMediaTitle": "Adicionar mídia",
|
|
575
579
|
"firstNameLabel": "Nome",
|
|
576
580
|
"lastNameLabel": "Sobrenome",
|
|
577
581
|
"emailAddressLabel": "Endereço de e-mail",
|
|
@@ -346,6 +346,7 @@
|
|
|
346
346
|
"addShapeLabel": "Adicionar forma",
|
|
347
347
|
"addImageLabel": "Adicionar imagem",
|
|
348
348
|
"addFaviconLabel": "Adicionar Favicon",
|
|
349
|
+
"addMediaLabel": "Adicionar multimédia",
|
|
349
350
|
"replaceFaviconLabel": "Substituir Favicon",
|
|
350
351
|
"updateSettings": "Atualizar definições",
|
|
351
352
|
"shapeColor": "Cor da Forma",
|
|
@@ -452,6 +453,7 @@
|
|
|
452
453
|
"addImageButtonTitle": "Adicionar imagem",
|
|
453
454
|
"addImageHeaderTitle": "Adicionar imagem",
|
|
454
455
|
"imageReplaceTitle": "Substitua a imagem",
|
|
456
|
+
"replaceMediaTitle": "Substituir multimédia",
|
|
455
457
|
"imageGalleryAddButtonTitle": "Adicionar imagens",
|
|
456
458
|
"imageGalleryReplaceTitle": "Adicionar imagem",
|
|
457
459
|
"iconReplaceTitle": "Substituir miniatura",
|
|
@@ -572,6 +574,8 @@
|
|
|
572
574
|
"styleCircleOption": "Círculo",
|
|
573
575
|
"mediaTypeImage": "image",
|
|
574
576
|
"mediaTypeShape": "forma",
|
|
577
|
+
"media": "Multimédia",
|
|
578
|
+
"addMediaTitle": "Adicionar multimédia",
|
|
575
579
|
"firstNameLabel": "Primeiro nome",
|
|
576
580
|
"lastNameLabel": "Apelido",
|
|
577
581
|
"emailAddressLabel": "Endereço de email",
|
|
@@ -63,5 +63,6 @@ declare const _default: {
|
|
|
63
63
|
pageSize: number;
|
|
64
64
|
}) => Promise<SearchLogoTemplatesResponse | undefined>;
|
|
65
65
|
sendLogoSearchImpressionClickData: (logoToken: string, searchImpressionId: string) => Promise<void>;
|
|
66
|
+
updatePaymentConfigCurrencyAsync: (brandPageToken: string, paymentConfigId: string, newCurrencyId: string) => Promise<any>;
|
|
66
67
|
};
|
|
67
68
|
export default _default;
|
|
@@ -33,12 +33,13 @@ const saveBrandPageAsync = async (brandPageType, request, designDraftToken) => {
|
|
|
33
33
|
return null;
|
|
34
34
|
};
|
|
35
35
|
const setBrandPageSlugAsync = async (brandPageType, designDraftToken, options) => {
|
|
36
|
-
const { slug, shouldPublish, brandPageContentTypes } = options;
|
|
36
|
+
const { slug, shouldPublish, brandPageContentTypes, gettyVideoIds } = options;
|
|
37
37
|
const url = `${getApiUrlPrefix(brandPageType)}/${designDraftToken}/publish`;
|
|
38
38
|
const response = await getAxiosInstance().post(url, {
|
|
39
39
|
slug,
|
|
40
40
|
shouldPublish,
|
|
41
41
|
brandPageContentTypes: brandPageContentTypes || [],
|
|
42
|
+
gettyVideoIds: gettyVideoIds || [],
|
|
42
43
|
});
|
|
43
44
|
if (response.status !== 200) {
|
|
44
45
|
return null;
|
|
@@ -177,6 +178,14 @@ const sendLogoSearchImpressionClickData = async (logoToken, searchImpressionId)
|
|
|
177
178
|
console.error(ex);
|
|
178
179
|
}
|
|
179
180
|
};
|
|
181
|
+
const updatePaymentConfigCurrencyAsync = async (brandPageToken, paymentConfigId, newCurrencyId) => {
|
|
182
|
+
const url = `${getApiUrlPrefix(BRAND_PAGE_TYPES.default)}/${brandPageToken}/payment-configs/update-currency`;
|
|
183
|
+
const response = await getAxiosInstance().put(url, {
|
|
184
|
+
paymentConfigId,
|
|
185
|
+
newCurrencyId,
|
|
186
|
+
});
|
|
187
|
+
return response.data;
|
|
188
|
+
};
|
|
180
189
|
export default {
|
|
181
190
|
saveBrandPageAsync,
|
|
182
191
|
setBrandPageSlugAsync,
|
|
@@ -195,4 +204,5 @@ export default {
|
|
|
195
204
|
checkWebsiteSlugAsync,
|
|
196
205
|
searchLogoTemplatesAsync,
|
|
197
206
|
sendLogoSearchImpressionClickData,
|
|
207
|
+
updatePaymentConfigCurrencyAsync,
|
|
198
208
|
};
|
|
@@ -5,7 +5,7 @@ export default class GettyImagesClient {
|
|
|
5
5
|
}
|
|
6
6
|
getDefaultCategoriesEndpoint = () => `${this.options.mediaBaseUrl}/maker/api/gettyimages/categories/default`;
|
|
7
7
|
searchVideosEndpoint = (query, pageNo = 1) => `${this.options.mediaBaseUrl}/maker/api/gettyimages/search/videos?query=${query}&page=${pageNo}&perpage=10`;
|
|
8
|
-
getVideoEndpoint = (videoId) => `${this.options.mediaBaseUrl}/maker/api/gettyimages/video-preview?assetId=${videoId}`;
|
|
8
|
+
getVideoEndpoint = (videoId) => `${this.options.mediaBaseUrl}/maker/api/gettyimages/video-preview?assetId=${videoId}&requestPublic=true`;
|
|
9
9
|
async getDefaultCategoriesAsync() {
|
|
10
10
|
try {
|
|
11
11
|
const res = await Axios.get(this.getDefaultCategoriesEndpoint());
|
|
@@ -517,9 +517,6 @@ a.maker-anchor {
|
|
|
517
517
|
.tw-mt-0 {
|
|
518
518
|
margin-top: 0px
|
|
519
519
|
}
|
|
520
|
-
.tw-mt-0\.5 {
|
|
521
|
-
margin-top: 0.125rem
|
|
522
|
-
}
|
|
523
520
|
.tw-mt-1 {
|
|
524
521
|
margin-top: 0.25rem
|
|
525
522
|
}
|
|
@@ -4211,7 +4208,7 @@ a.maker-anchor {
|
|
|
4211
4208
|
width: 100%;
|
|
4212
4209
|
}
|
|
4213
4210
|
|
|
4214
|
-
.done-btn[data-v-
|
|
4211
|
+
.done-btn[data-v-cc85f529] {
|
|
4215
4212
|
box-shadow:
|
|
4216
4213
|
0 0 0 1px #d4d4d4,
|
|
4217
4214
|
0 8px 16px #d4d4d4;
|
|
@@ -4261,7 +4258,7 @@ a.maker-anchor {
|
|
|
4261
4258
|
}
|
|
4262
4259
|
}
|
|
4263
4260
|
|
|
4264
|
-
.dropdown-item-hover[data-v-
|
|
4261
|
+
.dropdown-item-hover[data-v-a3bd940b]:hover {
|
|
4265
4262
|
background-color: #eee;
|
|
4266
4263
|
}
|
|
4267
4264
|
|
|
@@ -5228,7 +5225,7 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5228
5225
|
object-fit: cover
|
|
5229
5226
|
}
|
|
5230
5227
|
|
|
5231
|
-
.c-image--height-limited[data-v-
|
|
5228
|
+
.c-image--height-limited[data-v-d8be9346] {
|
|
5232
5229
|
max-height: 45vh;
|
|
5233
5230
|
}
|
|
5234
5231
|
|
|
@@ -5827,10 +5824,10 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5827
5824
|
text-align: center
|
|
5828
5825
|
}
|
|
5829
5826
|
|
|
5830
|
-
.c_banner--with-image-overlay[data-v-
|
|
5827
|
+
.c_banner--with-image-overlay[data-v-be5be4ad] {
|
|
5831
5828
|
min-height: 24rem;
|
|
5832
5829
|
}
|
|
5833
|
-
.c_banner--divided-container[data-v-
|
|
5830
|
+
.c_banner--divided-container[data-v-be5be4ad] {
|
|
5834
5831
|
min-height: 30rem;
|
|
5835
5832
|
-webkit-box-orient: horizontal;
|
|
5836
5833
|
-webkit-box-direction: normal;
|
|
@@ -5838,67 +5835,67 @@ input[data-v-4cd691db]::-webkit-inner-spin-button {
|
|
|
5838
5835
|
flex-direction: row;
|
|
5839
5836
|
gap: 1rem;
|
|
5840
5837
|
}
|
|
5841
|
-
.device-wrapper--mobile .c_banner--divided-container[data-v-
|
|
5838
|
+
.device-wrapper--mobile .c_banner--divided-container[data-v-be5be4ad] {
|
|
5842
5839
|
-webkit-box-orient: vertical;
|
|
5843
5840
|
-webkit-box-direction: reverse;
|
|
5844
5841
|
-ms-flex-direction: column-reverse;
|
|
5845
5842
|
flex-direction: column-reverse;
|
|
5846
5843
|
}
|
|
5847
|
-
.c_banner-container[data-v-
|
|
5844
|
+
.c_banner-container[data-v-be5be4ad] {
|
|
5848
5845
|
max-width: var(--brandsite-max-width);
|
|
5849
5846
|
margin: 0 auto;
|
|
5850
5847
|
}
|
|
5851
|
-
.c_banner--with-image-flip[data-v-
|
|
5848
|
+
.c_banner--with-image-flip[data-v-be5be4ad] {
|
|
5852
5849
|
-webkit-box-orient: horizontal;
|
|
5853
5850
|
-webkit-box-direction: reverse;
|
|
5854
5851
|
-ms-flex-direction: row-reverse;
|
|
5855
5852
|
flex-direction: row-reverse;
|
|
5856
5853
|
}
|
|
5857
|
-
.c_banner--divided-container[data-v-
|
|
5854
|
+
.c_banner--divided-container[data-v-be5be4ad] .full-square-image {
|
|
5858
5855
|
width: 100%;
|
|
5859
5856
|
aspect-ratio: 1/1;
|
|
5860
5857
|
-o-object-fit: cover;
|
|
5861
5858
|
object-fit: cover;
|
|
5862
5859
|
}
|
|
5863
5860
|
@container (min-width: 640px) {
|
|
5864
|
-
.c_banner-container--left-aligned-stacking[data-v-
|
|
5861
|
+
.c_banner-container--left-aligned-stacking[data-v-be5be4ad] {
|
|
5865
5862
|
-webkit-box-orient: horizontal;
|
|
5866
5863
|
-webkit-box-direction: normal;
|
|
5867
5864
|
-ms-flex-direction: row;
|
|
5868
5865
|
flex-direction: row;
|
|
5869
5866
|
}
|
|
5870
|
-
.c_banner-container--right-aligned-stacking[data-v-
|
|
5867
|
+
.c_banner-container--right-aligned-stacking[data-v-be5be4ad] {
|
|
5871
5868
|
-webkit-box-orient: horizontal;
|
|
5872
5869
|
-webkit-box-direction: reverse;
|
|
5873
5870
|
-ms-flex-direction: row-reverse;
|
|
5874
5871
|
flex-direction: row-reverse;
|
|
5875
5872
|
}
|
|
5876
|
-
.c_banner-button--stacking[data-v-
|
|
5873
|
+
.c_banner-button--stacking[data-v-be5be4ad] {
|
|
5877
5874
|
width: -webkit-fit-content;
|
|
5878
5875
|
width: -moz-fit-content;
|
|
5879
5876
|
width: fit-content;
|
|
5880
5877
|
}
|
|
5881
5878
|
}
|
|
5882
5879
|
@container (max-width: 640px) {
|
|
5883
|
-
.c_banner-container--left-aligned-stacking[data-v-
|
|
5880
|
+
.c_banner-container--left-aligned-stacking[data-v-be5be4ad] {
|
|
5884
5881
|
-webkit-box-orient: vertical;
|
|
5885
5882
|
-webkit-box-direction: normal;
|
|
5886
5883
|
-ms-flex-direction: column;
|
|
5887
5884
|
flex-direction: column;
|
|
5888
5885
|
}
|
|
5889
|
-
.c_banner-container--right-aligned-stacking[data-v-
|
|
5886
|
+
.c_banner-container--right-aligned-stacking[data-v-be5be4ad] {
|
|
5890
5887
|
-webkit-box-orient: vertical;
|
|
5891
5888
|
-webkit-box-direction: normal;
|
|
5892
5889
|
-ms-flex-direction: column;
|
|
5893
5890
|
flex-direction: column;
|
|
5894
5891
|
}
|
|
5895
|
-
.c_banner-item--stacking[data-v-
|
|
5892
|
+
.c_banner-item--stacking[data-v-be5be4ad] {
|
|
5896
5893
|
width: 100%;
|
|
5897
5894
|
}
|
|
5898
|
-
.c_banner-button--stacking[data-v-
|
|
5895
|
+
.c_banner-button--stacking[data-v-be5be4ad] {
|
|
5899
5896
|
width: 100%;
|
|
5900
5897
|
}
|
|
5901
|
-
.c_banner--divided-container[data-v-
|
|
5898
|
+
.c_banner--divided-container[data-v-be5be4ad] {
|
|
5902
5899
|
-webkit-box-orient: vertical;
|
|
5903
5900
|
-webkit-box-direction: reverse;
|
|
5904
5901
|
-ms-flex-direction: column-reverse;
|
|
@@ -7070,14 +7067,14 @@ body {
|
|
|
7070
7067
|
line-height: 1.5;
|
|
7071
7068
|
}
|
|
7072
7069
|
|
|
7073
|
-
.brand-page-root[data-v-
|
|
7070
|
+
.brand-page-root[data-v-d4cc0d12] {
|
|
7074
7071
|
height: 100%;
|
|
7075
7072
|
}
|
|
7076
|
-
.sortable[data-v-
|
|
7073
|
+
.sortable[data-v-d4cc0d12] {
|
|
7077
7074
|
outline-color: #F7768C;
|
|
7078
7075
|
outline-width: 0.2rem;
|
|
7079
7076
|
}
|
|
7080
|
-
.brand-page[data-v-
|
|
7077
|
+
.brand-page[data-v-d4cc0d12] {
|
|
7081
7078
|
-webkit-box-sizing: border-box;
|
|
7082
7079
|
box-sizing: border-box;
|
|
7083
7080
|
display: -webkit-box;
|
|
@@ -7089,7 +7086,7 @@ body {
|
|
|
7089
7086
|
-ms-flex-direction: column;
|
|
7090
7087
|
flex-direction: column;
|
|
7091
7088
|
}
|
|
7092
|
-
.brand-page__inner--default[data-v-
|
|
7089
|
+
.brand-page__inner--default[data-v-d4cc0d12] {
|
|
7093
7090
|
position: relative;
|
|
7094
7091
|
z-index: 10;
|
|
7095
7092
|
display: -webkit-box;
|
|
@@ -7101,16 +7098,16 @@ body {
|
|
|
7101
7098
|
-ms-flex-direction: column;
|
|
7102
7099
|
flex-direction: column;
|
|
7103
7100
|
}
|
|
7104
|
-
.brand-page__inner--desktop[data-v-
|
|
7101
|
+
.brand-page__inner--desktop[data-v-d4cc0d12] {
|
|
7105
7102
|
min-height: 100vh;
|
|
7106
7103
|
}
|
|
7107
|
-
.brand-site__header[data-v-
|
|
7104
|
+
.brand-site__header[data-v-d4cc0d12] {
|
|
7108
7105
|
container-type: inline-size;
|
|
7109
7106
|
}
|
|
7110
|
-
.brand-page__header[data-v-
|
|
7107
|
+
.brand-page__header[data-v-d4cc0d12] {
|
|
7111
7108
|
padding-top: var(--page-padding);
|
|
7112
7109
|
}
|
|
7113
|
-
.brand-page__content--default[data-v-
|
|
7110
|
+
.brand-page__content--default[data-v-d4cc0d12] {
|
|
7114
7111
|
margin-left: auto;
|
|
7115
7112
|
margin-right: auto;
|
|
7116
7113
|
margin-bottom: 2.5rem;
|
|
@@ -7127,7 +7124,7 @@ body {
|
|
|
7127
7124
|
flex-direction: column;
|
|
7128
7125
|
max-width: var(--page-max-width);
|
|
7129
7126
|
}
|
|
7130
|
-
.brand-page__content--desktop[data-v-
|
|
7127
|
+
.brand-page__content--desktop[data-v-d4cc0d12] {
|
|
7131
7128
|
margin-left: auto;
|
|
7132
7129
|
margin-right: auto;
|
|
7133
7130
|
display: -webkit-box;
|
|
@@ -7143,15 +7140,15 @@ body {
|
|
|
7143
7140
|
flex-direction: column;
|
|
7144
7141
|
max-width: 100%;
|
|
7145
7142
|
}
|
|
7146
|
-
.brand-page__content--inner[data-v-
|
|
7143
|
+
.brand-page__content--inner[data-v-d4cc0d12] {
|
|
7147
7144
|
padding-left: var(--page-padding);
|
|
7148
7145
|
padding-right: var(--page-padding);
|
|
7149
7146
|
}
|
|
7150
|
-
.brand-page__content--inner--brandsite[data-v-
|
|
7147
|
+
.brand-page__content--inner--brandsite[data-v-d4cc0d12] {
|
|
7151
7148
|
max-width: var(--brandsite-max-width);
|
|
7152
7149
|
margin: 0 auto;
|
|
7153
7150
|
}
|
|
7154
|
-
.brand-page__content--outline-selected[data-v-
|
|
7151
|
+
.brand-page__content--outline-selected[data-v-d4cc0d12] {
|
|
7155
7152
|
position: relative;
|
|
7156
7153
|
z-index: 10;
|
|
7157
7154
|
outline-color: #F7768C;
|
|
@@ -7159,20 +7156,20 @@ body {
|
|
|
7159
7156
|
outline-style: dashed;
|
|
7160
7157
|
outline-offset: -0.25rem;
|
|
7161
7158
|
}
|
|
7162
|
-
.brand-page__content--outline-footer-selected[data-v-
|
|
7159
|
+
.brand-page__content--outline-footer-selected[data-v-d4cc0d12] {
|
|
7163
7160
|
outline-color: #f7768c;
|
|
7164
7161
|
outline-width: 0.2rem;
|
|
7165
7162
|
outline-style: dashed;
|
|
7166
7163
|
outline-offset: -0.25rem;
|
|
7167
7164
|
}
|
|
7168
7165
|
@media (max-width: 640px) {
|
|
7169
|
-
.brand-page__content--inner--full-width[data-v-
|
|
7166
|
+
.brand-page__content--inner--full-width[data-v-d4cc0d12] {
|
|
7170
7167
|
padding-left: 0;
|
|
7171
7168
|
padding-right: 0;
|
|
7172
7169
|
}
|
|
7173
7170
|
}
|
|
7174
7171
|
@media (min-width: 640px) {
|
|
7175
|
-
.brand-page__content--inner--full-width[data-v-
|
|
7172
|
+
.brand-page__content--inner--full-width[data-v-d4cc0d12] {
|
|
7176
7173
|
padding-left: var(--page-padding);
|
|
7177
7174
|
padding-right: var(--page-padding);
|
|
7178
7175
|
}
|
|
@@ -8004,7 +8001,7 @@ body {
|
|
|
8004
8001
|
background-color: rgba(17, 21, 23, 0.33);
|
|
8005
8002
|
}
|
|
8006
8003
|
|
|
8007
|
-
.c-media-btn__img[data-v-
|
|
8004
|
+
.c-media-btn__img[data-v-567b76b5] {
|
|
8008
8005
|
width: 100%;
|
|
8009
8006
|
border-radius: 0.375rem;
|
|
8010
8007
|
-webkit-transition-property: -webkit-box-shadow;
|
|
@@ -8022,7 +8019,7 @@ body {
|
|
|
8022
8019
|
object-fit: cover;
|
|
8023
8020
|
max-height: 150px;
|
|
8024
8021
|
}
|
|
8025
|
-
.c-media-btn__overlay[data-v-
|
|
8022
|
+
.c-media-btn__overlay[data-v-567b76b5] {
|
|
8026
8023
|
position: absolute;
|
|
8027
8024
|
left: 0px;
|
|
8028
8025
|
bottom: 0px;
|
|
@@ -8038,13 +8035,13 @@ body {
|
|
|
8038
8035
|
-webkit-transition-duration: 200ms;
|
|
8039
8036
|
transition-duration: 200ms;
|
|
8040
8037
|
}
|
|
8041
|
-
.c-media-btn__overlay--category[data-v-
|
|
8038
|
+
.c-media-btn__overlay--category[data-v-567b76b5] {
|
|
8042
8039
|
background-color: rgba(17, 21, 23, 0.66);
|
|
8043
8040
|
}
|
|
8044
|
-
.c-media-btn__overlay--video[data-v-
|
|
8041
|
+
.c-media-btn__overlay--video[data-v-567b76b5]:hover {
|
|
8045
8042
|
background-color: rgba(17, 21, 23, 0.33);
|
|
8046
8043
|
}
|
|
8047
|
-
.c-media-btn[data-v-
|
|
8044
|
+
.c-media-btn[data-v-567b76b5] {
|
|
8048
8045
|
width: 100%;
|
|
8049
8046
|
aspect-ratio: 1;
|
|
8050
8047
|
max-height: 150px;
|
|
@@ -8630,11 +8627,11 @@ input[type='number'][data-v-28a532b4] {
|
|
|
8630
8627
|
}
|
|
8631
8628
|
}
|
|
8632
8629
|
|
|
8633
|
-
.template-preview[data-v-
|
|
8630
|
+
.template-preview[data-v-072c3b9b] {
|
|
8634
8631
|
position: relative;
|
|
8635
8632
|
background-attachment: initial !important
|
|
8636
8633
|
}
|
|
8637
|
-
.template-preview__overlay[data-v-
|
|
8634
|
+
.template-preview__overlay[data-v-072c3b9b] {
|
|
8638
8635
|
position: absolute;
|
|
8639
8636
|
top: 0px;
|
|
8640
8637
|
left: 0px;
|
|
@@ -8645,10 +8642,28 @@ input[type='number'][data-v-28a532b4] {
|
|
|
8645
8642
|
cursor: pointer;
|
|
8646
8643
|
opacity: 0
|
|
8647
8644
|
}
|
|
8648
|
-
.template-
|
|
8645
|
+
.template-preview__image-container[data-v-072c3b9b] {
|
|
8646
|
+
pointer-events: none;
|
|
8647
|
+
height: 100%;
|
|
8648
|
+
width: 100%
|
|
8649
|
+
}
|
|
8650
|
+
.template-preview__image[data-v-072c3b9b] {
|
|
8651
|
+
height: 100%;
|
|
8652
|
+
width: 100%;
|
|
8653
|
+
-o-object-fit: fill;
|
|
8654
|
+
object-fit: fill;
|
|
8655
|
+
-webkit-transition: -webkit-filter 0.2s ease;
|
|
8656
|
+
transition: -webkit-filter 0.2s ease;
|
|
8657
|
+
transition: filter 0.2s ease;
|
|
8658
|
+
transition: filter 0.2s ease, -webkit-filter 0.2s ease
|
|
8659
|
+
}
|
|
8660
|
+
.template-preview__page[data-v-072c3b9b] {
|
|
8649
8661
|
pointer-events: none
|
|
8650
8662
|
}
|
|
8651
|
-
.template-preview[data-v-
|
|
8663
|
+
.template-preview[data-v-072c3b9b] .c-shape-background {
|
|
8664
|
+
position: absolute
|
|
8665
|
+
}
|
|
8666
|
+
.template-preview__image[data-v-072c3b9b] .c-shape-background {
|
|
8652
8667
|
position: absolute
|
|
8653
8668
|
}
|
|
8654
8669
|
|