@designcrowd/library.brand-page 6.2.13-ast-faq-3 → 6.2.13-refresh-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-DuqvIlY5.js → CreatedOnBrandCrowd-de-de-gxdibHyA.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-BTiQ6irn.js → CreatedOnBrandCrowd-en-us-DCm0q9X-.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-BR34skKE.js → CreatedOnBrandCrowd-es-es-Blhnp4E4.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-Cyk2tIKf.js → CreatedOnBrandCrowd-fr-ca-D4EmnWXQ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-Cyk2tIKf.js → CreatedOnBrandCrowd-fr-fr-D4EmnWXQ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-CO_ir8ZV.js → CreatedOnBrandCrowd-pt-br-CxBmV-9N.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-CO_ir8ZV.js → CreatedOnBrandCrowd-pt-pt-CxBmV-9N.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-BPLVwGSq.js → CreatedOnDcom-de-de-Hs8VwHVy.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-C3DWH2DW.js → CreatedOnDcom-en-us-BVT242S3.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-DGQFPCUc.js → CreatedOnDcom-es-es-BvGUMDdP.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-D1LHKCk9.js → CreatedOnDcom-fr-ca-O3PQ8_EE.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-C8K-ZhKD.js → CreatedOnDcom-fr-fr-DggGuRd8.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-Bc-pRr1P.js → CreatedOnDcom-pt-br-wx_4LvVE.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-QzWLKpaQ.js → CreatedOnDcom-pt-pt-C9uNctiR.js} +1 -1
- package/lib/src/brand-page/constants/misc.constants.d.ts +0 -7
- package/lib/src/brand-page/constants/misc.constants.js +0 -7
- package/lib/src/brand-page/constants/styles.constants.d.ts +0 -2
- package/lib/src/brand-page/constants/styles.constants.js +0 -2
- package/lib/src/brand-page/models/content.model.d.ts +0 -1
- package/lib/src/brand-page/models/content.model.js +0 -1
- package/lib/src/brand-page/models/index.d.ts +0 -26
- package/lib/src/brand-page/utils/container-text-color.util.js +0 -12
- package/lib/src/brand-page/utils/content-callback-util.d.ts +1 -2
- package/lib/src/brand-page/utils/content-callback-util.js +0 -3
- package/lib/src/brand-page/utils/view-model.util.js +0 -16
- package/lib/src/brand-page/view-models.d.ts +2 -5
- package/lib/src/brand-page-maker/assessors/index.d.ts +0 -1
- package/lib/src/brand-page-maker/assessors/index.js +0 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +1 -1
- package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.js +4 -0
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +0 -2
- package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +2 -0
- package/lib/src/brand-page-maker/composables/useEventTracker.js +8 -0
- package/lib/src/brand-page-maker/constants/config-settings-constant.d.ts +1 -2
- package/lib/src/brand-page-maker/constants/config-settings-constant.js +4 -116
- package/lib/src/brand-page-maker/constants/personalisation.constant.d.ts +2 -2
- package/lib/src/brand-page-maker/constants/personalisation.constant.js +2 -3
- package/lib/src/brand-page-maker/models/content-settings-configs.d.ts +0 -1
- package/lib/src/brand-page-maker/models/content-settings-configs.js +0 -1
- package/lib/src/brand-page-maker/models/content-settings.d.ts +1 -2
- package/lib/src/brand-page-maker/models/content-settings.js +1 -46
- package/lib/src/brand-page-maker/utils/apply-color-strategy.js +17 -41
- package/lib/src/brand-page-maker/utils/rte-authoring.util.js +1 -9
- package/lib/src/brand-page-maker/validators/field.validator.js +0 -2
- package/lib/src/{bundled-translations-LMpZwTQ3.js → bundled-translations-yGrvPE5i.js} +15 -15
- package/lib/src/{bundled-translations.de-DE-Dz0bbwo3.js → bundled-translations.de-DE-L4Znf8Hs.js} +35 -35
- package/lib/src/{bundled-translations.es-ES-DxFSGNeu.js → bundled-translations.es-ES-D6iticrK.js} +21 -21
- package/lib/src/{bundled-translations.fr-CA-CArr9KG-.js → bundled-translations.fr-CA-BgAVE-9k.js} +33 -33
- package/lib/src/{bundled-translations.fr-FR-Ci7-8b_w.js → bundled-translations.fr-FR-B8GbyqxQ.js} +9 -9
- package/lib/src/{bundled-translations.pt-BR-BmPWrJ7g.js → bundled-translations.pt-BR-DjPU3Db7.js} +31 -31
- package/lib/src/{bundled-translations.pt-PT-DS8g_MFC.js → bundled-translations.pt-PT-BaepaDpr.js} +31 -31
- package/lib/src/bundles/bundled-translations.de-DE.json +1 -9
- package/lib/src/bundles/bundled-translations.es-ES.json +1 -9
- package/lib/src/bundles/bundled-translations.fr-CA.json +1 -9
- package/lib/src/bundles/bundled-translations.fr-FR.json +1 -9
- package/lib/src/bundles/bundled-translations.json +1 -9
- package/lib/src/bundles/bundled-translations.pt-BR.json +1 -9
- package/lib/src/bundles/bundled-translations.pt-PT.json +1 -9
- package/lib/src/css/library.brand-page-brandCrowd.min.css +71 -272
- package/lib/src/css/library.brand-page-brandPage.min.css +72 -273
- package/lib/src/css/library.brand-page-designCom.min.css +71 -272
- package/lib/src/css/library.brand-page-preview.min.css +71 -272
- package/lib/src/index.mjs +163 -164
- package/lib/src/{lib-V3vbnBBX.js → lib-zqEquL_K.js} +39667 -34397
- package/lib/src/metadata-builder/builders/reorder-pages-builder.d.ts +13 -0
- package/lib/src/metadata-builder/builders/reorder-pages-builder.js +49 -0
- package/lib/src/metadata-builder/parsers/section-tool-arguments.d.ts +1 -1
- package/lib/src/shared/color-strategies/color-strategies.js +0 -4
- package/lib/src/shared/color-strategies/rte-field-pairs.d.ts +0 -11
- package/lib/src/shared/color-strategies/rte-field-pairs.js +0 -23
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +2 -2
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +1 -1
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/items-field/ItemsField.mixin.d.ts +0 -12
- package/lib/src/shared/content-settings/components/items-field/ItemsField.mixin.js +0 -8
- package/lib/src/shared/content-settings/components/text-style-field/TextStyleField.mixin.d.ts +0 -2
- package/lib/src/shared/content-settings/store/content-settings-store.d.ts +0 -2
- package/lib/src/shared/content-settings/store/content-settings-store.js +3 -23
- package/lib/src/shared/logo-settings/components/EditLogoSettings.mixin.d.ts +1 -0
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +1 -1
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +0 -1
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +1 -0
- package/lib/src/shared/side-bar/components/SideBarTabButton.mixin.d.ts +1 -0
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +1 -0
- package/lib/src/shared/template-settings/components/TemplatesSettings.mixin.d.ts +1 -0
- package/lib/src/tracker.mjs +1 -1
- package/lib/src/{useEventTracker-DwPTmzpa.js → useEventTracker-BBZr53c3.js} +11 -3
- package/package.json +2 -2
- package/src/brand-page/components/page/PageComponent.vue +0 -2
- package/src/brand-page/constants/misc.constants.ts +0 -9
- package/src/brand-page/constants/styles.constants.ts +0 -2
- package/src/brand-page/models/content.model.ts +0 -1
- package/src/brand-page/models/index.ts +0 -29
- package/src/brand-page/utils/container-text-color.util.test.ts +0 -81
- package/src/brand-page/utils/container-text-color.util.ts +0 -16
- package/src/brand-page/utils/content-callback-util.ts +0 -5
- package/src/brand-page/utils/personalisation.util.test.ts +0 -53
- package/src/brand-page/utils/view-model.util.ts +0 -26
- package/src/brand-page/view-models.ts +1 -8
- package/src/brand-page-maker/assessors/index.ts +0 -1
- package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +4 -0
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +0 -2
- package/src/brand-page-maker/composables/useEventTracker.test.ts +59 -0
- package/src/brand-page-maker/composables/useEventTracker.ts +8 -0
- package/src/brand-page-maker/constants/config-settings-constant.ts +1 -122
- package/src/brand-page-maker/constants/personalisation.constant.ts +3 -5
- package/src/brand-page-maker/models/content-settings-configs.ts +0 -1
- package/src/brand-page-maker/models/content-settings.test.ts +0 -6
- package/src/brand-page-maker/models/content-settings.ts +0 -51
- package/src/brand-page-maker/utils/__snapshots__/apply-color-strategy.golden.test.ts.snap +302 -2942
- package/src/brand-page-maker/utils/apply-color-strategy.test.ts +2 -93
- package/src/brand-page-maker/utils/apply-color-strategy.ts +19 -69
- package/src/brand-page-maker/utils/rte-authoring.util.test.ts +0 -30
- package/src/brand-page-maker/utils/rte-authoring.util.ts +0 -14
- package/src/brand-page-maker/validators/field.validator.ts +0 -2
- package/src/bundles/bundled-translations.de-DE.json +1 -9
- package/src/bundles/bundled-translations.es-ES.json +1 -9
- package/src/bundles/bundled-translations.fr-CA.json +1 -9
- package/src/bundles/bundled-translations.fr-FR.json +1 -9
- package/src/bundles/bundled-translations.json +1 -9
- package/src/bundles/bundled-translations.pt-BR.json +1 -9
- package/src/bundles/bundled-translations.pt-PT.json +1 -9
- package/src/metadata-builder/builders/reorder-pages-builder.ts +80 -0
- package/src/metadata-builder/parsers/section-tool-arguments.ts +1 -2
- package/src/shared/color-strategies/color-strategies.ts +0 -4
- package/src/shared/color-strategies/rte-field-pairs.test.ts +0 -2
- package/src/shared/color-strategies/rte-field-pairs.ts +0 -35
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.de-DE.json +1 -10
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.es-ES.json +1 -10
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-CA.json +1 -10
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-FR.json +1 -10
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.json +1 -10
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-BR.json +1 -10
- package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-PT.json +1 -10
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.vue +0 -2
- package/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.vue +0 -1
- package/src/shared/content-settings/components/items-field/ItemsField.mixin.ts +0 -8
- package/src/shared/content-settings/components/items-field/ItemsField.vue +3 -9
- package/src/shared/content-settings/store/content-settings-store.test.ts +0 -86
- package/src/shared/content-settings/store/content-settings-store.ts +4 -39
- package/lib/src/about-kDvNOm58.js +0 -13
- package/lib/src/add-page-B74X8NUf.js +0 -13
- package/lib/src/ai-DsR8jyxI.js +0 -13
- package/lib/src/align-center-DSTj1HQA.js +0 -14
- package/lib/src/align-justify-CCC8elb6.js +0 -14
- package/lib/src/align-left-BEvRbaBH.js +0 -14
- package/lib/src/align-right-BvkoHwGC.js +0 -14
- package/lib/src/animate-D9gmvSNw.js +0 -14
- package/lib/src/annotate-heart-DhHlFvYf.js +0 -14
- package/lib/src/arrow-down-BGMbWY94.js +0 -13
- package/lib/src/arrow-left-BsZrJWZM.js +0 -14
- package/lib/src/arrow-right-DWtkrB48.js +0 -14
- package/lib/src/arrow-top-right-Cohy_5HM.js +0 -13
- package/lib/src/arrow-up-DUh6ao5x.js +0 -14
- package/lib/src/arrow-up-underline-BSAXLfP_.js +0 -14
- package/lib/src/attach-CeLMQ19Y.js +0 -13
- package/lib/src/auth-facebook-BDj_QYzq.js +0 -16
- package/lib/src/auth-facebook-white-BBa0IpMv.js +0 -24
- package/lib/src/auth-google-BQk59WvR.js +0 -16
- package/lib/src/award-DnSUMh4E.js +0 -14
- package/lib/src/background-Bydficsa.js +0 -14
- package/lib/src/badge-DRLYRF06.js +0 -15
- package/lib/src/ban-CPgXSon8.js +0 -10
- package/lib/src/banner-C47ncl_n.js +0 -14
- package/lib/src/banner-centered-C44bbpT2.js +0 -28
- package/lib/src/banner-left-B_-EFS1D.js +0 -28
- package/lib/src/bar-DuYhjTfu.js +0 -31
- package/lib/src/bc-mast-CaQqrvpn.js +0 -14
- package/lib/src/bezier-curve-outline-gZnS5S6J.js +0 -14
- package/lib/src/bezier-curve-woMEjfr8.js +0 -14
- package/lib/src/bold-2cCJZEwr.js +0 -14
- package/lib/src/brand-page-maker/assessors/faq-accordion-color-field-visibility.assessor.d.ts +0 -3
- package/lib/src/brand-page-maker/assessors/faq-accordion-color-field-visibility.assessor.js +0 -4
- package/lib/src/brand-page-maker/convertors/faq-display-style.convertor.d.ts +0 -3
- package/lib/src/brand-page-maker/convertors/faq-display-style.convertor.js +0 -49
- package/lib/src/briefcase-CdsFKmTk.js +0 -14
- package/lib/src/browser-CNMOtHnH.js +0 -14
- package/lib/src/brush-CwDHMYlY.js +0 -13
- package/lib/src/building-pcupMAJ4.js +0 -10
- package/lib/src/bulb-D89SxVWD.js +0 -14
- package/lib/src/business-card-filled-DY7duM_U.js +0 -10
- package/lib/src/business-wRMjc-D6.js +0 -13
- package/lib/src/button-Deq6tHYF.js +0 -15
- package/lib/src/button-arrow-DY8-hcIs.js +0 -19
- package/lib/src/button-arrow-left-COvB_SSJ.js +0 -19
- package/lib/src/button-arrow-right-Bnq0Bnzf.js +0 -19
- package/lib/src/button-brushstroke-i9Cs6aTD.js +0 -21
- package/lib/src/button-brushstroke-left-DthPaAVx.js +0 -14
- package/lib/src/button-brushstroke-right-s6KyhOMH.js +0 -14
- package/lib/src/button-dashed-oval-gibb-D0Q.js +0 -25
- package/lib/src/button-dashed-rectangle-D5-Zd7XV.js +0 -24
- package/lib/src/button-dashed-rounded-BYecnz5H.js +0 -25
- package/lib/src/button-doubleline-oval-D_VYYj4A.js +0 -23
- package/lib/src/button-doubleline-rectangle-Cvtmrmnz.js +0 -29
- package/lib/src/button-doubleline-rounded-wiryDD-V.js +0 -23
- package/lib/src/button-justified-DKfsYPML.js +0 -33
- package/lib/src/button-paper-POXdojIY.js +0 -16
- package/lib/src/button-paper-bottom-BMcnyKQw.js +0 -12
- package/lib/src/button-paper-top-C2JV4CRA.js +0 -12
- package/lib/src/button-softshadow-oval-BgP47b4t.js +0 -16
- package/lib/src/button-softshadow-rectangle-DJ5Pv034.js +0 -16
- package/lib/src/button-softshadow-rounded-6pGgDrOi.js +0 -16
- package/lib/src/calculator-B_KAE9Q9.js +0 -10
- package/lib/src/calendar-DgegnQtF.js +0 -10
- package/lib/src/callout-error-DfU8PiGG.js +0 -13
- package/lib/src/callout-info-CJI1TYi8.js +0 -13
- package/lib/src/callout-success-DM067_NF.js +0 -13
- package/lib/src/callout-warning-weKyPoM0.js +0 -13
- package/lib/src/cap-BpfL8Hav.js +0 -27
- package/lib/src/card-ct8biICs.js +0 -19
- package/lib/src/card-vertical-J5VTRabx.js +0 -14
- package/lib/src/cart-empty-B4LEoggf.js +0 -16
- package/lib/src/chart-RbMED134.js +0 -12
- package/lib/src/chart-bar-CEJsqcEE.js +0 -16
- package/lib/src/chart-column-D_LCQ1Ou.js +0 -16
- package/lib/src/chart-line-D3Q5s-kT.js +0 -14
- package/lib/src/chart-pie-Vsmx_dad.js +0 -14
- package/lib/src/check-BqBovjKK.js +0 -13
- package/lib/src/check-circle-light-DQJaD2Gf.js +0 -14
- package/lib/src/check-rounded-CBHiVN38.js +0 -14
- package/lib/src/check-thin-BzQAu_3G.js +0 -14
- package/lib/src/chevron-down-DlVUnw2j.js +0 -14
- package/lib/src/chevron-left-WggxUcWf.js +0 -14
- package/lib/src/chevron-right-Bsq3rzxP.js +0 -13
- package/lib/src/chevron-right-wide-B50CFfAl.js +0 -10
- package/lib/src/chevron-up-CwMNyrPj.js +0 -14
- package/lib/src/clipboard-check-CLVcNncn.js +0 -14
- package/lib/src/clock-C6xnc0NJ.js +0 -10
- package/lib/src/close-Br5AgiLt.js +0 -13
- package/lib/src/coins-sparkle-r_WC7ZsK.js +0 -21
- package/lib/src/column-1-CoZaAnxa.js +0 -23
- package/lib/src/column-2-DRlEO4Sz.js +0 -29
- package/lib/src/column-3-Cw_Tx-du.js +0 -35
- package/lib/src/column-4-CoStnM7v.js +0 -41
- package/lib/src/community-CgBQbu3r.js +0 -10
- package/lib/src/contact-message-D0xIy8Q9.js +0 -13
- package/lib/src/content-E5ZfxI4k.js +0 -14
- package/lib/src/copy-CzqZ8FiO.js +0 -13
- package/lib/src/crop-FXMui4VK.js +0 -13
- package/lib/src/crown-DGNvE-iU.js +0 -13
- package/lib/src/crown-alt-2CInMYRG.js +0 -10
- package/lib/src/custom-landscape-Bzp9vgpk.js +0 -10
- package/lib/src/delete-Yjy0tULM.js +0 -13
- package/lib/src/designs-DRYH6XLR.js +0 -13
- package/lib/src/desktop-hamburger-display-style-1-BiqiOwja.js +0 -31
- package/lib/src/desktop-hamburger-display-style-2-CeaZN-cp.js +0 -31
- package/lib/src/desktop-hamburger-display-style-with-button-1-_heoKqu4.js +0 -16
- package/lib/src/desktop-hamburger-display-style-with-button-2-O7zbHBkp.js +0 -16
- package/lib/src/desktop-tab-display-style-1-D92DUs6S.js +0 -31
- package/lib/src/desktop-tab-display-style-2-DCSLLI9r.js +0 -31
- package/lib/src/desktop-tab-display-style-3-B9o7vdCH.js +0 -27
- package/lib/src/desktop-tab-display-style-4-CUF_hGJ3.js +0 -27
- package/lib/src/desktop-tab-display-style-5-DCUKW1Yi.js +0 -31
- package/lib/src/desktop-tab-display-style-6-C4_FKtWC.js +0 -31
- package/lib/src/desktop-tab-display-style-7-C1C_8zjT.js +0 -35
- package/lib/src/desktop-tab-display-style-8-Dicd2AfW.js +0 -31
- package/lib/src/desktop-tab-display-style-with-button-1-BYRTmir7.js +0 -35
- package/lib/src/desktop-tab-display-style-with-button-2-CVHWZtLT.js +0 -35
- package/lib/src/desktop-tab-display-style-with-button-3-CD3GdjuS.js +0 -35
- package/lib/src/desktop-tab-display-style-with-button-4-BLDYlimc.js +0 -31
- package/lib/src/desktop-tab-display-style-with-button-5-JT0gxhkV.js +0 -16
- package/lib/src/desktop-tab-display-style-with-button-6-D9Dj5Ggg.js +0 -16
- package/lib/src/desktop-yF-Y6bQP.js +0 -14
- package/lib/src/diamond-CxLgAxAH.js +0 -14
- package/lib/src/digital-business-card-filled-CmceFrJi.js +0 -33
- package/lib/src/display-style-1-B7o3OvOh.js +0 -16
- package/lib/src/display-style-1-BTFKHZ6S.js +0 -39
- package/lib/src/display-style-1-Jf3F60oh.js +0 -31
- package/lib/src/display-style-2-BS_f2I29.js +0 -31
- package/lib/src/display-style-2-CrXkWrYM.js +0 -27
- package/lib/src/display-style-2-DEdTaGIR.js +0 -16
- package/lib/src/display-style-3-Gwp2Qhx-.js +0 -31
- package/lib/src/display-style-4-D9iOBb6i.js +0 -31
- package/lib/src/display-style-about-1-1jJ2HSzp.js +0 -31
- package/lib/src/display-style-about-2-Cjj59t8n.js +0 -31
- package/lib/src/display-style-about-3-E7FC2Y52.js +0 -31
- package/lib/src/display-style-about-4-nXIu5yJ2.js +0 -16
- package/lib/src/display-style-about-5-xHiv-MIP.js +0 -15
- package/lib/src/display-style-about-6-zlJm9rsS.js +0 -15
- package/lib/src/display-style-banner-1-Dgi_11oo.js +0 -31
- package/lib/src/display-style-banner-10-CFVdD4Id.js +0 -31
- package/lib/src/display-style-banner-11-CyYT3Cu2.js +0 -31
- package/lib/src/display-style-banner-12-v-CMFbbx.js +0 -31
- package/lib/src/display-style-banner-13-F6TT5RzW.js +0 -32
- package/lib/src/display-style-banner-14-x7J7GcHj.js +0 -33
- package/lib/src/display-style-banner-15-DRXXl6Sx.js +0 -33
- package/lib/src/display-style-banner-2-BU_9uz_f.js +0 -31
- package/lib/src/display-style-banner-3-CmePK4Yv.js +0 -31
- package/lib/src/display-style-banner-4-Bi4Xtw08.js +0 -31
- package/lib/src/display-style-banner-5-BN_C3ObX.js +0 -31
- package/lib/src/display-style-banner-6-DGZkM66l.js +0 -16
- package/lib/src/display-style-banner-7-CLdIGEhS.js +0 -16
- package/lib/src/display-style-banner-8-DTg7idQV.js +0 -31
- package/lib/src/display-style-banner-9-CHcG6_GQ.js +0 -31
- package/lib/src/display-style-contact-1-2V9kmBvS.js +0 -16
- package/lib/src/display-style-contact-2-BjAgjPRY.js +0 -16
- package/lib/src/display-style-contact-4-DsCD80ar.js +0 -16
- package/lib/src/display-style-contact-5-BA4tuuBx.js +0 -16
- package/lib/src/display-style-contact-6-B_6hEGy9.js +0 -16
- package/lib/src/display-style-faq-1-DNyzPIlO.js +0 -16
- package/lib/src/display-style-faq-2-BnyyrUBR.js +0 -16
- package/lib/src/display-style-faq-3-DiEkgTNe.js +0 -16
- package/lib/src/display-style-images-1-Ddu5VxV_.js +0 -16
- package/lib/src/display-style-images-2-sdUSOz2_.js +0 -16
- package/lib/src/display-style-images-3-QXx2Hqvy.js +0 -16
- package/lib/src/display-style-images-4-B81YltuQ.js +0 -27
- package/lib/src/display-style-images-5-Ci0-0nt3.js +0 -16
- package/lib/src/display-style-images-6-BsmA9ngK.js +0 -16
- package/lib/src/divider-DS39wGvm.js +0 -14
- package/lib/src/divider-thick-CL0yGstj.js +0 -23
- package/lib/src/divider-thin-DmRtMKw1.js +0 -23
- package/lib/src/donate-BtLDxmJ0.js +0 -13
- package/lib/src/download-B-C2Dxns.js +0 -14
- package/lib/src/duplicate-DvjNC3fO.js +0 -13
- package/lib/src/edit-B1awchyC.js +0 -13
- package/lib/src/edit-line-Di0O03E_.js +0 -16
- package/lib/src/ellipsis-jKu9xArE.js +0 -13
- package/lib/src/email-DBu_dd25.js +0 -10
- package/lib/src/email-symbol-RNZceIEd.js +0 -10
- package/lib/src/envelope-email-DMxwd1an.js +0 -16
- package/lib/src/eraser-m18mG7rP.js +0 -10
- package/lib/src/error-DdeuYiV1.js +0 -13
- package/lib/src/etsy-CeSt3yTa.js +0 -10
- package/lib/src/eye-crossed-Cx7TCsdV.js +0 -14
- package/lib/src/eye-open-CufHPYjs.js +0 -24
- package/lib/src/facebook-BvnKLpgB.js +0 -10
- package/lib/src/favicon-BHy62bWw.js +0 -14
- package/lib/src/fees-C4ED697l.js +0 -13
- package/lib/src/file-BaDz07-y.js +0 -14
- package/lib/src/file-box-CX7dg0HT.js +0 -13
- package/lib/src/file-empty-CKdn5h2w.js +0 -14
- package/lib/src/filter-B9PYXVpz.js +0 -14
- package/lib/src/filter-DZfRKzET.js +0 -13
- package/lib/src/filters-BfxuFQ58.js +0 -13
- package/lib/src/flag-CYawnWmx.js +0 -16
- package/lib/src/flip-horizontal-CaXIwNv0.js +0 -14
- package/lib/src/flip-vertical-BtlFb5IR.js +0 -14
- package/lib/src/flyer-C5weSufU.js +0 -14
- package/lib/src/folder-BY3MP6i6.js +0 -13
- package/lib/src/font-DlaZgz_t.js +0 -14
- package/lib/src/footer-centered-C6qU41vu.js +0 -35
- package/lib/src/footer-left-Ce9XGzew.js +0 -35
- package/lib/src/form-Bhfk2_Gc.js +0 -10
- package/lib/src/form-message-CUmlqNVA.js +0 -13
- package/lib/src/fullscreen-ChLhKj9l.js +0 -10
- package/lib/src/fullscreen-exit-DZKPm_jp.js +0 -10
- package/lib/src/gift-certificate-MOt2_V1C.js +0 -10
- package/lib/src/globe-CgHTTsBH.js +0 -13
- package/lib/src/globe-CpowoBV4.js +0 -13
- package/lib/src/globe-DPxW6dd8.js +0 -10
- package/lib/src/group-_TI-eN0v.js +0 -13
- package/lib/src/hamburger-1-BFZqwb9X.js +0 -17
- package/lib/src/hamburger-2-QcRU5Lwc.js +0 -19
- package/lib/src/hamburger-3-1i4eghET.js +0 -19
- package/lib/src/hamburger-4-C1ikv0Iu.js +0 -15
- package/lib/src/hamburger-C8C2gpIB.js +0 -19
- package/lib/src/hamburger-display-style-no-logo-1-Bq9DkZs_.js +0 -27
- package/lib/src/hamburger-display-style-no-logo-2-CpIVlw5J.js +0 -27
- package/lib/src/hamburger-display-style-no-logo-3-CQudrG6g.js +0 -27
- package/lib/src/hamburger-tCbHTGsU.js +0 -31
- package/lib/src/headphones-CmsZPGnV.js +0 -14
- package/lib/src/heart-Bh-0Lt26.js +0 -14
- package/lib/src/history-XMIOWS7h.js +0 -41
- package/lib/src/home-DuE2ivXr.js +0 -14
- package/lib/src/home-Dv6QibAO.js +0 -13
- package/lib/src/home-outline-CWyCU3-s.js +0 -13
- package/lib/src/icon-style-circle-bg-B5dSeqyG.js +0 -29
- package/lib/src/icon-style-no-bg-Cb9-GOUX.js +0 -23
- package/lib/src/icon-style-square-bg-h5aiRuz2.js +0 -29
- package/lib/src/image-Cwok9j9Z.js +0 -14
- package/lib/src/image-DIUAavEW.js +0 -14
- package/lib/src/image-gallery-carousel-VOly6LZM.js +0 -22
- package/lib/src/image-gallery-grid-BDTVWrIQ.js +0 -32
- package/lib/src/image-gallery-masonry-B5I6tbse.js +0 -26
- package/lib/src/images-2aBZrLDd.js +0 -14
- package/lib/src/images-gallery-CdeYIRu_.js +0 -10
- package/lib/src/info-AakjuN40.js +0 -21
- package/lib/src/infographics-p__KAXdM.js +0 -10
- package/lib/src/instagram-VsgYQPNq.js +0 -14
- package/lib/src/invitation-BiHVw6i1.js +0 -10
- package/lib/src/invoice-DfjXIadZ.js +0 -10
- package/lib/src/italic-C97Od_1y.js +0 -14
- package/lib/src/jobs-DFId1LUg.js +0 -13
- package/lib/src/layer-DkoSw-Ur.js +0 -13
- package/lib/src/layer-bring-front-CDDjMooq.js +0 -13
- package/lib/src/layer-send-back-BfJnq47V.js +0 -13
- package/lib/src/layout-DAqwH-_w.js +0 -10
- package/lib/src/layout-icon-bottom-normal-text-center-normal-CSXCya5T.js +0 -35
- package/lib/src/layout-icon-bottom-normal-text-center-small-BjVk9qNP.js +0 -35
- package/lib/src/layout-icon-bottom-small-text-center-normal-D42s65pQ.js +0 -35
- package/lib/src/layout-icon-center-normal-curved-text-bottom-ClKPyFr_.js +0 -33
- package/lib/src/layout-icon-center-normal-curved-text-circle-CZ_JI6De.js +0 -26
- package/lib/src/layout-icon-center-normal-curved-text-top-B1A0wRv5.js +0 -33
- package/lib/src/layout-icon-left-normal-text-center-normal-tkzqwewh.js +0 -35
- package/lib/src/layout-icon-left-normal-text-justify-normal-DMoB5LnV.js +0 -35
- package/lib/src/layout-icon-left-normal-text-left-normal-CLDscC5f.js +0 -35
- package/lib/src/layout-icon-left-small-text-left-normal-Cne2N4z7.js +0 -35
- package/lib/src/layout-icon-right-normal-text-center-normal-B0Oynyur.js +0 -35
- package/lib/src/layout-icon-right-normal-text-justify-normal-CAqmEc_W.js +0 -35
- package/lib/src/layout-icon-right-normal-text-right-normal-C9jb8DEO.js +0 -35
- package/lib/src/layout-icon-right-small-text-right-normal-D9ELa8qj.js +0 -35
- package/lib/src/layout-icon-top-normal-text-center-normal-BWbbVnXx.js +0 -35
- package/lib/src/layout-icon-top-normal-text-center-small-vK8kXX7r.js +0 -35
- package/lib/src/layout-icon-top-normal-text-justify-normal-ZMys6b2v.js +0 -35
- package/lib/src/layout-icon-top-small-text-center-normal-DKex9j0E.js +0 -35
- package/lib/src/letterhead-filled-S2f3ulFi.js +0 -10
- package/lib/src/lightning-CynCfJ0Y.js +0 -14
- package/lib/src/link-D2kagfzZ.js +0 -13
- package/lib/src/link-DZb4BURJ.js +0 -14
- package/lib/src/link-in-bio-filled-DohYl1KQ.js +0 -33
- package/lib/src/linkedin-NztLnAv4.js +0 -14
- package/lib/src/list-bullet-BasnyV0f.js +0 -18
- package/lib/src/list-numbered-Emr7mCr9.js +0 -26
- package/lib/src/location-DDn9lij5.js +0 -13
- package/lib/src/lock-BFr5MZ_G.js +0 -13
- package/lib/src/logo-S_M0ep74.js +0 -14
- package/lib/src/logo-rifcdgV5.js +0 -10
- package/lib/src/mac-command-O1Z3uta6.js +0 -15
- package/lib/src/map-Byp-t3UR.js +0 -13
- package/lib/src/media-CCvaZGDj.js +0 -10
- package/lib/src/menu-CogK5svY.js +0 -10
- package/lib/src/message-DNTbxV_0.js +0 -13
- package/lib/src/microphone-BtYL1n4t.js +0 -10
- package/lib/src/microphone-bold-C833MEQh.js +0 -14
- package/lib/src/minus-D8puuMiE.js +0 -13
- package/lib/src/minus-circle-light-Ddu1kKO4.js +0 -14
- package/lib/src/mobile-CMETRs35.js +0 -10
- package/lib/src/mobile-hamburger-display-style-1-BtKFW4d9.js +0 -31
- package/lib/src/mobile-hamburger-display-style-2-C7qsSS6_.js +0 -31
- package/lib/src/mobile-hamburger-display-style-3-CksDnnkS.js +0 -31
- package/lib/src/mobile-hamburger-display-style-4-CA5IrF8k.js +0 -31
- package/lib/src/mobile-tab-display-style-1-BwS9Vfsi.js +0 -31
- package/lib/src/mobile-tab-display-style-2-CywISUqX.js +0 -31
- package/lib/src/mobile-tab-display-style-with-button-1-BJ69_IZ0.js +0 -16
- package/lib/src/mobile-tab-display-style-with-button-2-DWoDG9sr.js +0 -16
- package/lib/src/mug-D9OzrN84.js +0 -35
- package/lib/src/opacity-Bj17lPKI.js +0 -13
- package/lib/src/other-DF2Gm1LU.js +0 -29
- package/lib/src/page-blank-DN_IFlyV.js +0 -13
- package/lib/src/page-buttons-CXAqSTqF.js +0 -18
- package/lib/src/page-hamburger-tA0e2C-l.js +0 -37
- package/lib/src/page-tabs-BpEMT7sC.js +0 -39
- package/lib/src/pages-sngeqEIV.js +0 -13
- package/lib/src/paint-brush-C2b0sF31.js +0 -10
- package/lib/src/palette-ogkgWFIQ.js +0 -14
- package/lib/src/palette-outline-DldoNyzq.js +0 -14
- package/lib/src/pause-B5utYFsN.js +0 -10
- package/lib/src/pause-DIcuB2E0.js +0 -10
- package/lib/src/payment-n-axBZPw.js +0 -21
- package/lib/src/payments-featured-DVATKjDr.js +0 -27
- package/lib/src/payments-textonly-Dh2uzJG0.js +0 -40
- package/lib/src/payments-thumbnail-DGN7s-cs.js +0 -29
- package/lib/src/pen-BKUWdaHi.js +0 -14
- package/lib/src/pen-outline-gPHRlJlu.js +0 -14
- package/lib/src/pen-sparkle-BryzoX1X.js +0 -26
- package/lib/src/pen-tool-DSw6D5gE.js +0 -14
- package/lib/src/phone-D8P12QmJ.js +0 -10
- package/lib/src/phone-Dmxc-Gca.js +0 -13
- package/lib/src/pinterest-CuQNnbmj.js +0 -10
- package/lib/src/play-BPJtmH1t.js +0 -10
- package/lib/src/plus-BinzfVrm.js +0 -10
- package/lib/src/plus-circle-DZ3P-iOI.js +0 -14
- package/lib/src/plus-circle-light-yeZUhwLN.js +0 -15
- package/lib/src/plus-light-DJ60pznr.js +0 -14
- package/lib/src/poll-CX8Gcn1D.js +0 -10
- package/lib/src/portfolio-B44rEHNU.js +0 -13
- package/lib/src/postcard-BpeZp6jE.js +0 -10
- package/lib/src/poster-DSYqz6VR.js +0 -14
- package/lib/src/premium-content-B_7tKHY7.js +0 -21
- package/lib/src/preview-BcV3VBux.js +0 -13
- package/lib/src/printing-Tc22CThS.js +0 -13
- package/lib/src/processing-BMZTXiSn.js +0 -10
- package/lib/src/profile-DkiDsuda.js +0 -10
- package/lib/src/qrcode-BAcIh5yX.js +0 -10
- package/lib/src/question-DqxdSNbJ.js +0 -21
- package/lib/src/question-alt-C6Vy8_zW.js +0 -29
- package/lib/src/question-circle-filled-BuyTEGsS.js +0 -14
- package/lib/src/quote-D-C-tBEA.js +0 -12
- package/lib/src/ratio-1-1-tp4-PAEt.js +0 -15
- package/lib/src/ratio-16-9-BujCKVgD.js +0 -15
- package/lib/src/ratio-2-3-YNco8tss.js +0 -15
- package/lib/src/ratio-3-2-DZbHY8yj.js +0 -15
- package/lib/src/ratio-3-4-CPA0pPn-.js +0 -15
- package/lib/src/ratio-4-3-CskKcOxa.js +0 -15
- package/lib/src/ratio-9-16--C74wbI0.js +0 -15
- package/lib/src/ratio-circle-Bmaxyx-T.js +0 -15
- package/lib/src/ratio-original-Di2VgnOc.js +0 -23
- package/lib/src/redo-DCrpG79s.js +0 -13
- package/lib/src/refresh-8gn3uCtt.js +0 -13
- package/lib/src/reload-DlokXWfw.js +0 -13
- package/lib/src/reorderable-C6_t-hIO.js +0 -10
- package/lib/src/request-payment-Da4v8PWr.js +0 -13
- package/lib/src/reset-DRoqZnpr.js +0 -13
- package/lib/src/resize-CVmX5-N7.js +0 -25
- package/lib/src/roller-brush-MDAYYy-6.js +0 -10
- package/lib/src/save-_kCzy8k3.js +0 -13
- package/lib/src/search-BI5kOCSj.js +0 -14
- package/lib/src/secure-DcVwO9GC.js +0 -14
- package/lib/src/select-all-BShNbbDe.js +0 -24
- package/lib/src/send-DqUjCIeo.js +0 -23
- package/lib/src/services-qS4UFDgB.js +0 -12
- package/lib/src/settings-DE5-hpi-.js +0 -15
- package/lib/src/shape-c-6IHHVx.js +0 -10
- package/lib/src/share-wZhcoUMc.js +0 -17
- package/lib/src/shield-tick-BSDgsjnl.js +0 -13
- package/lib/src/shop-BpQTyqqj.js +0 -13
- package/lib/src/size-auto--OZcKkrD.js +0 -10
- package/lib/src/size-landscape-C2fQAraI.js +0 -10
- package/lib/src/size-portrait-JxXnLE_O.js +0 -10
- package/lib/src/size-square-Y3ipHp_t.js +0 -10
- package/lib/src/sms-tJx0sSeI.js +0 -10
- package/lib/src/snapchat-D0GLK5vE.js +0 -10
- package/lib/src/social-facebook-Cq9aajIm.js +0 -13
- package/lib/src/social-facebook-DuO-yzxL.js +0 -10
- package/lib/src/social-facebook-color-mZ0jWUgW.js +0 -25
- package/lib/src/social-google-6xC9AfBA.js +0 -10
- package/lib/src/social-google-C41Inr1o.js +0 -13
- package/lib/src/social-instagram-DR8mq4oq.js +0 -13
- package/lib/src/social-instagram-color-vhz42Gs9.js +0 -62
- package/lib/src/social-linkedin-color-Cp3J9iCX.js +0 -21
- package/lib/src/social-share-Dtm167_p.js +0 -12
- package/lib/src/social-twitter-CzUy6kaF.js +0 -13
- package/lib/src/social-twitter-color-rUARk_tV.js +0 -25
- package/lib/src/social-youtube-BqgoboXw.js +0 -13
- package/lib/src/sort-CiBtCSdt.js +0 -10
- package/lib/src/soundcloud-DNHtkJns.js +0 -14
- package/lib/src/spacing-D25TG76B.js +0 -27
- package/lib/src/sparkle-square-BQ7kYdVN.js +0 -31
- package/lib/src/squares-nhYpEZA1.js +0 -14
- package/lib/src/star-filled-CBI8mP8b.js +0 -13
- package/lib/src/star-hollow-DgFw2KIs.js +0 -13
- package/lib/src/sticker-CMho9HsD.js +0 -35
- package/lib/src/stop-D856dRFt.js +0 -10
- package/lib/src/strikethrough-C2E5jvEv.js +0 -14
- package/lib/src/styles-D9NPHcXn.js +0 -10
- package/lib/src/submit-CkdY8KL3.js +0 -10
- package/lib/src/t-shirt-3OZDrgMT.js +0 -39
- package/lib/src/tab-display-style-no-logo-1-DfC1atUb.js +0 -27
- package/lib/src/tab-display-style-no-logo-2-CeBTQV0e.js +0 -27
- package/lib/src/tab-display-style-no-logo-3-CfidbZ7n.js +0 -27
- package/lib/src/templates-BXrgnF4a.js +0 -14
- package/lib/src/testimonial-big-image-BHMJM4wo.js +0 -36
- package/lib/src/testimonial-centered-Dg7YaqWc.js +0 -32
- package/lib/src/testimonial-columns-DH5vMmz5.js +0 -40
- package/lib/src/text-HRbiTQnW.js +0 -14
- package/lib/src/text-background-color-B7ieS5Fi.js +0 -21
- package/lib/src/text-color-BmZNeyyv.js +0 -23
- package/lib/src/text-image-B_8-qCsu.js +0 -44
- package/lib/src/text-image-center-D5De0ysU.js +0 -28
- package/lib/src/text-image-justified-jqSLA_rk.js +0 -35
- package/lib/src/text-image-left-CkdvuLGg.js +0 -29
- package/lib/src/text-image-only-D_XxIf4q.js +0 -21
- package/lib/src/text-image-right-DNLwbt_k.js +0 -29
- package/lib/src/text-sYr-Orfd.js +0 -14
- package/lib/src/thankyou-card-DsYlw9bf.js +0 -10
- package/lib/src/thumbs-up-DE_It2zw.js +0 -10
- package/lib/src/tiktok-B_c-YWmh.js +0 -10
- package/lib/src/time-D5Pkuh3h.js +0 -13
- package/lib/src/tools-DbQfJNG9.js +0 -10
- package/lib/src/tooltip-bottom-Dt8D_UmM.js +0 -12
- package/lib/src/tooltip-left-CPCWcoPJ.js +0 -12
- package/lib/src/tooltip-right-CSyXQn4E.js +0 -12
- package/lib/src/tooltip-top-BvktW-8b.js +0 -12
- package/lib/src/transition-CdbiUYun.js +0 -27
- package/lib/src/tumblr-6fKAECbB.js +0 -10
- package/lib/src/twitch-lEOipUUW.js +0 -14
- package/lib/src/twitter-D0ZV0zoB.js +0 -10
- package/lib/src/underline-BHYMmSuK.js +0 -14
- package/lib/src/undo-B2Q8kIwR.js +0 -13
- package/lib/src/upgrade-SEQCvPkz.js +0 -16
- package/lib/src/upgrade-alt-DpWMU4ds.js +0 -14
- package/lib/src/upgrade-to-add-page-w4VSIZf4.js +0 -57
- package/lib/src/upgrade-to-contact-form-Cl20do1J.js +0 -95
- package/lib/src/upgrade-to-google-ad-BmSa6_tC.js +0 -129
- package/lib/src/upgrade-to-maps-CaVp-FIi.js +0 -56
- package/lib/src/upgrade-to-publish-9plbOA5h.js +0 -119
- package/lib/src/upgrade-to-remove-watermark-J_T1t1On.js +0 -108
- package/lib/src/upgrade-to-videos-AKa6nbbU.js +0 -54
- package/lib/src/upload-BomWiGIA.js +0 -10
- package/lib/src/upload-arrow-DkoZlPV3.js +0 -10
- package/lib/src/uppercase-BFtiYvaw.js +0 -24
- package/lib/src/user-accounts-B72QdFHd.js +0 -10
- package/lib/src/user-headset-DvIsy1Hj.js +0 -57
- package/lib/src/users-2-CV3IWBqL.js +0 -15
- package/lib/src/users-_BZwn3my.js +0 -14
- package/lib/src/video-CMMFni7S.js +0 -10
- package/lib/src/volume-DDvrfWPe.js +0 -10
- package/lib/src/volume-muted-DVyYuWQu.js +0 -10
- package/lib/src/watchlist-filled-BPzgtNcv.js +0 -24
- package/lib/src/watchlist-hollow-BAo0bFaF.js +0 -13
- package/lib/src/watchlist-hollow-alt-CtGmiLDU.js +0 -24
- package/lib/src/website-DQ3bFU45.js +0 -13
- package/lib/src/website-filled-BN5SSvdv.js +0 -10
- package/lib/src/whatsapp-BXDgl7jD.js +0 -14
- package/lib/src/wholesale-8juugCD-.js +0 -13
- package/lib/src/wrap-text-qAauSG7y.js +0 -15
- package/lib/src/youtube-wcr0Q5_a.js +0 -10
- package/lib/src/zoom-BBAnNKKL.js +0 -16
- package/lib/src/zoom-BtvYgKMu.js +0 -10
- package/lib/src/zoom-in-PARc9Zx0.js +0 -10
- package/lib/src/zoom-out-z5Gunve-.js +0 -10
- package/src/brand-page/components/faq-section/FaqSection.test.ts +0 -196
- package/src/brand-page/components/faq-section/FaqSection.vue +0 -315
- package/src/brand-page-maker/assessors/faq-accordion-color-field-visibility.assessor.ts +0 -9
- package/src/brand-page-maker/constants/faq-section-config.test.ts +0 -22
- package/src/brand-page-maker/convertors/faq-display-style.convertor.ts +0 -61
- package/src/shared/content-settings/components/faq-items-field/FaqItemsField.test.ts +0 -162
- package/src/shared/content-settings/components/faq-items-field/FaqItemsField.vue +0 -288
|
@@ -77,13 +77,6 @@ export declare const IMAGE_RESOLUTION_PRESETS: {
|
|
|
77
77
|
readonly ULTRA_HD: "q=80&w=2160";
|
|
78
78
|
};
|
|
79
79
|
export type ImagesSectionContentDisplayStyle = (typeof IMAGES_SECTION_CONTENT_DISPLAY_STYLES)[number];
|
|
80
|
-
/** Centered and split are accordions; grid shows every answer. */
|
|
81
|
-
export declare const FAQ_DISPLAY_STYLES: Readonly<{
|
|
82
|
-
readonly centered: "faq-centered";
|
|
83
|
-
readonly split: "faq-split";
|
|
84
|
-
readonly grid: "faq-grid";
|
|
85
|
-
}>;
|
|
86
|
-
export declare const FAQ_MAX_ITEMS = 6;
|
|
87
80
|
export declare const HEADER_CSRF_TOKEN = "csrf-token";
|
|
88
81
|
export declare const STYLE_THEME_KEYS: Readonly<{
|
|
89
82
|
LogoTextColor: "logo-text-color";
|
|
@@ -103,13 +103,6 @@ export const IMAGE_RESOLUTION_PRESETS = {
|
|
|
103
103
|
FULL_HD: 'q=80&w=1080',
|
|
104
104
|
ULTRA_HD: 'q=80&w=2160',
|
|
105
105
|
};
|
|
106
|
-
/** Centered and split are accordions; grid shows every answer. */
|
|
107
|
-
export const FAQ_DISPLAY_STYLES = Object.freeze({
|
|
108
|
-
centered: 'faq-centered',
|
|
109
|
-
split: 'faq-split',
|
|
110
|
-
grid: 'faq-grid',
|
|
111
|
-
});
|
|
112
|
-
export const FAQ_MAX_ITEMS = 6;
|
|
113
106
|
export const HEADER_CSRF_TOKEN = 'csrf-token';
|
|
114
107
|
export const STYLE_THEME_KEYS = Object.freeze({
|
|
115
108
|
LogoTextColor: 'logo-text-color',
|
|
@@ -33,7 +33,5 @@ export declare const CONTENT_TEXT_STYLE_PROPERTY_KEYS: {
|
|
|
33
33
|
readonly buttonTextStyle: "buttonTextStyle";
|
|
34
34
|
readonly copyrightStyle: "copyrightStyle";
|
|
35
35
|
readonly successMessageStyle: "successMessageStyle";
|
|
36
|
-
readonly questionStyle: "questionStyle";
|
|
37
|
-
readonly answerStyle: "answerStyle";
|
|
38
36
|
};
|
|
39
37
|
export type ContentTextStylePropertyKey = keyof typeof CONTENT_TEXT_STYLE_PROPERTY_KEYS;
|
|
@@ -31,7 +31,6 @@ export declare const CONTENT_TYPES: {
|
|
|
31
31
|
readonly 'shapes-section': "shapes-section";
|
|
32
32
|
readonly 'shop-section': "shop-section";
|
|
33
33
|
readonly 'booking-section': "booking-section";
|
|
34
|
-
readonly 'faq-section': "faq-section";
|
|
35
34
|
};
|
|
36
35
|
export type ContentType = keyof typeof CONTENT_TYPES;
|
|
37
36
|
export declare const PERSONALISATION_ROLES: {
|
|
@@ -478,32 +478,6 @@ export interface BookingSectionContent extends Content {
|
|
|
478
478
|
buttonLinkType: ButtonLinkType;
|
|
479
479
|
buttonTextStyle: TextStyleDeclaration;
|
|
480
480
|
}
|
|
481
|
-
export interface FaqItem {
|
|
482
|
-
/** Stable per-item identifier. See ImageItem.id. */
|
|
483
|
-
id: string;
|
|
484
|
-
question: RichTextValue;
|
|
485
|
-
answer: RichTextValue;
|
|
486
|
-
questionOverride?: string;
|
|
487
|
-
answerOverride?: string;
|
|
488
|
-
}
|
|
489
|
-
export interface FaqSectionContent extends Content {
|
|
490
|
-
type: 'faq-section';
|
|
491
|
-
title: RichTextValue;
|
|
492
|
-
description: RichTextValue;
|
|
493
|
-
displayStyle: string;
|
|
494
|
-
items: FaqItem[];
|
|
495
|
-
titleStyle: RteTextRole;
|
|
496
|
-
descriptionStyle: RteTextRole;
|
|
497
|
-
/** Shared by every question; a question's own formatting lives in its doc. */
|
|
498
|
-
questionStyle: RteTextRole;
|
|
499
|
-
/** Shared by every answer. */
|
|
500
|
-
answerStyle: RteTextRole;
|
|
501
|
-
backgroundStyle: BrandPageCssStyle;
|
|
502
|
-
/** `{ color }` for the +/- toggle. */
|
|
503
|
-
iconColor: BrandPageCssStyle;
|
|
504
|
-
/** `{ backgroundColor }`, the Divider section's shape. `'transparent'` hides the line. */
|
|
505
|
-
dividerColor: BrandPageCssStyle;
|
|
506
|
-
}
|
|
507
481
|
export declare class PageModel {
|
|
508
482
|
title: string;
|
|
509
483
|
contents: Content[];
|
|
@@ -490,18 +490,6 @@ export const applyTextContrast = (content, styles, brandPageType) => {
|
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
// Same for the FAQ's +/− icons and divider: with no base coat to inherit, a new section
|
|
494
|
-
// stores its title's contrast colour, so both start linked to the palette.
|
|
495
|
-
if (content.type === 'faq-section') {
|
|
496
|
-
const faq = content;
|
|
497
|
-
const fill = titleSurfaceContrastFill(content, styles, brandPageType);
|
|
498
|
-
if (fill && isBlankColorValue(faq.iconColor?.color)) {
|
|
499
|
-
faq.iconColor = { ...faq.iconColor, color: fill };
|
|
500
|
-
}
|
|
501
|
-
if (fill && isBlankColorValue(faq.dividerColor?.backgroundColor)) {
|
|
502
|
-
faq.dividerColor = { ...faq.dividerColor, backgroundColor: fill };
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
493
|
return content;
|
|
506
494
|
};
|
|
507
495
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProfileContent, TextContent, ContactFormContent, ImageContent, BannerSectionContent, SocialLinksContent, ImageGalleryContent, TestimonialSectionContent, AboutSectionContent, ImagesSectionContent, MailingListContent, SupportMeContent, RequestPaymentContent, ShapesSectionContent, ShopContent, ButtonContent, PageModel, BookingSectionContent
|
|
1
|
+
import type { ProfileContent, TextContent, ContactFormContent, ImageContent, BannerSectionContent, SocialLinksContent, ImageGalleryContent, TestimonialSectionContent, AboutSectionContent, ImagesSectionContent, MailingListContent, SupportMeContent, RequestPaymentContent, ShapesSectionContent, ShopContent, ButtonContent, PageModel, BookingSectionContent } from '../models';
|
|
2
2
|
export type ContentCallback = {
|
|
3
3
|
profileContentCallback: (content: ProfileContent) => void;
|
|
4
4
|
textContentCallback: (content: TextContent) => void;
|
|
@@ -17,6 +17,5 @@ export type ContentCallback = {
|
|
|
17
17
|
shopSectionContentCallback: (content: ShopContent) => void;
|
|
18
18
|
buttonContentCallback: (content: ButtonContent) => void;
|
|
19
19
|
bookingSectionContentCallback: (content: BookingSectionContent) => void;
|
|
20
|
-
faqSectionContentCallback: (content: FaqSectionContent) => void;
|
|
21
20
|
};
|
|
22
21
|
export declare const forEachPageCallContentCallback: (page: PageModel, callbacks: ContentCallback) => void;
|
|
@@ -49,9 +49,6 @@ export const forEachPageCallContentCallback = (page, callbacks) => {
|
|
|
49
49
|
case 'booking-section':
|
|
50
50
|
callbacks.bookingSectionContentCallback(content);
|
|
51
51
|
break;
|
|
52
|
-
case 'faq-section':
|
|
53
|
-
callbacks.faqSectionContentCallback(content);
|
|
54
|
-
break;
|
|
55
52
|
case 'general-link':
|
|
56
53
|
case 'website':
|
|
57
54
|
case 'email':
|
|
@@ -626,20 +626,6 @@ const mapToTestimonialSectionViewModel = (content, styles) => {
|
|
|
626
626
|
isFullWidth: true,
|
|
627
627
|
}, styles);
|
|
628
628
|
};
|
|
629
|
-
const mapToFaqSectionViewModel = (content, styles) => {
|
|
630
|
-
return applyViewModelTextStyles({
|
|
631
|
-
...content,
|
|
632
|
-
role: content.type,
|
|
633
|
-
type: 'faq-section',
|
|
634
|
-
// No `color` pre-seed, as in the testimonial mapper: it would read as an override.
|
|
635
|
-
titleStyle: { ...content.titleStyle },
|
|
636
|
-
descriptionStyle: { ...content.descriptionStyle },
|
|
637
|
-
questionStyle: { ...content.questionStyle },
|
|
638
|
-
answerStyle: { ...content.answerStyle },
|
|
639
|
-
items: content.items ?? [],
|
|
640
|
-
isFullWidth: true,
|
|
641
|
-
}, styles);
|
|
642
|
-
};
|
|
643
629
|
const mapToSocialLinksViewModel = (content, styles, brandPageType) => {
|
|
644
630
|
return applyViewModelTextStyles({
|
|
645
631
|
...content,
|
|
@@ -908,8 +894,6 @@ export const mapToViewModel = (styles, brandPageType, options) => (content) => {
|
|
|
908
894
|
return mapToBannerSectionViewModel(content, styles, options);
|
|
909
895
|
case 'booking-section':
|
|
910
896
|
return mapToBookingSectionViewModel(content, styles);
|
|
911
|
-
case 'faq-section':
|
|
912
|
-
return mapToFaqSectionViewModel(content, styles);
|
|
913
897
|
case 'about-section':
|
|
914
898
|
return mapToAboutSectionViewModel(content, styles);
|
|
915
899
|
case 'images-section':
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ButtonWithModalContent, ProfileContent, TextContent, VideoContent, ImageContent, ContentType, ButtonStyles, LogoStyles, MapContent, ImageGalleryContent, GalleryStyles, MailingListContent, RequestPaymentContent, ShopContent, SupportMeContent, ContactFormContent, BannerSectionContent, BrandPageType, SocialLinksContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, ButtonLinkType, PageHeaderMobile, PageHeaderDesktop, PageFooterMobile, PageFooterDesktop, TextMediaItem, TextShapeItem, TextStyleDeclaration, AspectRatio, LogoImageModel, LogoTemplateImageModel, CookieOptions, BookingSectionContent,
|
|
1
|
+
import type { ButtonWithModalContent, ProfileContent, TextContent, VideoContent, ImageContent, ContentType, ButtonStyles, LogoStyles, MapContent, ImageGalleryContent, GalleryStyles, MailingListContent, RequestPaymentContent, ShopContent, SupportMeContent, ContactFormContent, BannerSectionContent, BrandPageType, SocialLinksContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, ButtonLinkType, PageHeaderMobile, PageHeaderDesktop, PageFooterMobile, PageFooterDesktop, TextMediaItem, TextShapeItem, TextStyleDeclaration, AspectRatio, LogoImageModel, LogoTemplateImageModel, CookieOptions, BookingSectionContent, MediaTypes, TextStyles, BackgroundStyle, BackgroundShape, PersonalisationRole, SaveContactOptions, ColorItem, RichTextValue } from './models';
|
|
2
2
|
import type { ImagesSectionContentDisplayStyle } from './constants';
|
|
3
|
-
export type ViewModelType = 'button' | 'image' | 'image-gallery' | 'logo' | 'map' | 'mailing-list' | 'profile' | 'support-me' | 'request-payment' | 'text' | 'video' | 'contact-form' | 'banner-section' | 'images-section' | 'about-section' | 'divider-section' | 'testimonial-section' | 'social-links' | 'shapes-section' | 'shop-section' | 'booking-section'
|
|
3
|
+
export type ViewModelType = 'button' | 'image' | 'image-gallery' | 'logo' | 'map' | 'mailing-list' | 'profile' | 'support-me' | 'request-payment' | 'text' | 'video' | 'contact-form' | 'banner-section' | 'images-section' | 'about-section' | 'divider-section' | 'testimonial-section' | 'social-links' | 'shapes-section' | 'shop-section' | 'booking-section';
|
|
4
4
|
export interface ContentViewModel {
|
|
5
5
|
id: string;
|
|
6
6
|
type: ViewModelType;
|
|
@@ -133,9 +133,6 @@ export interface BookingSectionViewModel extends ContentViewModel, Omit<BookingS
|
|
|
133
133
|
buttonViewModel: ButtonViewModel;
|
|
134
134
|
isFullWidth: boolean;
|
|
135
135
|
}
|
|
136
|
-
export interface FaqSectionViewModel extends ContentViewModel, Omit<FaqSectionContent, 'type'> {
|
|
137
|
-
isFullWidth: boolean;
|
|
138
|
-
}
|
|
139
136
|
export interface PageHeaderViewModel extends Omit<PageHeaderDesktop | PageHeaderMobile, 'logoImage' | 'logoImageStyle' | 'isLogoOptional' | 'viewport' | 'isLogoVisible' | 'logoTemplateImage' | 'logoImageHeight' | 'logoImageWidth' | 'headerButton' | 'backgroundStyle'> {
|
|
140
137
|
logo: LogoViewModel;
|
|
141
138
|
pages: PageViewModel[];
|
|
@@ -8,7 +8,6 @@ export * from './media-section-items-field.assessor';
|
|
|
8
8
|
export * from './shape-section-items-field.assessor';
|
|
9
9
|
export * from './shape-size-visibility.assessor';
|
|
10
10
|
export * from './divider-toggle-field-visibility.assessor';
|
|
11
|
-
export * from './faq-accordion-color-field-visibility.assessor';
|
|
12
11
|
export * from './color-replacement-visibility.assessor';
|
|
13
12
|
export * from './color-replacement-profile-visibility.assessor';
|
|
14
13
|
export * from './color-replacement-icon-visibility.assessor';
|
|
@@ -8,7 +8,6 @@ export * from './media-section-items-field.assessor';
|
|
|
8
8
|
export * from './shape-section-items-field.assessor';
|
|
9
9
|
export * from './shape-size-visibility.assessor';
|
|
10
10
|
export * from './divider-toggle-field-visibility.assessor';
|
|
11
|
-
export * from './faq-accordion-color-field-visibility.assessor';
|
|
12
11
|
export * from './color-replacement-visibility.assessor';
|
|
13
12
|
export * from './color-replacement-profile-visibility.assessor';
|
|
14
13
|
export * from './color-replacement-icon-visibility.assessor';
|
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -412,7 +412,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
412
412
|
id: string;
|
|
413
413
|
name: string;
|
|
414
414
|
index?: number;
|
|
415
|
-
itemId?: string;
|
|
416
415
|
doc: unknown;
|
|
417
416
|
}): void;
|
|
418
417
|
applyCardContrastToItem({ id }: {
|
|
@@ -1191,6 +1190,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1191
1190
|
sendUpsellOfferActionEvent: (upsellType: string, action: string) => void;
|
|
1192
1191
|
sendAiSendPromptEvent: (ctaLocation: string) => void;
|
|
1193
1192
|
sendAiStopGenerationEvent: (ctaLocation: string) => void;
|
|
1193
|
+
sendAiResponseReceivedEvent: (ctaLocation: string) => void;
|
|
1194
1194
|
};
|
|
1195
1195
|
}, {
|
|
1196
1196
|
isDraggingContent: boolean;
|
|
@@ -775,6 +775,10 @@ export function useAiWebsiteBuilderChat() {
|
|
|
775
775
|
// Direct store write ensures the overlay clears even if the component
|
|
776
776
|
// was destroyed (tab switch) and the writable computed setter is inert.
|
|
777
777
|
aiThreadStore.isProcessing = false;
|
|
778
|
+
// The host refreshes the credits pill on this. It fires after a finished edit and
|
|
779
|
+
// after a Stop alike (Stop settles the build, so this block still runs), so the
|
|
780
|
+
// host never has to tell the two apart. Never fire it from stopGenerationAsync.
|
|
781
|
+
eventTracker.sendAiResponseReceivedEvent(AI_CTA_LOCATIONS.AI_BUILDER_TAB);
|
|
778
782
|
}
|
|
779
783
|
};
|
|
780
784
|
const deleteMessage = (messageId) => {
|
|
@@ -534,8 +534,6 @@ selectedGlobalTextStyles, onSelectTextStyleType, updateRichTextEditor, textStyle
|
|
|
534
534
|
id: props.rawId,
|
|
535
535
|
name: props.name,
|
|
536
536
|
index: props.textItemIndex,
|
|
537
|
-
// An FAQ question's editor is bound to its item; Apply to all keeps that item's live doc.
|
|
538
|
-
itemId: props.item?.id,
|
|
539
537
|
doc: sanitizeRteJson(editor.getJSON()),
|
|
540
538
|
});
|
|
541
539
|
};
|
|
@@ -47,6 +47,7 @@ export declare const EVENTS: {
|
|
|
47
47
|
WEBSITE_MAKER_SWITCH_LOGO_MODAL: string;
|
|
48
48
|
WEBSITE_MAKER_AI_SEND_PROMPT: string;
|
|
49
49
|
WEBSITE_MAKER_AI_STOP_GENERATION: string;
|
|
50
|
+
WEBSITE_MAKER_AI_RESPONSE_RECEIVED: string;
|
|
50
51
|
WEBSITE_SAVE_CONTACT: string;
|
|
51
52
|
WEBSITE_START_FOR_FREE: string;
|
|
52
53
|
WEBSITE_FOOTER_LINK_CLICK: string;
|
|
@@ -185,6 +186,7 @@ declare const useEventTracker: () => {
|
|
|
185
186
|
sendUpsellOfferActionEvent: (upsellType: string, action: string) => void;
|
|
186
187
|
sendAiSendPromptEvent: (ctaLocation: string) => void;
|
|
187
188
|
sendAiStopGenerationEvent: (ctaLocation: string) => void;
|
|
189
|
+
sendAiResponseReceivedEvent: (ctaLocation: string) => void;
|
|
188
190
|
};
|
|
189
191
|
export type EventTracker = ReturnType<typeof useEventTracker>;
|
|
190
192
|
export { useEventTracker };
|
|
@@ -28,6 +28,7 @@ export const EVENTS = {
|
|
|
28
28
|
WEBSITE_MAKER_SWITCH_LOGO_MODAL: 'website_maker_switch_logo_modal',
|
|
29
29
|
WEBSITE_MAKER_AI_SEND_PROMPT: 'website_maker_ai_send_prompt',
|
|
30
30
|
WEBSITE_MAKER_AI_STOP_GENERATION: 'website_maker_ai_stop_generation',
|
|
31
|
+
WEBSITE_MAKER_AI_RESPONSE_RECEIVED: 'website_maker_ai_response_received',
|
|
31
32
|
WEBSITE_SAVE_CONTACT: 'website_save_contact',
|
|
32
33
|
WEBSITE_START_FOR_FREE: 'website_start_for_free',
|
|
33
34
|
WEBSITE_FOOTER_LINK_CLICK: 'website_footer_link_click',
|
|
@@ -346,6 +347,13 @@ const useEventTracker = () => {
|
|
|
346
347
|
cta_location: ctaLocation,
|
|
347
348
|
});
|
|
348
349
|
},
|
|
350
|
+
// Fired once per prompt when the AI chat is done with it, after a finished edit, an
|
|
351
|
+
// error or a Stop alike. The host refreshes the AI credits pill on it (ENG-5054).
|
|
352
|
+
sendAiResponseReceivedEvent: (ctaLocation) => {
|
|
353
|
+
_publishEvent(EVENTS.WEBSITE_MAKER_AI_RESPONSE_RECEIVED, {
|
|
354
|
+
cta_location: ctaLocation,
|
|
355
|
+
});
|
|
356
|
+
},
|
|
349
357
|
...gettyVideoEvents,
|
|
350
358
|
...publishedWebsiteEvents,
|
|
351
359
|
sendShippingToggleEvent: (isEnabled) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LogoContent, FacebookContent, GeneralLinkContent, PhoneContent, EmailContent, ImageContent, InstagramContent, LinkedInContent, PinterestContent, ProfileContent, TextContent, TiktokContent, TwitchContent, XContent, VideoContent, WebsiteContent, YoutubeContent, ContentType, MapContent, ImageGalleryContent, MailingListContent, RequestPaymentContent, SupportMeContent, ContactFormContent, BannerSectionContent, SocialLinksContent, ImagesSectionContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, ShopContent, BookingSectionContent
|
|
1
|
+
import type { LogoContent, FacebookContent, GeneralLinkContent, PhoneContent, EmailContent, ImageContent, InstagramContent, LinkedInContent, PinterestContent, ProfileContent, TextContent, TiktokContent, TwitchContent, XContent, VideoContent, WebsiteContent, YoutubeContent, ContentType, MapContent, ImageGalleryContent, MailingListContent, RequestPaymentContent, SupportMeContent, ContactFormContent, BannerSectionContent, SocialLinksContent, ImagesSectionContent, TestimonialSectionContent, AboutSectionContent, DividerSectionContent, ShapesSectionContent, ShopContent, BookingSectionContent } from '@brand-page';
|
|
2
2
|
import type { ContentSettingsConfig, ContentSettingsField, ContentSettingsMultiField } from '../models';
|
|
3
3
|
export declare const LOGO_SETTINGS_CONFIG: () => ContentSettingsConfig<Omit<LogoContent, "version" | "logoVariation" | "logoImageHeight" | "logoImageWidth" | "logoLastUpdate" | "logoImageBase64Url">>;
|
|
4
4
|
export declare const GENERAL_LINK_CONTENT_SETTINGS_CONFIG: () => ContentSettingsConfig<GeneralLinkContent>;
|
|
@@ -51,5 +51,4 @@ export declare const SHOP_SECTION_SETTINGS_CONFIG: () => ContentSettingsConfig<S
|
|
|
51
51
|
isShippingEnabled: boolean;
|
|
52
52
|
}>;
|
|
53
53
|
export declare const BOOKING_SECTION_SETTINGS_CONFIG: () => ContentSettingsConfig<BookingSectionContent>;
|
|
54
|
-
export declare const FAQ_SECTION_SETTINGS_CONFIG: () => ContentSettingsConfig<FaqSectionContent>;
|
|
55
54
|
export declare const CONTENT_SETTINGS_CONFIGS: () => Record<ContentType, ContentSettingsConfig<any>>;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { createInitialButtonContent, createInitialImageContent, createInitialProfileContent, createInitialTextContent, createInitialVideoContent, createInitialLogoContent, createInitialMapContent, createInitialImageGalleryContent, createInitialGeneralLinkContent, createInitialMailingListContent, createInitialRequestPaymentContent, createInitialSupportMeContent, createInitialContactFormContent, CONTENT_SETTINGS_DISPLAY_MODES, createInitialBannerSectionContent, createInitialSocialLinksContent, createInitialImagesSectionContent, createInitialTestimonialSectionContent, createInitialAboutSectionContent, createInitialDividerSectionContent, createInitialShapesSectionContent, VARIANT_DISPLAY_MODES, createInitialShopContent, createInitialBookingSectionContent,
|
|
1
|
+
import { SOCIAL_LINKS_ICON_DISPLAY_STYLES, BRAND_PAGE_TYPES, DIVIDER_STYLES, MEDIA_TYPES, BUTTON_LINK_TYPE, MIN_TEXT_SIZE_PX, MAX_TEXT_SIZE_PX, TEXT_COLUMNS, DEFAULT_SHAPE_SIZE, PAYMENT_OPTION_DISPLAY_TYPES, PAYMENT_OPTION_IMAGE_TYPES, GettyVideoMedia, } from '@brand-page';
|
|
2
|
+
import { createInitialButtonContent, createInitialImageContent, createInitialProfileContent, createInitialTextContent, createInitialVideoContent, createInitialLogoContent, createInitialMapContent, createInitialImageGalleryContent, createInitialGeneralLinkContent, createInitialMailingListContent, createInitialRequestPaymentContent, createInitialSupportMeContent, createInitialContactFormContent, CONTENT_SETTINGS_DISPLAY_MODES, createInitialBannerSectionContent, createInitialSocialLinksContent, createInitialImagesSectionContent, createInitialTestimonialSectionContent, createInitialAboutSectionContent, createInitialDividerSectionContent, createInitialShapesSectionContent, VARIANT_DISPLAY_MODES, createInitialShopContent, createInitialBookingSectionContent, } from '../models';
|
|
3
3
|
import * as uuid from 'uuid';
|
|
4
4
|
import { colorConvertor, backgroundColorConvertor, borderColorConvertor, displayStyleConvertor, galleryTypeConvertor, imageAspectRatioConvertor, textAlignmentOptionsConvertor, videoContentStateConvertor, fillColorConvertor, bannerAlignDisplayStyleConvertor, aboutDisplayStyleConvertor, dividerStyleConvertor, shapeSizeOptionsConvertor, buttonLinkStyleConvertor, textSizeValueConvertor, textColumnStyleConvertor, contactLayoutStyleConvertor, paymentLinkDisplayStyleConvertor, shopDisplayConvertor, shopAspectRatioConvertor, } from '../convertors';
|
|
5
5
|
import { ALIGN_CENTERED, DISPLAY_STYLE_COLLAPSED, DISPLAY_STYLE_PREVIEW, } from '@brand-page';
|
|
6
|
-
import { imageFieldVisibilityAssessor, imageOptionVisibilityAssessor, imageGalleryFieldVisibilityAssessor, cardFillVisibilityAssessor, mediaSectionItemsFieldTypeAssessor, dividerToggleFieldVisibilityAssessor,
|
|
6
|
+
import { imageFieldVisibilityAssessor, imageOptionVisibilityAssessor, imageGalleryFieldVisibilityAssessor, cardFillVisibilityAssessor, mediaSectionItemsFieldTypeAssessor, dividerToggleFieldVisibilityAssessor, shapeSectionItemsFieldTypeAssessor, colorReplacementVisibilityTypeAssessor, colorReplacementProfileVisibilityTypeAssessor, colorReplacementIconVisibilityTypeAssessor, imagesSectionCardStyleVisibilityAssessor, contactCardColorVisibilityAssessor, imageUrlVisibilityAssessor, displayTypeVisibilityAssessor, logoFieldVisibilityAssessor, shapesSectionCardStyleVisibilityAssessor, shopImageOptionVisibilityAssessor, shopItemColorVisibility, personalisationOverrideVisibility, } from '../assessors';
|
|
7
7
|
import { contactFormCardColorDefaultGetter, paymentFillColorFieldDefaultGetter, paymentTextAndBorderColorFieldDefaultGetter, shopBorderColorFieldDefaultGetter, shopFillColorFieldDefaultGetter, textColorFieldDefaultGetter, } from '../default-getters';
|
|
8
8
|
import { socialLinksIconDisplayStyleConvertor } from '../convertors/social-links-icon-display-style.convertor';
|
|
9
9
|
import { getTextMediaOptionsConverterByMediaType } from '../convertors/text-image-display-style.convertor';
|
|
10
10
|
import { testimonialDisplayStyleConvertor } from '../convertors/testimonial-display-style-convertor';
|
|
11
|
-
import { faqDisplayStyleConvertor } from '../convertors/faq-display-style.convertor';
|
|
12
11
|
import { pageValidator, urlValidator } from '../validators';
|
|
13
12
|
import { imagesSectionAspectRatioVisibilityAssessor } from '../assessors/images-section-aspect-ratio-visibility.assessor';
|
|
14
13
|
import { bannerLinkTypeVisibilityAssessor, bannerSectionPageVisibilityAssessor, bannerSectionUrlVisibilityAssessor, bannerDisplayTypeVisibilityAssessor, bannerOverlayOptionsVisibilityAssessor, } from '../assessors/banner-section-description-visibility.assessor';
|
|
@@ -16,7 +15,7 @@ import { imagesSectionTextStyleVisibilityAssessor } from '../assessors/images-se
|
|
|
16
15
|
import { bannerPlaceholderFieldTypeAssessor, bannerSectionFieldTypeAssessor, bannerSectionRoleTypeAssessor, } from '../assessors/banner-section-field.assessor';
|
|
17
16
|
import { isValidSvgUrl } from '@brand-page/utils';
|
|
18
17
|
import { brandPageOrbrandContactTypeVisibilityAssessor, brandSiteTypeVisibilityAssessor, } from '../assessors/brand-page-type-visibility.assessor';
|
|
19
|
-
import {
|
|
18
|
+
import { contentSettingsTr } from '@src/composables/useTranslate';
|
|
20
19
|
const MediaFieldNames = {
|
|
21
20
|
aspectRatio: 'aspectRatio',
|
|
22
21
|
iconUrl: 'iconUrl',
|
|
@@ -2804,116 +2803,6 @@ export const BOOKING_SECTION_SETTINGS_CONFIG = () => ({
|
|
|
2804
2803
|
isEnabled: true,
|
|
2805
2804
|
isLocked: false,
|
|
2806
2805
|
});
|
|
2807
|
-
const FAQ_FIELD_GROUP_IDS = {
|
|
2808
|
-
settings: 'settings',
|
|
2809
|
-
items: 'items',
|
|
2810
|
-
style: 'style',
|
|
2811
|
-
};
|
|
2812
|
-
export const FAQ_SECTION_SETTINGS_CONFIG = () => ({
|
|
2813
|
-
type: 'faq-section',
|
|
2814
|
-
category: 'general',
|
|
2815
|
-
createInitialContent: createInitialFaqSectionContent,
|
|
2816
|
-
displayMode: CONTENT_SETTINGS_DISPLAY_MODES.focused,
|
|
2817
|
-
defaultIconName: 'question-circle-filled',
|
|
2818
|
-
displayName: contentSettingsTr(`faqSectionDisplayName`),
|
|
2819
|
-
fieldGroups: [
|
|
2820
|
-
{
|
|
2821
|
-
id: FAQ_FIELD_GROUP_IDS.settings,
|
|
2822
|
-
displayName: contentSettingsTr(`settingsDisplayName`),
|
|
2823
|
-
isCollapsed: false,
|
|
2824
|
-
},
|
|
2825
|
-
{
|
|
2826
|
-
id: FAQ_FIELD_GROUP_IDS.items,
|
|
2827
|
-
displayName: contentSettingsTr(`faqItemsDisplayName`),
|
|
2828
|
-
isCollapsed: false,
|
|
2829
|
-
},
|
|
2830
|
-
{
|
|
2831
|
-
id: FAQ_FIELD_GROUP_IDS.style,
|
|
2832
|
-
displayName: contentSettingsTr(`styleDisplayName`),
|
|
2833
|
-
isCollapsed: true,
|
|
2834
|
-
},
|
|
2835
|
-
],
|
|
2836
|
-
fields: {
|
|
2837
|
-
titleStyle: DEFAULT_TITLE_STYLE_SETTINGS_FILED_WITH_TITLE(),
|
|
2838
|
-
descriptionStyle: DEFAULT_DESCRIPTION_STYLE_FILED(),
|
|
2839
|
-
// Edited in each item's editor (FaqItemsField), not as section fields.
|
|
2840
|
-
questionStyle: undefined,
|
|
2841
|
-
answerStyle: undefined,
|
|
2842
|
-
title: {
|
|
2843
|
-
type: 'text',
|
|
2844
|
-
placeholder: contentSettingsTr(`titlePlaceholder`),
|
|
2845
|
-
title: contentSettingsTr(`titleTitle`),
|
|
2846
|
-
groupId: FAQ_FIELD_GROUP_IDS.settings,
|
|
2847
|
-
maxLength: 200,
|
|
2848
|
-
},
|
|
2849
|
-
titleOverride: {
|
|
2850
|
-
type: 'personalisation-override',
|
|
2851
|
-
groupId: FAQ_FIELD_GROUP_IDS.settings,
|
|
2852
|
-
visibilityAssessor: (c, b) => personalisationOverrideVisibility(c, b, 'title'),
|
|
2853
|
-
},
|
|
2854
|
-
description: {
|
|
2855
|
-
type: 'textarea',
|
|
2856
|
-
placeholder: contentSettingsTr(`descriptionPlaceholder`),
|
|
2857
|
-
title: contentSettingsTr(`descriptionTitle`),
|
|
2858
|
-
groupId: FAQ_FIELD_GROUP_IDS.settings,
|
|
2859
|
-
maxLength: 1000,
|
|
2860
|
-
},
|
|
2861
|
-
descriptionOverride: {
|
|
2862
|
-
type: 'personalisation-override',
|
|
2863
|
-
groupId: FAQ_FIELD_GROUP_IDS.settings,
|
|
2864
|
-
visibilityAssessor: (c, b) => personalisationOverrideVisibility(c, b, 'description'),
|
|
2865
|
-
},
|
|
2866
|
-
// FaqItemsField owns the question/answer inputs and the FAQ_MAX_ITEMS cap.
|
|
2867
|
-
items: {
|
|
2868
|
-
type: 'faq-items',
|
|
2869
|
-
defaultValue: [],
|
|
2870
|
-
groupId: FAQ_FIELD_GROUP_IDS.items,
|
|
2871
|
-
},
|
|
2872
|
-
displayStyle: {
|
|
2873
|
-
type: 'radio',
|
|
2874
|
-
role: 'multi',
|
|
2875
|
-
defaultValue: FAQ_DISPLAY_STYLES.centered,
|
|
2876
|
-
title: contentSettingsTr(`displayStyleTitle`),
|
|
2877
|
-
optionsConvertor: faqDisplayStyleConvertor,
|
|
2878
|
-
groupId: FAQ_FIELD_GROUP_IDS.style,
|
|
2879
|
-
variant: 'icon',
|
|
2880
|
-
},
|
|
2881
|
-
...PADDING_CONTROL_FIELDS(FAQ_FIELD_GROUP_IDS.style),
|
|
2882
|
-
iconColor: {
|
|
2883
|
-
type: 'color',
|
|
2884
|
-
groupId: FAQ_FIELD_GROUP_IDS.style,
|
|
2885
|
-
defaultValue: {},
|
|
2886
|
-
isInline: true,
|
|
2887
|
-
showToggle: false,
|
|
2888
|
-
disableTransparent: true,
|
|
2889
|
-
visibilityAssessor: faqAccordionColorFieldVisibilityAssessor,
|
|
2890
|
-
title: commonTr(`iconColor`),
|
|
2891
|
-
valueConvertor: colorConvertor,
|
|
2892
|
-
},
|
|
2893
|
-
// Transparent allowed on purpose (it hides the line), unlike the Divider section's field.
|
|
2894
|
-
dividerColor: {
|
|
2895
|
-
type: 'color',
|
|
2896
|
-
groupId: FAQ_FIELD_GROUP_IDS.style,
|
|
2897
|
-
defaultValue: {},
|
|
2898
|
-
isInline: true,
|
|
2899
|
-
showToggle: false,
|
|
2900
|
-
visibilityAssessor: faqAccordionColorFieldVisibilityAssessor,
|
|
2901
|
-
title: contentSettingsTr(`dividerColorTitle`),
|
|
2902
|
-
valueConvertor: backgroundColorConvertor,
|
|
2903
|
-
},
|
|
2904
|
-
backgroundStyle: {
|
|
2905
|
-
type: 'color',
|
|
2906
|
-
groupId: FAQ_FIELD_GROUP_IDS.style,
|
|
2907
|
-
defaultValue: {},
|
|
2908
|
-
isInline: true,
|
|
2909
|
-
showToggle: false,
|
|
2910
|
-
title: contentSettingsTr(`backgroundColorTitle`),
|
|
2911
|
-
valueConvertor: backgroundColorConvertor,
|
|
2912
|
-
},
|
|
2913
|
-
},
|
|
2914
|
-
isEnabled: true,
|
|
2915
|
-
isLocked: false,
|
|
2916
|
-
});
|
|
2917
2806
|
export const CONTENT_SETTINGS_CONFIGS = () => ({
|
|
2918
2807
|
logo: LOGO_SETTINGS_CONFIG(),
|
|
2919
2808
|
'general-link': GENERAL_LINK_CONTENT_SETTINGS_CONFIG(),
|
|
@@ -2947,5 +2836,4 @@ export const CONTENT_SETTINGS_CONFIGS = () => ({
|
|
|
2947
2836
|
'shapes-section': SHAPES_SECTION_SETTINGS_CONFIG(),
|
|
2948
2837
|
'shop-section': SHOP_SECTION_SETTINGS_CONFIG(),
|
|
2949
2838
|
'booking-section': BOOKING_SECTION_SETTINGS_CONFIG(),
|
|
2950
|
-
'faq-section': FAQ_SECTION_SETTINGS_CONFIG(),
|
|
2951
2839
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PersonalisationMappingType, TestimonialItems, TextItem, TextMediaItem, UserPersonalisationItem, UserPersonalisationSection } from '@brand-page/models';
|
|
2
2
|
export type ContentPersonalisationMapping<T> = {
|
|
3
3
|
[key in Exclude<keyof UserPersonalisationSection, 'items'> | keyof UserPersonalisationItem]?: (keyof T)[];
|
|
4
4
|
};
|
|
5
5
|
export declare const DEFAULT_PERSONALISATION_MAPPING: ContentPersonalisationMapping<any>;
|
|
6
|
-
export declare const TEXT_MEDIA_ITEMS_PERSONALISATION_MAPPING: ContentPersonalisationMapping<TextMediaItem & TestimonialItems & TextItem
|
|
6
|
+
export declare const TEXT_MEDIA_ITEMS_PERSONALISATION_MAPPING: ContentPersonalisationMapping<TextMediaItem & TestimonialItems & TextItem>;
|
|
7
7
|
export declare const TEXT_MEDIA_CONTENT_TYPES: PersonalisationMappingType[];
|
|
8
8
|
export declare const PERSONALISATION_MAPPINGS: Partial<Record<PersonalisationMappingType, ContentPersonalisationMapping<any>>>;
|
|
@@ -17,8 +17,8 @@ export const DEFAULT_PERSONALISATION_MAPPING = {
|
|
|
17
17
|
url: ['url'],
|
|
18
18
|
};
|
|
19
19
|
export const TEXT_MEDIA_ITEMS_PERSONALISATION_MAPPING = {
|
|
20
|
-
itemTitle: ['title', 'imageTitle', 'name'
|
|
21
|
-
itemDescription: ['paragraph', 'testimonials', 'text'
|
|
20
|
+
itemTitle: ['title', 'imageTitle', 'name'],
|
|
21
|
+
itemDescription: ['paragraph', 'testimonials', 'text'],
|
|
22
22
|
itemDescriptionShort: ['position'],
|
|
23
23
|
imageUrls: ['imageUrl'],
|
|
24
24
|
};
|
|
@@ -29,7 +29,6 @@ export const TEXT_MEDIA_CONTENT_TYPES = [
|
|
|
29
29
|
'text-media-items',
|
|
30
30
|
'image-gallery',
|
|
31
31
|
'text',
|
|
32
|
-
'faq-section',
|
|
33
32
|
];
|
|
34
33
|
export const PERSONALISATION_MAPPINGS = {
|
|
35
34
|
'general-link': BUTTON_PERSONALISATION_MAPPING,
|
|
@@ -52,7 +52,6 @@ export declare const ITEM_FIELD_TYPES: {
|
|
|
52
52
|
readonly 'color-replacements': "color-replacements";
|
|
53
53
|
readonly 'testimonial-items': "testimonial-items";
|
|
54
54
|
readonly 'text-items': "text-items";
|
|
55
|
-
readonly 'faq-items': "faq-items";
|
|
56
55
|
readonly 'page-dropdown': "page-dropdown";
|
|
57
56
|
readonly 'personalisation-override': "personalisation-override";
|
|
58
57
|
};
|