@designcrowd/library.brand-page 6.2.14-ast-faq-1 → 6.2.15
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-BOZKTen0.js → CreatedOnBrandCrowd-de-de-CYdJJjNJ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-BOr4hsGD.js → CreatedOnBrandCrowd-en-us-BSGwyIBg.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-nyn1fkbK.js → CreatedOnBrandCrowd-es-es-C0cogd_P.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-D48bdVhn.js → CreatedOnBrandCrowd-fr-ca-DR4TbHdK.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-D48bdVhn.js → CreatedOnBrandCrowd-fr-fr-DR4TbHdK.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-Dt1bgmSg.js → CreatedOnBrandCrowd-pt-br-D3QLE-Rk.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-Dt1bgmSg.js → CreatedOnBrandCrowd-pt-pt-D3QLE-Rk.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-BlySA1ky.js → CreatedOnDcom-de-de-CwRHSP3M.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-Dle6Aa4e.js → CreatedOnDcom-en-us-BEn36py1.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-DTH0STxF.js → CreatedOnDcom-es-es-CQt-H117.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-CW6e1MGN.js → CreatedOnDcom-fr-ca-Cc1tyCJh.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-CAZYd0g7.js → CreatedOnDcom-fr-fr-52ucQbtE.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-Bg0uOt54.js → CreatedOnDcom-pt-br-BPMJmtaC.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-BXbVj4Fe.js → CreatedOnDcom-pt-pt-D9RqaBx4.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 +0 -1
- package/lib/src/brand-page-maker/composables/ai-chat/aiErrorCopy.d.ts +1 -1
- package/lib/src/brand-page-maker/composables/ai-chat/aiErrorCopy.js +2 -2
- package/lib/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.js +2 -2
- package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +0 -2
- 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/clients/websocket-gateway-client.d.ts +1 -5
- 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-BYr0zU6P.js → lib-roR8wIA2.js} +39522 -34252
- package/lib/src/metadata-builder/builders/section-field-maps.d.ts +1 -1
- package/lib/src/metadata-builder/builders/section-field-maps.js +1 -1
- package/lib/src/metadata-builder/builders/undo-builder.d.ts +2 -2
- package/lib/src/metadata-builder/builders/undo-builder.js +2 -2
- package/lib/src/metadata-builder/parsers/section-tool-arguments.d.ts +3 -3
- package/lib/src/metadata-builder/parsers/section-tool-arguments.js +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 +0 -1
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +1 -2
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +0 -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/page-settings/components/page-settings/PageSettings.mixin.d.ts +0 -1
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +0 -1
- 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/aiErrorCopy.ts +2 -2
- package/src/brand-page-maker/composables/ai-chat/useAiWebsiteBuilderChat.ts +2 -2
- package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +0 -2
- 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/clients/websocket-gateway-client.ts +0 -5
- package/src/metadata-builder/builders/section-field-maps.ts +1 -1
- package/src/metadata-builder/builders/undo-builder.ts +2 -2
- package/src/metadata-builder/parsers/section-tool-arguments.ts +5 -6
- 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-CA2U8qFD.js +0 -13
- package/lib/src/add-page-B16VpbS1.js +0 -13
- package/lib/src/ai-8_ADatlq.js +0 -13
- package/lib/src/align-center-CoOemTnd.js +0 -14
- package/lib/src/align-justify-BvjnqgE_.js +0 -14
- package/lib/src/align-left-F60LFC0p.js +0 -14
- package/lib/src/align-right-Dy6In9X5.js +0 -14
- package/lib/src/animate-DUh3exn7.js +0 -14
- package/lib/src/annotate-heart-kcf1_E1T.js +0 -14
- package/lib/src/arrow-down-MUNmkKUY.js +0 -13
- package/lib/src/arrow-left-DiHBGlhr.js +0 -14
- package/lib/src/arrow-right-CsxPBfl5.js +0 -14
- package/lib/src/arrow-top-right-DTPz5ghV.js +0 -13
- package/lib/src/arrow-up-D7K51NT_.js +0 -14
- package/lib/src/arrow-up-underline-DWAO3NRn.js +0 -14
- package/lib/src/attach-WZWuwngY.js +0 -13
- package/lib/src/auth-facebook-DBP-GYNH.js +0 -16
- package/lib/src/auth-facebook-white-BfEdFTUd.js +0 -24
- package/lib/src/auth-google-CtsAwire.js +0 -16
- package/lib/src/award-CViKEvBO.js +0 -14
- package/lib/src/background-BUwy-GRR.js +0 -14
- package/lib/src/badge-Buy4y_Wi.js +0 -15
- package/lib/src/ban-Le5fPXzP.js +0 -10
- package/lib/src/banner-CQ1O8sRx.js +0 -14
- package/lib/src/banner-centered-DidEDgt1.js +0 -28
- package/lib/src/banner-left-CyP_XZ07.js +0 -28
- package/lib/src/bar-C2F0_hjA.js +0 -31
- package/lib/src/bc-mast-B69nRuxM.js +0 -14
- package/lib/src/bezier-curve-C1Rm5iXf.js +0 -14
- package/lib/src/bezier-curve-outline-Z5V-cKkk.js +0 -14
- package/lib/src/bold-CIXLiBBm.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-B6_7grKF.js +0 -14
- package/lib/src/browser-oh2Vb5TO.js +0 -14
- package/lib/src/brush-Bmz4KGPe.js +0 -13
- package/lib/src/building-dpbDj8tp.js +0 -10
- package/lib/src/bulb-CkC7CUkR.js +0 -14
- package/lib/src/business-P5lAjtM1.js +0 -13
- package/lib/src/business-card-filled-B8FYAc9F.js +0 -10
- package/lib/src/button-DUwORK3d.js +0 -15
- package/lib/src/button-arrow-C21QBCDX.js +0 -19
- package/lib/src/button-arrow-left-RyzPrE3S.js +0 -19
- package/lib/src/button-arrow-right-BHN4kUET.js +0 -19
- package/lib/src/button-brushstroke-5Y7xIt5q.js +0 -21
- package/lib/src/button-brushstroke-left-BS7UvaYJ.js +0 -14
- package/lib/src/button-brushstroke-right-D_drP-mz.js +0 -14
- package/lib/src/button-dashed-oval-8krpSeyO.js +0 -25
- package/lib/src/button-dashed-rectangle-BrNR2D5F.js +0 -24
- package/lib/src/button-dashed-rounded-DGBhTxBy.js +0 -25
- package/lib/src/button-doubleline-oval-Bl4D-nUA.js +0 -23
- package/lib/src/button-doubleline-rectangle-DFGrRUXS.js +0 -29
- package/lib/src/button-doubleline-rounded-C9RVBpgl.js +0 -23
- package/lib/src/button-justified-TeuXv4ih.js +0 -33
- package/lib/src/button-paper-bottom-acRIK_iq.js +0 -12
- package/lib/src/button-paper-top-kg3wCODW.js +0 -12
- package/lib/src/button-paper-z_BETvSN.js +0 -16
- package/lib/src/button-softshadow-oval-C4q_q05P.js +0 -16
- package/lib/src/button-softshadow-rectangle-B1cBNKwb.js +0 -16
- package/lib/src/button-softshadow-rounded-C2B3wOTW.js +0 -16
- package/lib/src/calculator-C64par6C.js +0 -10
- package/lib/src/calendar-Dh_pdAjv.js +0 -10
- package/lib/src/callout-error-DqCLmDD3.js +0 -13
- package/lib/src/callout-info-B7gMahpm.js +0 -13
- package/lib/src/callout-success-BXE7hDQa.js +0 -13
- package/lib/src/callout-warning-BYfYeq-R.js +0 -13
- package/lib/src/cap-CCT0Z5bu.js +0 -27
- package/lib/src/card-Bf12swxw.js +0 -19
- package/lib/src/card-vertical-D2_NWDkH.js +0 -14
- package/lib/src/cart-empty-Br4yXtxk.js +0 -16
- package/lib/src/chart-BDmHbVTZ.js +0 -12
- package/lib/src/chart-bar-8BIdDcVf.js +0 -16
- package/lib/src/chart-column-BWb0a1c-.js +0 -16
- package/lib/src/chart-line-DkV0aDnf.js +0 -14
- package/lib/src/chart-pie-D2lzlG9R.js +0 -14
- package/lib/src/check-DfVIi3EO.js +0 -13
- package/lib/src/check-circle-light-DIoK6jWp.js +0 -14
- package/lib/src/check-rounded-DQuKjI5X.js +0 -14
- package/lib/src/check-thin-D9l3KWds.js +0 -14
- package/lib/src/chevron-down-BK0tVi-v.js +0 -14
- package/lib/src/chevron-left-Ce2Ek0TX.js +0 -14
- package/lib/src/chevron-right-D6K0Xlf4.js +0 -13
- package/lib/src/chevron-right-wide-zeV0oMJY.js +0 -10
- package/lib/src/chevron-up-DEcGFjEW.js +0 -14
- package/lib/src/clipboard-check-CULRDD5v.js +0 -14
- package/lib/src/clock-jnGPbgJX.js +0 -10
- package/lib/src/close-DQFS3Sn3.js +0 -13
- package/lib/src/coins-sparkle-BMVH4j2S.js +0 -21
- package/lib/src/column-1-Dojsf9v5.js +0 -23
- package/lib/src/column-2-DyRERwMR.js +0 -29
- package/lib/src/column-3-DmD62vaw.js +0 -35
- package/lib/src/column-4-BFiVlvA0.js +0 -41
- package/lib/src/community-BYHvNCaR.js +0 -10
- package/lib/src/contact-message-Do2F-KMo.js +0 -13
- package/lib/src/content-C7yxSqyO.js +0 -14
- package/lib/src/copy-DfvPNoI3.js +0 -13
- package/lib/src/crop-GqhVDNLJ.js +0 -13
- package/lib/src/crown-7UXyL06i.js +0 -13
- package/lib/src/crown-alt-BqPAhYxv.js +0 -10
- package/lib/src/custom-landscape-CO1c41ow.js +0 -10
- package/lib/src/delete-Cn3sOGVC.js +0 -13
- package/lib/src/designs-BiFt8Z2-.js +0 -13
- package/lib/src/desktop-C5jU-D9m.js +0 -14
- package/lib/src/desktop-hamburger-display-style-1-CQFklLXK.js +0 -31
- package/lib/src/desktop-hamburger-display-style-2-DyRQvlRW.js +0 -31
- package/lib/src/desktop-hamburger-display-style-with-button-1-Cn-j5kP-.js +0 -16
- package/lib/src/desktop-hamburger-display-style-with-button-2-CkxHluU-.js +0 -16
- package/lib/src/desktop-tab-display-style-1-C_lzujEJ.js +0 -31
- package/lib/src/desktop-tab-display-style-2-CyjVpaGh.js +0 -31
- package/lib/src/desktop-tab-display-style-3-CK2FHqHY.js +0 -27
- package/lib/src/desktop-tab-display-style-4-tg888kKw.js +0 -27
- package/lib/src/desktop-tab-display-style-5-oIOXfqiI.js +0 -31
- package/lib/src/desktop-tab-display-style-6-DXrHVn7T.js +0 -31
- package/lib/src/desktop-tab-display-style-7-CDDsTAoN.js +0 -35
- package/lib/src/desktop-tab-display-style-8-CKJj0E9x.js +0 -31
- package/lib/src/desktop-tab-display-style-with-button-1-DiDGyVoH.js +0 -35
- package/lib/src/desktop-tab-display-style-with-button-2-RgoJXDuT.js +0 -35
- package/lib/src/desktop-tab-display-style-with-button-3-yHVimk7a.js +0 -35
- package/lib/src/desktop-tab-display-style-with-button-4-EYzhwttF.js +0 -31
- package/lib/src/desktop-tab-display-style-with-button-5-BKnCnvSm.js +0 -16
- package/lib/src/desktop-tab-display-style-with-button-6-Cn9HAs9b.js +0 -16
- package/lib/src/diamond-CsooDu9J.js +0 -14
- package/lib/src/digital-business-card-filled-C6Stwxx8.js +0 -33
- package/lib/src/display-style-1-BEg7o5KX.js +0 -16
- package/lib/src/display-style-1-CxYTH6JK.js +0 -39
- package/lib/src/display-style-1-DJukLs5O.js +0 -31
- package/lib/src/display-style-2-BqFkMvXJ.js +0 -16
- package/lib/src/display-style-2-S7aFIUF1.js +0 -31
- package/lib/src/display-style-2-yHYek1LD.js +0 -27
- package/lib/src/display-style-3-BSfQVGfL.js +0 -31
- package/lib/src/display-style-4-D73_AwHI.js +0 -31
- package/lib/src/display-style-about-1-Cj_0h3ka.js +0 -31
- package/lib/src/display-style-about-2-C5YaCkbC.js +0 -31
- package/lib/src/display-style-about-3-DB1DO3YJ.js +0 -31
- package/lib/src/display-style-about-4-wUBXrcnI.js +0 -16
- package/lib/src/display-style-about-5-CpTChryH.js +0 -15
- package/lib/src/display-style-about-6-CRsCwWvs.js +0 -15
- package/lib/src/display-style-banner-1-D1TD-nVB.js +0 -31
- package/lib/src/display-style-banner-10-Bbe3mOXS.js +0 -31
- package/lib/src/display-style-banner-11-CCC10WBS.js +0 -31
- package/lib/src/display-style-banner-12-DDTvMLpr.js +0 -31
- package/lib/src/display-style-banner-13-CqyQU8QB.js +0 -32
- package/lib/src/display-style-banner-14-X_YwwJ5t.js +0 -33
- package/lib/src/display-style-banner-15-DdfEqAkL.js +0 -33
- package/lib/src/display-style-banner-2-Ip3gMaWG.js +0 -31
- package/lib/src/display-style-banner-3-D88bVwtF.js +0 -31
- package/lib/src/display-style-banner-4-O4USRoZm.js +0 -31
- package/lib/src/display-style-banner-5-IUk-Wcyq.js +0 -31
- package/lib/src/display-style-banner-6-DHFb_3Oy.js +0 -16
- package/lib/src/display-style-banner-7-BVHJvZd6.js +0 -16
- package/lib/src/display-style-banner-8-B4R9axSZ.js +0 -31
- package/lib/src/display-style-banner-9-CPUyJ4is.js +0 -31
- package/lib/src/display-style-contact-1-lSmMHZrd.js +0 -16
- package/lib/src/display-style-contact-2-CbMQRN8T.js +0 -16
- package/lib/src/display-style-contact-4-CTDhnebN.js +0 -16
- package/lib/src/display-style-contact-5-GOVNCsrO.js +0 -16
- package/lib/src/display-style-contact-6-DP13X6Dz.js +0 -16
- package/lib/src/display-style-faq-1-OdiBJki1.js +0 -16
- package/lib/src/display-style-faq-2-D2mPx7wp.js +0 -16
- package/lib/src/display-style-faq-3-CM8GjFrz.js +0 -16
- package/lib/src/display-style-images-1-BL5h9d7e.js +0 -16
- package/lib/src/display-style-images-2-AQL3jwsB.js +0 -16
- package/lib/src/display-style-images-3-BsLTjVqi.js +0 -16
- package/lib/src/display-style-images-4-DLIEaM5v.js +0 -27
- package/lib/src/display-style-images-5-DO3FMfGJ.js +0 -16
- package/lib/src/display-style-images-6-OJDb8aTH.js +0 -16
- package/lib/src/divider-DqRHNmAA.js +0 -14
- package/lib/src/divider-thick-2seTdgJ_.js +0 -23
- package/lib/src/divider-thin-DWpexrCi.js +0 -23
- package/lib/src/donate-GJJFBZwx.js +0 -13
- package/lib/src/download-M7Zv0qPP.js +0 -14
- package/lib/src/duplicate-DdSDaKyu.js +0 -13
- package/lib/src/edit-LJipizmf.js +0 -13
- package/lib/src/edit-line-mr_EMK0x.js +0 -16
- package/lib/src/ellipsis-DrM5z4ZU.js +0 -13
- package/lib/src/email-BlluCrzL.js +0 -10
- package/lib/src/email-symbol-Ds9JVreJ.js +0 -10
- package/lib/src/envelope-email-Dlf3t8tS.js +0 -16
- package/lib/src/eraser-BwqDE3_S.js +0 -10
- package/lib/src/error-DePFLc1o.js +0 -13
- package/lib/src/etsy-2JUxMOrW.js +0 -10
- package/lib/src/eye-crossed-Ckoo6NjF.js +0 -14
- package/lib/src/eye-open-CMtPWg6M.js +0 -24
- package/lib/src/facebook-CbMBmHqI.js +0 -10
- package/lib/src/favicon-BgAFzy-F.js +0 -14
- package/lib/src/fees-6IgVBMJK.js +0 -13
- package/lib/src/file-CM_cCwRB.js +0 -14
- package/lib/src/file-box--FOxDVVp.js +0 -13
- package/lib/src/file-empty-Dq78MiWX.js +0 -14
- package/lib/src/filter-BNUIffVJ.js +0 -13
- package/lib/src/filter-BtIaks3C.js +0 -14
- package/lib/src/filters-DX1BaZ_0.js +0 -13
- package/lib/src/flag-CyYYjK4h.js +0 -16
- package/lib/src/flip-horizontal-DYIH2DFe.js +0 -14
- package/lib/src/flip-vertical-D0QRQ62e.js +0 -14
- package/lib/src/flyer-Dz6-Upky.js +0 -14
- package/lib/src/folder-Bc0IYlYr.js +0 -13
- package/lib/src/font-BC7w__Ii.js +0 -14
- package/lib/src/footer-centered-B42yBfO9.js +0 -35
- package/lib/src/footer-left-BERh-HMR.js +0 -35
- package/lib/src/form-5ChueEI_.js +0 -10
- package/lib/src/form-message-DJHYrMh0.js +0 -13
- package/lib/src/fullscreen-exit-OEYMjlqe.js +0 -10
- package/lib/src/fullscreen-sbd3iMrv.js +0 -10
- package/lib/src/gift-certificate-BLPkW1PN.js +0 -10
- package/lib/src/globe-BKuXHs-u.js +0 -13
- package/lib/src/globe-D7rT9g5d.js +0 -10
- package/lib/src/globe-DWMDC3Fz.js +0 -13
- package/lib/src/group-vkps_drx.js +0 -13
- package/lib/src/hamburger-1-DmgOPkec.js +0 -17
- package/lib/src/hamburger-2-DpgCodLE.js +0 -19
- package/lib/src/hamburger-3-CpokpV-A.js +0 -19
- package/lib/src/hamburger-4-DBWXThmV.js +0 -15
- package/lib/src/hamburger-D2PAtHYk.js +0 -19
- package/lib/src/hamburger-DWj5RuNx.js +0 -31
- package/lib/src/hamburger-display-style-no-logo-1-BSjvwYdh.js +0 -27
- package/lib/src/hamburger-display-style-no-logo-2-DalRHVgp.js +0 -27
- package/lib/src/hamburger-display-style-no-logo-3-CFBUxClo.js +0 -27
- package/lib/src/headphones-CvqsESMB.js +0 -14
- package/lib/src/heart-tdAcpdOF.js +0 -14
- package/lib/src/history-8XHHIJEL.js +0 -41
- package/lib/src/home-BneFO850.js +0 -14
- package/lib/src/home-DrL5yNQA.js +0 -13
- package/lib/src/home-outline-xK2rSUQx.js +0 -13
- package/lib/src/icon-style-circle-bg-DRp5jFW_.js +0 -29
- package/lib/src/icon-style-no-bg-CGdrwaFS.js +0 -23
- package/lib/src/icon-style-square-bg-BkdfCAxi.js +0 -29
- package/lib/src/image-CbLXB_e4.js +0 -14
- package/lib/src/image-gallery-carousel-CWJ4IhXH.js +0 -22
- package/lib/src/image-gallery-grid-3iuQHQil.js +0 -32
- package/lib/src/image-gallery-masonry-BVcxBAQz.js +0 -26
- package/lib/src/image-lMmsvCnC.js +0 -14
- package/lib/src/images-BClPAOMU.js +0 -14
- package/lib/src/images-gallery-CA1jSxVQ.js +0 -10
- package/lib/src/info-Sadn2qng.js +0 -21
- package/lib/src/infographics-Dv1VTCuM.js +0 -10
- package/lib/src/instagram-aMcgu4WP.js +0 -14
- package/lib/src/invitation-BvAOhO_q.js +0 -10
- package/lib/src/invoice-D8X9y1np.js +0 -10
- package/lib/src/italic-mPugSpnj.js +0 -14
- package/lib/src/jobs-CUOMxqpK.js +0 -13
- package/lib/src/layer-BfXc5_Ip.js +0 -13
- package/lib/src/layer-bring-front-BPccgyCU.js +0 -13
- package/lib/src/layer-send-back-CX7OXowD.js +0 -13
- package/lib/src/layout-icon-bottom-normal-text-center-normal-D-pwYMO1.js +0 -35
- package/lib/src/layout-icon-bottom-normal-text-center-small-Cbno-m_-.js +0 -35
- package/lib/src/layout-icon-bottom-small-text-center-normal-CpG8_IEr.js +0 -35
- package/lib/src/layout-icon-center-normal-curved-text-bottom-D493L7Ic.js +0 -33
- package/lib/src/layout-icon-center-normal-curved-text-circle-DAu62RSK.js +0 -26
- package/lib/src/layout-icon-center-normal-curved-text-top-D7Rj7OxI.js +0 -33
- package/lib/src/layout-icon-left-normal-text-center-normal-BtqDgRXk.js +0 -35
- package/lib/src/layout-icon-left-normal-text-justify-normal-CF_QbqrU.js +0 -35
- package/lib/src/layout-icon-left-normal-text-left-normal-B-Umd3-c.js +0 -35
- package/lib/src/layout-icon-left-small-text-left-normal-DVugFjwb.js +0 -35
- package/lib/src/layout-icon-right-normal-text-center-normal-DVSOf61N.js +0 -35
- package/lib/src/layout-icon-right-normal-text-justify-normal-D48XHWez.js +0 -35
- package/lib/src/layout-icon-right-normal-text-right-normal-CLEZkV0W.js +0 -35
- package/lib/src/layout-icon-right-small-text-right-normal-BjQiSAMX.js +0 -35
- package/lib/src/layout-icon-top-normal-text-center-normal-Dfw7qQt1.js +0 -35
- package/lib/src/layout-icon-top-normal-text-center-small-CP-1KBXB.js +0 -35
- package/lib/src/layout-icon-top-normal-text-justify-normal-Ct0uFZkO.js +0 -35
- package/lib/src/layout-icon-top-small-text-center-normal-YvwFeY_d.js +0 -35
- package/lib/src/layout-x_inyjbH.js +0 -10
- package/lib/src/letterhead-filled-B_YMead7.js +0 -10
- package/lib/src/lightning-Djx9pAsW.js +0 -14
- package/lib/src/link-CuKRCkDJ.js +0 -14
- package/lib/src/link-DpcArx0s.js +0 -13
- package/lib/src/link-in-bio-filled-BNbpBADv.js +0 -33
- package/lib/src/linkedin-CpoW8YFX.js +0 -14
- package/lib/src/list-bullet-DDwntN21.js +0 -18
- package/lib/src/list-numbered-CpcSHjac.js +0 -26
- package/lib/src/location-OID_IJaF.js +0 -13
- package/lib/src/lock-ThDH4_TT.js +0 -13
- package/lib/src/logo--AZG59WO.js +0 -10
- package/lib/src/logo-C7cLnHsN.js +0 -14
- package/lib/src/mac-command-CQ7gS8N9.js +0 -15
- package/lib/src/map-BDGzZ_mT.js +0 -13
- package/lib/src/media-DP1GxX0O.js +0 -10
- package/lib/src/menu-DkzazM74.js +0 -10
- package/lib/src/message-Dl_LzrtO.js +0 -13
- package/lib/src/microphone-BODqyvoZ.js +0 -10
- package/lib/src/microphone-bold-CzVKhcgN.js +0 -14
- package/lib/src/minus-Q4ERtmep.js +0 -13
- package/lib/src/minus-circle-light-G01NAH99.js +0 -14
- package/lib/src/mobile-BF3QRH7G.js +0 -10
- package/lib/src/mobile-hamburger-display-style-1-C6zR_t6p.js +0 -31
- package/lib/src/mobile-hamburger-display-style-2-hPy5lOWF.js +0 -31
- package/lib/src/mobile-hamburger-display-style-3-2M6PedAU.js +0 -31
- package/lib/src/mobile-hamburger-display-style-4-CmQP6cRi.js +0 -31
- package/lib/src/mobile-tab-display-style-1-BHWhjlil.js +0 -31
- package/lib/src/mobile-tab-display-style-2-BZc8zkWA.js +0 -31
- package/lib/src/mobile-tab-display-style-with-button-1-HIrxlXjb.js +0 -16
- package/lib/src/mobile-tab-display-style-with-button-2-CA7PC3Ko.js +0 -16
- package/lib/src/mug-BnsydEdB.js +0 -35
- package/lib/src/opacity-BS1W0rWc.js +0 -13
- package/lib/src/other-Crbh5gBd.js +0 -29
- package/lib/src/page-blank-DjT_1sEM.js +0 -13
- package/lib/src/page-buttons-BTz0mBDH.js +0 -18
- package/lib/src/page-hamburger-DVvzxsq8.js +0 -37
- package/lib/src/page-tabs-BLj4RTsH.js +0 -39
- package/lib/src/pages-BivOWT09.js +0 -13
- package/lib/src/paint-brush-COGmslT4.js +0 -10
- package/lib/src/palette-C7YUuFs1.js +0 -14
- package/lib/src/palette-outline-BXpfwR0C.js +0 -14
- package/lib/src/pause-B3LlI4Ks.js +0 -10
- package/lib/src/pause-CWIK7Gqn.js +0 -10
- package/lib/src/payment-D4uzF2Va.js +0 -21
- package/lib/src/payments-featured-D0B24aZp.js +0 -27
- package/lib/src/payments-textonly-DyGstQ_O.js +0 -40
- package/lib/src/payments-thumbnail-BxfPpaR7.js +0 -29
- package/lib/src/pen-Dl3zmvGf.js +0 -14
- package/lib/src/pen-outline-S2zJBfdQ.js +0 -14
- package/lib/src/pen-sparkle-OIXJEPi_.js +0 -26
- package/lib/src/pen-tool-DHm5Ozhj.js +0 -14
- package/lib/src/phone-BrSVrNAS.js +0 -10
- package/lib/src/phone-DtbJr72s.js +0 -13
- package/lib/src/pinterest-bWl_HpHl.js +0 -10
- package/lib/src/play-Bb2KtpkI.js +0 -10
- package/lib/src/plus-Db58OMHA.js +0 -10
- package/lib/src/plus-circle-DKm1gqx2.js +0 -14
- package/lib/src/plus-circle-light-Dk5nkiKi.js +0 -15
- package/lib/src/plus-light-COSiGgr_.js +0 -14
- package/lib/src/poll-CjKfUqap.js +0 -10
- package/lib/src/portfolio-DUuqjSRU.js +0 -13
- package/lib/src/postcard-CDsGx6Oe.js +0 -10
- package/lib/src/poster-DEfOJXhV.js +0 -14
- package/lib/src/premium-content-CqUbwj1Q.js +0 -21
- package/lib/src/preview-M8JuE8FA.js +0 -13
- package/lib/src/printing-CRa3zgt0.js +0 -13
- package/lib/src/processing-CF7WuIN_.js +0 -10
- package/lib/src/profile-iKmC1gBN.js +0 -10
- package/lib/src/qrcode-BajTftW2.js +0 -10
- package/lib/src/question-alt-DI4lAsF2.js +0 -29
- package/lib/src/question-apq2ThbN.js +0 -21
- package/lib/src/question-circle-filled-Do0RmQZg.js +0 -14
- package/lib/src/quote-DsIgF7Jm.js +0 -12
- package/lib/src/ratio-1-1-6DggHD-x.js +0 -15
- package/lib/src/ratio-16-9--YDEDQf3.js +0 -15
- package/lib/src/ratio-2-3-D-aitNaC.js +0 -15
- package/lib/src/ratio-3-2-BdjVkvS7.js +0 -15
- package/lib/src/ratio-3-4-BGWY4j11.js +0 -15
- package/lib/src/ratio-4-3--17pib5m.js +0 -15
- package/lib/src/ratio-9-16-CLjGdlkk.js +0 -15
- package/lib/src/ratio-circle-DRlkb_m-.js +0 -15
- package/lib/src/ratio-original-ZQrzfIA2.js +0 -23
- package/lib/src/redo-CXxBSQ9O.js +0 -13
- package/lib/src/refresh-diNjzys6.js +0 -13
- package/lib/src/reload-h4T5ex3A.js +0 -13
- package/lib/src/reorderable-CG3mfLQe.js +0 -10
- package/lib/src/request-payment-DcUb5bHG.js +0 -13
- package/lib/src/reset-DYGG7q_U.js +0 -13
- package/lib/src/resize-CDwF0EFX.js +0 -25
- package/lib/src/roller-brush-Q8QF4zh0.js +0 -10
- package/lib/src/save-Ck6-GZEB.js +0 -13
- package/lib/src/search-BC2E1fVu.js +0 -14
- package/lib/src/secure-qq7tRi-P.js +0 -14
- package/lib/src/select-all-CM73JbnB.js +0 -24
- package/lib/src/send-CPeono2p.js +0 -23
- package/lib/src/services-51M4TDWn.js +0 -12
- package/lib/src/settings-BPeaz_sx.js +0 -15
- package/lib/src/shape-nefQXknJ.js +0 -10
- package/lib/src/share-CNn3c5Go.js +0 -17
- package/lib/src/shield-tick-BCiYY5PS.js +0 -13
- package/lib/src/shop-BAQIwMa_.js +0 -13
- package/lib/src/size-auto-S8cpKptj.js +0 -10
- package/lib/src/size-landscape-dGzSYKas.js +0 -10
- package/lib/src/size-portrait-CUHFXrVf.js +0 -10
- package/lib/src/size-square-CkRrs7Ov.js +0 -10
- package/lib/src/sms-BlyG3RPC.js +0 -10
- package/lib/src/snapchat-C4fJ9Yi2.js +0 -10
- package/lib/src/social-facebook-CqmOcNY-.js +0 -13
- package/lib/src/social-facebook-DcFvK-uj.js +0 -10
- package/lib/src/social-facebook-color-DHx6K415.js +0 -25
- package/lib/src/social-google-DmThCoNs.js +0 -13
- package/lib/src/social-google-a7JJsrHw.js +0 -10
- package/lib/src/social-instagram-ByKfrFlq.js +0 -13
- package/lib/src/social-instagram-color-T3I0TDyJ.js +0 -62
- package/lib/src/social-linkedin-color-HhqCj_Uw.js +0 -21
- package/lib/src/social-share-CAC6rJBn.js +0 -12
- package/lib/src/social-twitter-Ce2qByIs.js +0 -13
- package/lib/src/social-twitter-color-Bk2USA8V.js +0 -25
- package/lib/src/social-youtube-Db0J2xyR.js +0 -13
- package/lib/src/sort-f0uVGBUk.js +0 -10
- package/lib/src/soundcloud-DJeN4zCO.js +0 -14
- package/lib/src/spacing-DRJhLg5v.js +0 -27
- package/lib/src/sparkle-square-CCVDm9QS.js +0 -31
- package/lib/src/squares-CIOZvJNb.js +0 -14
- package/lib/src/star-filled-CYUW9wTa.js +0 -13
- package/lib/src/star-hollow-CkMkxjF_.js +0 -13
- package/lib/src/sticker-Bq3nOtYG.js +0 -35
- package/lib/src/stop-D09YQ-pe.js +0 -10
- package/lib/src/strikethrough-ClqheNy8.js +0 -14
- package/lib/src/styles-CF6j2hNP.js +0 -10
- package/lib/src/submit-Bywn-czX.js +0 -10
- package/lib/src/t-shirt-JavBTB2B.js +0 -39
- package/lib/src/tab-display-style-no-logo-1-mZHIAnnG.js +0 -27
- package/lib/src/tab-display-style-no-logo-2-Cs1NtjTl.js +0 -27
- package/lib/src/tab-display-style-no-logo-3-CqLyY9wQ.js +0 -27
- package/lib/src/templates-B5MDsWMM.js +0 -14
- package/lib/src/testimonial-big-image-B-03OWnh.js +0 -36
- package/lib/src/testimonial-centered-BFQre57m.js +0 -32
- package/lib/src/testimonial-columns-0o9HSqxb.js +0 -40
- package/lib/src/text-CTCTH32T.js +0 -14
- package/lib/src/text-CkN4utq1.js +0 -14
- package/lib/src/text-background-color-Bhytor8r.js +0 -21
- package/lib/src/text-color-XP97NWD3.js +0 -23
- package/lib/src/text-image-B8IMPB_Y.js +0 -44
- package/lib/src/text-image-center-FBrkZAcD.js +0 -28
- package/lib/src/text-image-justified-DVaqaCUy.js +0 -35
- package/lib/src/text-image-left-bfMPUlWg.js +0 -29
- package/lib/src/text-image-only-DP2azAss.js +0 -21
- package/lib/src/text-image-right-C4ojD_mq.js +0 -29
- package/lib/src/thankyou-card-Q9IqgLMI.js +0 -10
- package/lib/src/thumbs-up-Dzk8tvIj.js +0 -10
- package/lib/src/tiktok-DGfFEeQJ.js +0 -10
- package/lib/src/time-BXJ1J3wo.js +0 -13
- package/lib/src/tools-DMupzD6c.js +0 -10
- package/lib/src/tooltip-bottom-Dq1AVX8Z.js +0 -12
- package/lib/src/tooltip-left-BN03FWHL.js +0 -12
- package/lib/src/tooltip-right-0VGKKTUL.js +0 -12
- package/lib/src/tooltip-top-BfJysqUL.js +0 -12
- package/lib/src/transition-YKQkncqU.js +0 -27
- package/lib/src/tumblr-C56KclMw.js +0 -10
- package/lib/src/twitch-u3d7CWDb.js +0 -14
- package/lib/src/twitter-BPx8RAT3.js +0 -10
- package/lib/src/underline-B3R6bt71.js +0 -14
- package/lib/src/undo-L9V0V8Gd.js +0 -13
- package/lib/src/upgrade-BD-1DOR4.js +0 -16
- package/lib/src/upgrade-alt-BbX-56TQ.js +0 -14
- package/lib/src/upgrade-to-add-page-DWdwZCPk.js +0 -57
- package/lib/src/upgrade-to-contact-form-B6pJIxO_.js +0 -95
- package/lib/src/upgrade-to-google-ad-Cs22u0jd.js +0 -129
- package/lib/src/upgrade-to-maps-C3dG_78P.js +0 -56
- package/lib/src/upgrade-to-publish-2rNmYUeK.js +0 -119
- package/lib/src/upgrade-to-remove-watermark-Bp5Cs7ZH.js +0 -108
- package/lib/src/upgrade-to-videos-C3pRflCM.js +0 -54
- package/lib/src/upload-DWr8meFS.js +0 -10
- package/lib/src/upload-arrow-C_A0xWB2.js +0 -10
- package/lib/src/uppercase-4yduRmD9.js +0 -24
- package/lib/src/user-accounts-5-MMqae3.js +0 -10
- package/lib/src/user-headset-9r_hgDVJ.js +0 -57
- package/lib/src/users-2-DyDpBOVr.js +0 -15
- package/lib/src/users-DP8gNQn-.js +0 -14
- package/lib/src/video-EUQit6xy.js +0 -10
- package/lib/src/volume-BaBbRNg7.js +0 -10
- package/lib/src/volume-muted-BINymoJ9.js +0 -10
- package/lib/src/watchlist-filled-Ds514Isf.js +0 -24
- package/lib/src/watchlist-hollow-alt-DS2B9QNl.js +0 -24
- package/lib/src/watchlist-hollow-vNPjZGkO.js +0 -13
- package/lib/src/website-DmI1yoob.js +0 -13
- package/lib/src/website-filled-4avDThjD.js +0 -10
- package/lib/src/whatsapp-B8qj9zQZ.js +0 -14
- package/lib/src/wholesale-BAKTZEcZ.js +0 -13
- package/lib/src/wrap-text-DW8J7Ky7.js +0 -15
- package/lib/src/youtube-P5mIb2lW.js +0 -10
- package/lib/src/zoom-DHEfnGn1.js +0 -16
- package/lib/src/zoom-DqOT9mWt.js +0 -10
- package/lib/src/zoom-in-BjQhk7Qm.js +0 -10
- package/lib/src/zoom-out-DUpK4hsG.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';
|
|
@@ -15,7 +15,7 @@ export declare function pickErrorMessage(error: unknown): string;
|
|
|
15
15
|
* Pick a friendly chat message from a WebSocket error frame.
|
|
16
16
|
*
|
|
17
17
|
* Reads `msg.{code, message, error}` directly — the shape pushed by the
|
|
18
|
-
* ai-pipelines build_error
|
|
18
|
+
* ai-pipelines build_error WebSocket frames.
|
|
19
19
|
*/
|
|
20
20
|
export declare function pickWsErrorMessage(msg: ErrorPayload | undefined | null): string;
|
|
21
21
|
export interface RaygunReport {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// REL 1 Phase 1 / 1.5 — friendly chat copy keyed by the backend `code` field.
|
|
2
2
|
//
|
|
3
3
|
// Backend returns `{ error, code, message }` for known failure paths
|
|
4
|
-
// (both HTTP responses and WebSocket build_error
|
|
4
|
+
// (both HTTP responses and WebSocket build_error frames).
|
|
5
5
|
// We look up the code first, then fall back to message → error → generic.
|
|
6
6
|
// English-only for now; Phase 2 promotes this to proper i18n keys.
|
|
7
7
|
export const GENERIC_ERROR_MESSAGE = 'Something went wrong while putting your website together. Could you try that again?';
|
|
@@ -35,7 +35,7 @@ export function pickErrorMessage(error) {
|
|
|
35
35
|
* Pick a friendly chat message from a WebSocket error frame.
|
|
36
36
|
*
|
|
37
37
|
* Reads `msg.{code, message, error}` directly — the shape pushed by the
|
|
38
|
-
* ai-pipelines build_error
|
|
38
|
+
* ai-pipelines build_error WebSocket frames.
|
|
39
39
|
*/
|
|
40
40
|
export function pickWsErrorMessage(msg) {
|
|
41
41
|
return pickFromPayload(msg);
|
|
@@ -628,7 +628,7 @@ export function useAiWebsiteBuilderChat() {
|
|
|
628
628
|
});
|
|
629
629
|
return;
|
|
630
630
|
}
|
|
631
|
-
if (msg.type === '
|
|
631
|
+
if (msg.type === 'build_error') {
|
|
632
632
|
handleBuildError(msg);
|
|
633
633
|
return;
|
|
634
634
|
}
|
|
@@ -722,7 +722,7 @@ export function useAiWebsiteBuilderChat() {
|
|
|
722
722
|
threadItems.value[messageIndex].text = result.text;
|
|
723
723
|
threadItems.value[messageIndex].isTyping = false;
|
|
724
724
|
// Honour the isError flag set by error paths in callApiBuildAsync
|
|
725
|
-
// (apply-failure catch,
|
|
725
|
+
// (apply-failure catch, build_error WS frames).
|
|
726
726
|
// Without this, error text would render as a normal AI reply.
|
|
727
727
|
if (result.isError) {
|
|
728
728
|
threadItems.value[messageIndex].isError = true;
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -55,7 +55,6 @@ export const ITEM_FIELD_TYPES = {
|
|
|
55
55
|
'color-replacements': 'color-replacements',
|
|
56
56
|
'testimonial-items': 'testimonial-items',
|
|
57
57
|
'text-items': 'text-items',
|
|
58
|
-
'faq-items': 'faq-items',
|
|
59
58
|
'page-dropdown': 'page-dropdown',
|
|
60
59
|
'personalisation-override': 'personalisation-override',
|
|
61
60
|
};
|