UNPKG

@mikezimm/fps-core-v7

Version:

Library of reusable core interfaces, types and constants migrated from fps-library-v2

106 lines 4.35 kB
/** * 2024-09-03: Migrated from fps-library-v2\src\common\PropPaneHelp\preconfig */ import { EasyIconDefaultKeys, EasyIconObjectDefault } from '../../../components/atoms/easy-icons/interfaces/eiTypes'; import { DefaultEasyPagesTabs, DefaultOverflowTab } from '../../../components/atoms/easy-pages/interfaces/epTypes'; const EveryoneStr = `Everyone`; const PageEditors = `Page Editors`; export const PresetFPSBanner = { source: 'PresetFPSBanner', location: '*', props: { propsEasyMode: false, //Pin Me infoElementChoice: 'IconName=Unknown', infoElementText: 'Question mark circle', //Copied from FPSPagInfo.manifest.json bannerStyleChoice: "faintCharcoal", bannerStyle: "{\"color\":\"white\",\"backgroundColor\":\"#005495\",\"fontSize\":\"larger\",\"fontWeight\":600,\"fontStyle\":\"normal\",\"padding\":\"0px 10px\",\"height\":\"48px\",\"cursor\":\"pointer\"}", bannerCmdStyle: "{\"color\":\"white\",\"backgroundColor\":\"#005495\",\"fontSize\":16,\"fontWeight\":\"normal\",\"fontStyle\":\"normal\",\"padding\":\"7px 4px\",\"marginRight\":\"0px\",\"borderRadius\":\"5px\",\"cursor\":\"pointer\"}", showGoToHome: true, showGoToParent: true, homeParentGearAudience: EveryoneStr, beAUserAudience: PageEditors, requireDocumentation: false, documentationLinkDesc: 'Documentation', // Visitor Panel props that are not preset in manifest.json fullPanelAudience: 'Page Editors', panelMessageIfYouStill: '', documentationIsValid: true, // tenantHelpUrl: '', // tenantGetStartedUrl: '', // tenanatFirst5: '', // tenantPolicies: '', requireContacts: false, defaultWPBordRad: false, bannerHoverEffect: false, // https://github.com/mikezimm/pivottiles7/issues/284 bannerPillShape: true, defPinState: 'disabled', enableExpandoramic: true, expandoDefault: false, expandoAudience: EveryoneStr, showBanner: true, EasyPagesEnable: true, EasyPagesAudience: 'Page Editors', EasyPageTabsC: DefaultEasyPagesTabs.join(' ; '), EasyPageTabsP: DefaultEasyPagesTabs.join(' ; '), EasyPageTabsA: DefaultEasyPagesTabs.join(' ; '), EasyPageTabsB: DefaultEasyPagesTabs.join(' ; '), EasyPageOverflowTab: DefaultOverflowTab, EasyPageParent: true, EasyPageUrlA: '', EasyPagesSiteTitleA: '', EasyPageUrlB: '', EasyPagesSiteTitleB: '', easyPageSeparateExtras: true, EasyPageStyles: '', EasyPageContainerStyles: '', easyIconEnable: true, easyIconKeys: EasyIconDefaultKeys.join(' ; '), easyIconIgnore: '', easyIconPriorityProps: EasyIconObjectDefault.Priority.join('; '), // https://github.com/mikezimm/pivottiles7/issues/356 enableLockProps: false, lockedByUser: ``, lockedTime: ``, lockedMess1: ``, lockedMess2: ``, lockedMess3: ``, lockedHTML1: ``, enableForceOverRide: false, overrideByUser: ``, overrideTime: ``, overrideProps: ``, overrideKeys: [], enableSUL: false, sUCode: '', toolBarHide: false, // pageHeaderHide : false, socialBarHide: false, } }; export const IntraNt = 'lifenet'; export const PresetIntranetBanner = { source: 'PresetIntranetBanner', location: `/sites/${IntraNt}`.toLowerCase(), props: { homeParentGearAudience: PageEditors, beAUserAudience: PageEditors, requireDocumentation: true, documentationLinkDesc: 'Documentation', // Visitor Panel props that are not preset in manifest.json fullPanelAudience: 'Page Editors', enableExpandoramic: true, expandoDefault: false, expandoAudience: EveryoneStr, quickLaunchHide: false, allSectionMaxWidthEnable: false, allSectionMarginEnable: false, allSectionMaxWidth: 1200, toolBarHide: false, // pageHeaderHide : false, socialBarHide: false, } }; //# sourceMappingURL=PreConfiguredConstants.js.map