@mikezimm/fps-library-v2 1.0.11 → 1.0.12
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/CHANGELOG.md +74 -3
- package/lib/banner/banner/component.d.ts +35 -0
- package/lib/banner/banner/component.d.ts.map +1 -0
- package/lib/banner/banner/component.js +537 -0
- package/lib/banner/banner/component.js.map +1 -0
- package/lib/banner/components/EasyPages/componentPage.d.ts +1 -1
- package/lib/banner/components/EasyPages/componentPage.d.ts.map +1 -1
- package/lib/banner/components/EasyPages/componentPage.js +4 -4
- package/lib/banner/components/EasyPages/componentPage.js.map +1 -1
- package/lib/banner/components/EasyPages/componentSources.d.ts +1 -1
- package/lib/banner/components/EasyPages/componentSources.d.ts.map +1 -1
- package/lib/banner/components/EasyPages/componentSources.js +11 -10
- package/lib/banner/components/EasyPages/componentSources.js.map +1 -1
- package/lib/banner/components/EasyPages/createEasyPagesExtraWPProps.d.ts +4 -0
- package/lib/banner/components/EasyPages/createEasyPagesExtraWPProps.d.ts.map +1 -0
- package/lib/banner/components/EasyPages/createEasyPagesExtraWPProps.js +25 -0
- package/lib/banner/components/EasyPages/createEasyPagesExtraWPProps.js.map +1 -0
- package/lib/banner/components/EasyPages/createEasyPagesSourceWPProps.d.ts +12 -0
- package/lib/banner/components/EasyPages/createEasyPagesSourceWPProps.d.ts.map +1 -0
- package/lib/banner/components/EasyPages/createEasyPagesSourceWPProps.js +13 -0
- package/lib/banner/components/EasyPages/createEasyPagesSourceWPProps.js.map +1 -0
- package/lib/banner/components/EasyPages/devLinks.d.ts +2 -4
- package/lib/banner/components/EasyPages/devLinks.d.ts.map +1 -1
- package/lib/banner/components/EasyPages/devLinks.js +12 -12
- package/lib/banner/components/EasyPages/devLinks.js.map +1 -1
- package/lib/banner/components/EasyPages/functions.d.ts +1 -1
- package/lib/banner/components/EasyPages/functions.d.ts.map +1 -1
- package/lib/banner/components/EasyPages/functions.js +1 -1
- package/lib/banner/components/Gear/IKeySiteProps.d.ts +10 -0
- package/lib/banner/components/Gear/IKeySiteProps.d.ts.map +1 -0
- package/lib/banner/components/Gear/IKeySiteProps.js +2 -0
- package/lib/banner/components/Gear/IKeySiteProps.js.map +1 -0
- package/lib/banner/components/Gear/bannerGearFunctions.d.ts +28 -0
- package/lib/banner/components/Gear/bannerGearFunctions.d.ts.map +1 -0
- package/lib/banner/components/Gear/bannerGearFunctions.js +244 -0
- package/lib/banner/components/Gear/bannerGearFunctions.js.map +1 -0
- package/lib/banner/components/Panel/createAboutRow.d.ts +4 -0
- package/lib/banner/components/Panel/createAboutRow.d.ts.map +1 -0
- package/lib/banner/components/Panel/createAboutRow.js +8 -0
- package/lib/banner/components/Panel/createAboutRow.js.map +1 -0
- package/lib/banner/components/PropPane/controls.d.ts +1 -1
- package/lib/banner/components/PropPane/controls.d.ts.map +1 -1
- package/lib/banner/components/SpecialBanner/component.d.ts +4 -0
- package/lib/banner/components/SpecialBanner/component.d.ts.map +1 -0
- package/lib/banner/components/SpecialBanner/component.js +39 -0
- package/lib/banner/components/SpecialBanner/component.js.map +1 -0
- package/lib/banner/components/SpecialBanner/interface.d.ts +19 -0
- package/lib/banner/components/SpecialBanner/interface.d.ts.map +1 -0
- package/lib/banner/components/SpecialBanner/interface.js +20 -0
- package/lib/banner/components/SpecialBanner/interface.js.map +1 -0
- package/lib/banner/components/VisitorPanel/FPSOptionsGroupVisHelp.d.ts +18 -0
- package/lib/banner/components/VisitorPanel/FPSOptionsGroupVisHelp.d.ts.map +1 -0
- package/lib/banner/components/VisitorPanel/FPSOptionsGroupVisHelp.js +96 -0
- package/lib/banner/components/VisitorPanel/FPSOptionsGroupVisHelp.js.map +1 -0
- package/lib/banner/{interfaces/CustomHelp → components/VisitorPanel}/Interfaces.d.ts +19 -6
- package/lib/banner/components/VisitorPanel/Interfaces.d.ts.map +1 -0
- package/lib/banner/{interfaces/CustomHelp → components/VisitorPanel}/Interfaces.js +0 -0
- package/lib/banner/components/VisitorPanel/Interfaces.js.map +1 -0
- package/lib/banner/components/VisitorPanel/VisitorPanelComponent.d.ts +15 -0
- package/lib/banner/components/VisitorPanel/VisitorPanelComponent.d.ts.map +1 -0
- package/lib/banner/components/VisitorPanel/VisitorPanelComponent.js +100 -0
- package/lib/banner/components/VisitorPanel/VisitorPanelComponent.js.map +1 -0
- package/lib/banner/components/WebPartLinks/WebPartLinks.d.ts +52 -0
- package/lib/banner/components/WebPartLinks/WebPartLinks.d.ts.map +1 -0
- package/lib/banner/components/WebPartLinks/WebPartLinks.js +98 -0
- package/lib/banner/components/WebPartLinks/WebPartLinks.js.map +1 -0
- package/lib/banner/features/BeAUser/confirmBeAUser.d.ts +2 -0
- package/lib/banner/features/BeAUser/confirmBeAUser.d.ts.map +1 -0
- package/lib/banner/features/BeAUser/confirmBeAUser.js +5 -0
- package/lib/banner/features/BeAUser/confirmBeAUser.js.map +1 -0
- package/lib/banner/features/Expando/functions.d.ts +1 -1
- package/lib/banner/features/Expando/functions.d.ts.map +1 -1
- package/lib/banner/features/Expando/oninit.d.ts +1 -1
- package/lib/banner/features/Expando/oninit.d.ts.map +1 -1
- package/lib/banner/features/{PropImportExport → ImportExport}/ExportFunctions.d.ts +0 -0
- package/lib/banner/features/ImportExport/ExportFunctions.d.ts.map +1 -0
- package/lib/banner/features/{PropImportExport → ImportExport}/ExportFunctions.js +0 -0
- package/lib/banner/features/ImportExport/ExportFunctions.js.map +1 -0
- package/lib/banner/features/{PropImportExport → ImportExport}/IgnoreBlockProps.d.ts +0 -0
- package/lib/banner/features/ImportExport/IgnoreBlockProps.d.ts.map +1 -0
- package/lib/banner/features/{PropImportExport → ImportExport}/IgnoreBlockProps.js +0 -0
- package/lib/banner/features/ImportExport/IgnoreBlockProps.js.map +1 -0
- package/lib/banner/features/{PropImportExport → ImportExport}/ImportFunctions.d.ts +1 -1
- package/lib/banner/features/ImportExport/ImportFunctions.d.ts.map +1 -0
- package/lib/banner/features/{PropImportExport → ImportExport}/ImportFunctions.js +0 -0
- package/lib/banner/features/ImportExport/ImportFunctions.js.map +1 -0
- package/lib/banner/features/PageStyle/minimzeToolbar.d.ts +2 -2
- package/lib/banner/features/PageStyle/minimzeToolbar.d.ts.map +1 -1
- package/lib/banner/features/PageStyle/setAllSectionStyles.d.ts +2 -2
- package/lib/banner/features/PageStyle/setAllSectionStyles.d.ts.map +1 -1
- package/lib/banner/features/PinMe/FPSPinMenu.d.ts +1 -1
- package/lib/banner/features/PinMe/FPSPinMenu.d.ts.map +1 -1
- package/lib/banner/features/Tricky/ReusaableTricks.d.ts +30 -0
- package/lib/banner/features/Tricky/ReusaableTricks.d.ts.map +1 -0
- package/lib/banner/features/Tricky/ReusaableTricks.js +81 -0
- package/lib/banner/features/Tricky/ReusaableTricks.js.map +1 -0
- package/lib/banner/features/Tricky/constants.d.ts +22 -0
- package/lib/banner/features/Tricky/constants.d.ts.map +1 -0
- package/lib/banner/features/Tricky/constants.js +59 -0
- package/lib/banner/features/Tricky/constants.js.map +1 -0
- package/lib/banner/features/Tricky/logTest.d.ts +27 -0
- package/lib/banner/features/Tricky/logTest.d.ts.map +1 -0
- package/lib/banner/features/Tricky/logTest.js +47 -0
- package/lib/banner/features/Tricky/logTest.js.map +1 -0
- package/lib/banner/features/Tricky/logfun.d.ts +18 -0
- package/lib/banner/features/Tricky/logfun.d.ts.map +1 -0
- package/lib/banner/features/Tricky/logfun.js +69 -0
- package/lib/banner/features/Tricky/logfun.js.map +1 -0
- package/lib/banner/features/Tricky/verify.d.ts +3 -0
- package/lib/banner/features/Tricky/verify.d.ts.map +1 -0
- package/lib/banner/features/Tricky/verify.js +3 -0
- package/lib/banner/features/Tricky/verify.js.map +1 -0
- package/lib/banner/interfaces/{Banner → MinWP}/IMinBannerUIProps.d.ts +0 -0
- package/lib/banner/interfaces/MinWP/IMinBannerUIProps.d.ts.map +1 -0
- package/lib/banner/interfaces/{Banner → MinWP}/IMinBannerUIProps.js +0 -0
- package/lib/banner/interfaces/MinWP/IMinBannerUIProps.js.map +1 -0
- package/lib/banner/interfaces/{Banner → MinWP}/IMinBannerUtilityProps.d.ts +0 -0
- package/lib/banner/interfaces/MinWP/IMinBannerUtilityProps.d.ts.map +1 -0
- package/lib/banner/interfaces/{Banner → MinWP}/IMinBannerUtilityProps.js +0 -0
- package/lib/banner/interfaces/MinWP/IMinBannerUtilityProps.js.map +1 -0
- package/lib/banner/interfaces/{Banner → MinWP}/IMinWPBannerProps.d.ts +1 -1
- package/lib/banner/interfaces/MinWP/IMinWPBannerProps.d.ts.map +1 -0
- package/lib/banner/interfaces/{Banner → MinWP}/IMinWPBannerProps.js +0 -0
- package/lib/banner/interfaces/MinWP/IMinWPBannerProps.js.map +1 -0
- package/lib/banner/mainReact/IWebpartBannerProps.d.ts +86 -0
- package/lib/banner/mainReact/IWebpartBannerProps.d.ts.map +1 -0
- package/lib/banner/mainReact/IWebpartBannerProps.js +2 -0
- package/lib/banner/mainReact/IWebpartBannerProps.js.map +1 -0
- package/lib/banner/mainReact/ReactComponentProps.d.ts +33 -0
- package/lib/banner/mainReact/ReactComponentProps.d.ts.map +1 -0
- package/lib/banner/mainReact/ReactComponentProps.js +2 -0
- package/lib/banner/mainReact/ReactComponentProps.js.map +1 -0
- package/lib/banner/mainReact/ReactComponentState.d.ts +27 -0
- package/lib/banner/mainReact/ReactComponentState.d.ts.map +1 -0
- package/lib/banner/mainReact/ReactComponentState.js +2 -0
- package/lib/banner/mainReact/ReactComponentState.js.map +1 -0
- package/lib/banner/render/IBuildBannerSettings.d.ts +28 -0
- package/lib/banner/render/IBuildBannerSettings.d.ts.map +1 -0
- package/lib/banner/render/IBuildBannerSettings.js +6 -0
- package/lib/banner/render/IBuildBannerSettings.js.map +1 -0
- package/lib/banner/render/IMinFPSLegacyProps.d.ts +7 -0
- package/lib/banner/render/IMinFPSLegacyProps.d.ts.map +1 -0
- package/lib/banner/render/IMinFPSLegacyProps.js +2 -0
- package/lib/banner/render/IMinFPSLegacyProps.js.map +1 -0
- package/lib/banner/render/WebPartRenderBannerV2.d.ts +32 -0
- package/lib/banner/render/WebPartRenderBannerV2.d.ts.map +1 -0
- package/lib/banner/render/WebPartRenderBannerV2.js +218 -0
- package/lib/banner/render/WebPartRenderBannerV2.js.map +1 -0
- package/lib/banner/render/buildBannerPropsV1.d.ts +34 -0
- package/lib/banner/render/buildBannerPropsV1.d.ts.map +1 -0
- package/lib/banner/render/buildBannerPropsV1.js +195 -0
- package/lib/banner/render/buildBannerPropsV1.js.map +1 -0
- package/lib/banner/render/refreshPanel.d.ts +5 -0
- package/lib/banner/render/refreshPanel.d.ts.map +1 -0
- package/lib/banner/render/refreshPanel.js +9 -0
- package/lib/banner/render/refreshPanel.js.map +1 -0
- package/lib/banner/render/refreshPanelHTML.d.ts +5 -0
- package/lib/banner/render/refreshPanelHTML.d.ts.map +1 -0
- package/lib/banner/render/refreshPanelHTML.js +10 -0
- package/lib/banner/render/refreshPanelHTML.js.map +1 -0
- package/lib/common/Audiences/AudiencePropGroup.d.ts +4 -0
- package/lib/common/Audiences/AudiencePropGroup.d.ts.map +1 -0
- package/lib/common/Audiences/AudiencePropGroup.js +24 -0
- package/lib/common/Audiences/AudiencePropGroup.js.map +1 -0
- package/lib/common/Audiences/Interfaces.d.ts +18 -0
- package/lib/common/Audiences/Interfaces.d.ts.map +1 -0
- package/lib/common/Audiences/Interfaces.js +28 -0
- package/lib/common/Audiences/Interfaces.js.map +1 -0
- package/lib/common/PropPaneHelp/ApplyPresets.d.ts +3 -0
- package/lib/common/PropPaneHelp/ApplyPresets.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/ApplyPresets.js +29 -0
- package/lib/common/PropPaneHelp/ApplyPresets.js.map +1 -0
- package/lib/common/PropPaneHelp/IPreConfig.d.ts +26 -0
- package/lib/common/PropPaneHelp/IPreConfig.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/IPreConfig.js +2 -0
- package/lib/common/PropPaneHelp/IPreConfig.js.map +1 -0
- package/lib/common/PropPaneHelp/PreConfiguredConstants.d.ts +3 -0
- package/lib/common/PropPaneHelp/PreConfiguredConstants.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/PreConfiguredConstants.js +31 -0
- package/lib/common/PropPaneHelp/PreConfiguredConstants.js.map +1 -0
- package/lib/common/PropPaneHelp/getThisSitesPreConfigProps.d.ts +4 -0
- package/lib/common/PropPaneHelp/getThisSitesPreConfigProps.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/getThisSitesPreConfigProps.js +44 -0
- package/lib/common/PropPaneHelp/getThisSitesPreConfigProps.js.map +1 -0
- package/lib/common/PropPaneHelp/pages/Banner.d.ts +3 -0
- package/lib/common/PropPaneHelp/pages/Banner.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/pages/Banner.js +49 -0
- package/lib/common/PropPaneHelp/pages/Banner.js.map +1 -0
- package/lib/common/PropPaneHelp/pages/FPSBasic.d.ts +3 -0
- package/lib/common/PropPaneHelp/pages/FPSBasic.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/pages/FPSBasic.js +33 -0
- package/lib/common/PropPaneHelp/pages/FPSBasic.js.map +1 -0
- package/lib/common/PropPaneHelp/pages/FPSExpand.d.ts +3 -0
- package/lib/common/PropPaneHelp/pages/FPSExpand.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/pages/FPSExpand.js +41 -0
- package/lib/common/PropPaneHelp/pages/FPSExpand.js.map +1 -0
- package/lib/common/PropPaneHelp/pages/Import.d.ts +3 -0
- package/lib/common/PropPaneHelp/pages/Import.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/pages/Import.js +21 -0
- package/lib/common/PropPaneHelp/pages/Import.js.map +1 -0
- package/lib/common/PropPaneHelp/pages/PinMe.d.ts +3 -0
- package/lib/common/PropPaneHelp/pages/PinMe.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/pages/PinMe.js +28 -0
- package/lib/common/PropPaneHelp/pages/PinMe.js.map +1 -0
- package/lib/common/PropPaneHelp/pages/SinglePageApp.d.ts +3 -0
- package/lib/common/PropPaneHelp/pages/SinglePageApp.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/pages/SinglePageApp.js +39 -0
- package/lib/common/PropPaneHelp/pages/SinglePageApp.js.map +1 -0
- package/lib/common/PropPaneHelp/pages/SitePresetsInfo.d.ts +9 -0
- package/lib/common/PropPaneHelp/pages/SitePresetsInfo.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/pages/SitePresetsInfo.js +84 -0
- package/lib/common/PropPaneHelp/pages/SitePresetsInfo.js.map +1 -0
- package/lib/common/PropPaneHelp/pages/Visitor.d.ts +3 -0
- package/lib/common/PropPaneHelp/pages/Visitor.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/pages/Visitor.js +24 -0
- package/lib/common/PropPaneHelp/pages/Visitor.js.map +1 -0
- package/lib/common/PropPaneHelp/pages/Warnings.d.ts +4 -0
- package/lib/common/PropPaneHelp/pages/Warnings.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/pages/Warnings.js +19 -0
- package/lib/common/PropPaneHelp/pages/Warnings.js.map +1 -0
- package/lib/common/PropPaneHelp/pages/zTemplate.d.ts +1 -0
- package/lib/common/PropPaneHelp/pages/zTemplate.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/pages/zTemplate.js +9 -0
- package/lib/common/PropPaneHelp/pages/zTemplate.js.map +1 -0
- package/lib/common/commandStyles/adjustCmdThemes.d.ts +22 -0
- package/lib/common/commandStyles/adjustCmdThemes.d.ts.map +1 -0
- package/lib/common/commandStyles/adjustCmdThemes.js +49 -0
- package/lib/common/commandStyles/adjustCmdThemes.js.map +1 -0
- package/lib/common/commandStyles/defaults.d.ts +24 -0
- package/lib/common/commandStyles/defaults.d.ts.map +1 -0
- package/lib/common/commandStyles/defaults.js +140 -0
- package/lib/common/commandStyles/defaults.js.map +1 -0
- package/lib/common/interfaces/@msft/1.15.2/WebPartContext.d.ts +3 -0
- package/lib/common/interfaces/@msft/1.15.2/WebPartContext.d.ts.map +1 -1
- package/lib/common/interfaces/@msft/1.15.2/WebPartContext.js.map +1 -1
- package/lib/components/atoms/EasyIcons/createEasyIconsWPProps.d.ts +3 -0
- package/lib/components/atoms/EasyIcons/createEasyIconsWPProps.d.ts.map +1 -0
- package/lib/components/atoms/EasyIcons/createEasyIconsWPProps.js +15 -0
- package/lib/components/atoms/EasyIcons/createEasyIconsWPProps.js.map +1 -0
- package/lib/components/atoms/EasyIcons/{eiFunctions.d.ts → getEasyIcon.d.ts} +2 -3
- package/lib/components/atoms/EasyIcons/getEasyIcon.d.ts.map +1 -0
- package/lib/components/atoms/EasyIcons/{eiFunctions.js → getEasyIcon.js} +4 -17
- package/lib/components/atoms/EasyIcons/getEasyIcon.js.map +1 -0
- package/lib/components/atoms/Elements/HighlightedText.d.ts +9 -0
- package/lib/components/atoms/Elements/HighlightedText.d.ts.map +1 -0
- package/lib/components/atoms/Elements/HighlightedText.js +30 -0
- package/lib/components/atoms/Elements/HighlightedText.js.map +1 -0
- package/lib/components/atoms/Elements/IElements.d.ts +8 -0
- package/lib/components/atoms/Elements/IElements.d.ts.map +1 -0
- package/lib/components/atoms/Elements/IElements.js +2 -0
- package/lib/components/atoms/Elements/IElements.js.map +1 -0
- package/lib/components/atoms/Elements/ToggleJSONButton.d.ts +13 -0
- package/lib/components/atoms/Elements/ToggleJSONButton.d.ts.map +1 -0
- package/lib/components/atoms/Elements/ToggleJSONButton.js +31 -0
- package/lib/components/atoms/Elements/ToggleJSONButton.js.map +1 -0
- package/lib/components/atoms/Elements/basic.d.ts +26 -0
- package/lib/components/atoms/Elements/basic.d.ts.map +1 -0
- package/lib/components/atoms/Elements/basic.js +126 -0
- package/lib/components/atoms/Elements/basic.js.map +1 -0
- package/lib/components/atoms/Elements/dialogBox.d.ts +23 -0
- package/lib/components/atoms/Elements/dialogBox.d.ts.map +1 -0
- package/lib/components/atoms/Elements/dialogBox.js +59 -0
- package/lib/components/atoms/Elements/dialogBox.js.map +1 -0
- package/lib/components/atoms/Elements/draw.d.ts +14 -0
- package/lib/components/atoms/Elements/draw.d.ts.map +1 -0
- package/lib/components/atoms/Elements/draw.js +100 -0
- package/lib/components/atoms/Elements/draw.js.map +1 -0
- package/lib/components/atoms/Elements/markdown.d.ts +4 -0
- package/lib/components/atoms/Elements/markdown.d.ts.map +1 -0
- package/lib/components/atoms/Elements/markdown.js +34 -0
- package/lib/components/atoms/Elements/markdown.js.map +1 -0
- package/lib/components/atoms/FPSAgeSlider/createAgeSliderWPProps.d.ts +3 -0
- package/lib/components/atoms/FPSAgeSlider/createAgeSliderWPProps.d.ts.map +1 -0
- package/lib/components/atoms/FPSAgeSlider/createAgeSliderWPProps.js +10 -0
- package/lib/components/atoms/FPSAgeSlider/createAgeSliderWPProps.js.map +1 -0
- package/lib/components/atoms/Links/LinksRepos.d.ts.map +1 -1
- package/lib/components/atoms/Links/LinksRepos.js.map +1 -1
- package/lib/components/atoms/Links/ValidateLinks.d.ts +1 -1
- package/lib/components/atoms/Links/ValidateLinks.d.ts.map +1 -1
- package/lib/components/atoms/SVGIcons/TeamsLogo.d.ts +2 -0
- package/lib/components/atoms/SVGIcons/TeamsLogo.d.ts.map +1 -0
- package/lib/components/atoms/SVGIcons/TeamsLogo.js +2 -0
- package/lib/components/atoms/SVGIcons/TeamsLogo.js.map +1 -0
- package/lib/components/molecules/Performance/tables.d.ts +1 -1
- package/lib/components/molecules/Performance/tables.d.ts.map +1 -1
- package/lib/logic/DOM/Headings/functions.d.ts.map +1 -1
- package/lib/logic/DOM/Headings/functions.js +15 -19
- package/lib/logic/DOM/Headings/functions.js.map +1 -1
- package/lib/logic/Errors/friendly.d.ts +1 -1
- package/lib/logic/Errors/friendly.d.ts.map +1 -1
- package/lib/logic/Links/Navigation.d.ts +4 -0
- package/lib/logic/Links/Navigation.d.ts.map +1 -0
- package/lib/logic/Links/Navigation.js +15 -0
- package/lib/logic/Links/Navigation.js.map +1 -0
- package/lib/logic/Strings/arraysFromString.d.ts.map +1 -1
- package/lib/logic/Strings/arraysFromString.js +2 -0
- package/lib/logic/Strings/arraysFromString.js.map +1 -1
- package/lib/logic/Strings/decamelize.d.ts +7 -0
- package/lib/logic/Strings/decamelize.d.ts.map +1 -0
- package/lib/logic/Strings/decamelize.js +38 -0
- package/lib/logic/Strings/decamelize.js.map +1 -0
- package/lib/logic/Strings/reactCSS.d.ts +19 -0
- package/lib/logic/Strings/reactCSS.d.ts.map +1 -0
- package/lib/logic/Strings/reactCSS.js +70 -0
- package/lib/logic/Strings/reactCSS.js.map +1 -0
- package/lib/logic/indexes/StringsIndex.d.ts +2 -0
- package/lib/logic/indexes/StringsIndex.d.ts.map +1 -1
- package/lib/logic/indexes/StringsIndex.js +3 -0
- package/lib/logic/indexes/StringsIndex.js.map +1 -1
- package/lib/logic/indexes/index.d.ts +0 -1
- package/lib/logic/indexes/index.d.ts.map +1 -1
- package/lib/logic/indexes/index.js +1 -1
- package/lib/logic/indexes/index.js.map +1 -1
- package/package.json +5 -2
- package/lib/banner/features/PropImportExport/ExportFunctions.d.ts.map +0 -1
- package/lib/banner/features/PropImportExport/ExportFunctions.js.map +0 -1
- package/lib/banner/features/PropImportExport/IgnoreBlockProps.d.ts.map +0 -1
- package/lib/banner/features/PropImportExport/IgnoreBlockProps.js.map +0 -1
- package/lib/banner/features/PropImportExport/ImportFunctions.d.ts.map +0 -1
- package/lib/banner/features/PropImportExport/ImportFunctions.js.map +0 -1
- package/lib/banner/interfaces/Banner/IMinBannerUIProps.d.ts.map +0 -1
- package/lib/banner/interfaces/Banner/IMinBannerUIProps.js.map +0 -1
- package/lib/banner/interfaces/Banner/IMinBannerUtilityProps.d.ts.map +0 -1
- package/lib/banner/interfaces/Banner/IMinBannerUtilityProps.js.map +0 -1
- package/lib/banner/interfaces/Banner/IMinWPBannerProps.d.ts.map +0 -1
- package/lib/banner/interfaces/Banner/IMinWPBannerProps.js.map +0 -1
- package/lib/banner/interfaces/CustomHelp/Interfaces.d.ts.map +0 -1
- package/lib/banner/interfaces/CustomHelp/Interfaces.js.map +0 -1
- package/lib/components/atoms/EasyIcons/eiFunctions.d.ts.map +0 -1
- package/lib/components/atoms/EasyIcons/eiFunctions.js.map +0 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 2022-08-29: Refactored return statement to fix compile warning.
|
|
4
|
+
* @param sitePresets : ISitePreConfigProps
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export function SitePresetsInfo(sitePresets) {
|
|
8
|
+
const usePreSets = sitePresets && (sitePresets.forces.length > 0 || sitePresets.presets.length > 0) ? true : false;
|
|
9
|
+
if (usePreSets === true) {
|
|
10
|
+
const allForces = [];
|
|
11
|
+
const forcesRows = [];
|
|
12
|
+
let forcePreviously = null;
|
|
13
|
+
sitePresets.forces.map((preset, index) => {
|
|
14
|
+
if (index === 0 || sitePresets.forces[index].source !== sitePresets.forces[index - 1].source) {
|
|
15
|
+
forcesRows.push(React.createElement("tr", { className: 'fps-policy', style: { color: 'darkred' } },
|
|
16
|
+
React.createElement("td", { colSpan: 2 }, preset.source),
|
|
17
|
+
React.createElement("td", { colSpan: 2 }, preset.location)));
|
|
18
|
+
}
|
|
19
|
+
let wasForced = '';
|
|
20
|
+
let wasForcedClass = wasForced ? 'was-forced' : '';
|
|
21
|
+
if (allForces.indexOf(preset.prop) > -1) {
|
|
22
|
+
wasForced = '*';
|
|
23
|
+
forcePreviously = React.createElement("div", null, "* These items were previously enforced");
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
allForces.push(preset.prop);
|
|
27
|
+
}
|
|
28
|
+
forcesRows.push(React.createElement("tr", { className: preset.className },
|
|
29
|
+
React.createElement("td", null, preset.prop),
|
|
30
|
+
React.createElement("td", { title: `for sites: ${preset.location}` }, preset.type),
|
|
31
|
+
React.createElement("td", { className: wasForcedClass },
|
|
32
|
+
preset.status,
|
|
33
|
+
wasForced),
|
|
34
|
+
React.createElement("td", null,
|
|
35
|
+
JSON.stringify(preset.value),
|
|
36
|
+
" ")));
|
|
37
|
+
});
|
|
38
|
+
const forces = sitePresets.forces.length === 0 ? null : React.createElement("div", null,
|
|
39
|
+
React.createElement("div", { className: 'fps-pph-topic' }, "Forced Properties - may seem editable but are auto-set."),
|
|
40
|
+
React.createElement("div", { className: '' }, "In the case a property is forced multiple times, the last one is the one that gets applied."),
|
|
41
|
+
forcePreviously,
|
|
42
|
+
React.createElement("table", { className: 'configured-props' }, forcesRows));
|
|
43
|
+
const presetsRows = [];
|
|
44
|
+
const alreadyEnforced = [];
|
|
45
|
+
sitePresets.presets.map((preset, index) => {
|
|
46
|
+
if (index === 0 || sitePresets.presets[index].source !== sitePresets.presets[index - 1].source) {
|
|
47
|
+
presetsRows.push(React.createElement("tr", { className: 'fps-policy', style: { color: 'darkgreen' } },
|
|
48
|
+
React.createElement("td", { colSpan: 2 }, preset.source),
|
|
49
|
+
React.createElement("td", { colSpan: 2 }, preset.location)));
|
|
50
|
+
}
|
|
51
|
+
let wasForced = '';
|
|
52
|
+
if (allForces.indexOf(preset.prop) > -1 && alreadyEnforced.indexOf(preset.prop) < 0) {
|
|
53
|
+
alreadyEnforced.push(preset.prop);
|
|
54
|
+
wasForced = '^';
|
|
55
|
+
}
|
|
56
|
+
let wasForcedClass = wasForced ? 'was-forced' : '';
|
|
57
|
+
presetsRows.push(React.createElement("tr", { className: preset.className },
|
|
58
|
+
React.createElement("td", null, preset.prop),
|
|
59
|
+
React.createElement("td", { title: `for sites: ${preset.location}` }, preset.type),
|
|
60
|
+
React.createElement("td", { className: wasForcedClass },
|
|
61
|
+
preset.status,
|
|
62
|
+
wasForced),
|
|
63
|
+
React.createElement("td", null,
|
|
64
|
+
JSON.stringify(preset.value),
|
|
65
|
+
" ")));
|
|
66
|
+
});
|
|
67
|
+
const alreadyEnforcedStr = alreadyEnforced.join('; ');
|
|
68
|
+
const presets = sitePresets.presets.length === 0 ? null : React.createElement("div", null,
|
|
69
|
+
React.createElement("div", { className: 'fps-pph-topic' }, "Preset Properties"),
|
|
70
|
+
React.createElement("div", { className: '' }, "These presets were over-written by the forced policies listed above:"),
|
|
71
|
+
React.createElement("div", { className: '' }, "In the case a property is preset multiple times, the last one is the one that gets applied."),
|
|
72
|
+
React.createElement("div", { className: 'width90' }, alreadyEnforcedStr),
|
|
73
|
+
React.createElement("table", { className: 'configured-props' }, presetsRows));
|
|
74
|
+
const preSetsContent = React.createElement("div", { className: 'fps-pph-content', style: { display: 'flex' } },
|
|
75
|
+
React.createElement("div", null,
|
|
76
|
+
forces,
|
|
77
|
+
presets));
|
|
78
|
+
return preSetsContent;
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
return null;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=SitePresetsInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SitePresetsInfo.js","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/pages/SitePresetsInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;;;GAIG;AAGH,MAAM,UAAU,eAAe,CAAC,WAAgC;IAE9D,MAAM,UAAU,GAAG,WAAW,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI,WAAW,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IAEnH,IAAI,UAAU,KAAK,IAAI,EAAE;QAEvB,MAAM,SAAS,GAAa,EAAE,CAAC;QAE/B,MAAM,UAAU,GAAU,EAAE,CAAC;QAC7B,IAAI,eAAe,GAAQ,IAAI,CAAC;QAChC,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;YACvC,IAAI,KAAK,KAAK,CAAC,IAAI,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,WAAW,CAAC,MAAM,CAAC,KAAK,GAAG,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AC,MAAM;oBAAE,SAAS,CAAM;gBAAA;oBAAK,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC;wBAAO,CAAK,CAAC,CAAC;QACrP,CAAC,CAAC,CAAC;QAEH,MAAM,kBAAkB,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACtD,MAAM,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACxD,6BAAK,SAAS,EAAE,eAAe,wBAAyB;YACxD,6BAAK,SAAS,EAAE,EAAE,2EAA4E;YAC9F,6BAAK,SAAS,EAAE,EAAE,kGAAmG;YACrH,6BAAK,SAAS,EAAE,SAAS,IAAG,kBAAkB,CAAO;YACrD,+BAAO,SAAS,EAAC,kBAAkB,IAChC,WAAW,CAIN,CAEJ,CAAC;QAEP,MAAM,cAAc,GAAgB,6BAAK,SAAS,EAAE,iBAAiB,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;YAC/F;gBACG,MAAM;gBACN,OAAO,CACJ,CACF,CAAC;QAEP,OAAO,cAAc,CAAC;KAEvB;SAAM;QAEL,OAAO,IAAI,CAAC;KACb;AAEH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Visitor.d.ts","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/pages/Visitor.tsx"],"names":[],"mappings":";AAMA,eAAO,MAAM,WAAW,aAyBZ,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PivotItem, } from 'office-ui-fabric-react/lib/Pivot';
|
|
3
|
+
require('@mikezimm/fps-styles/dist/PropPanelHelp.css');
|
|
4
|
+
export const VisitorHelp = React.createElement(PivotItem, { headerText: 'Visitor Help' },
|
|
5
|
+
React.createElement("div", { className: 'fps-pph-content' },
|
|
6
|
+
React.createElement("div", { className: 'fps-pph-topic' }, "Full Help Panel Audience"),
|
|
7
|
+
React.createElement("div", null,
|
|
8
|
+
"This gives you control who can see the entire ",
|
|
9
|
+
React.createElement("b", null, "More Information"),
|
|
10
|
+
" panel in the Help Banner bar."),
|
|
11
|
+
React.createElement("div", null, "People who have less rights than this will only see the content you add via the property pane."),
|
|
12
|
+
React.createElement("div", { className: 'fps-pph-topic' }, "Panel Description"),
|
|
13
|
+
React.createElement("div", null, "Personalized heading message you give you your users."),
|
|
14
|
+
React.createElement("div", { className: 'fps-pph-topic' }, "Support Message"),
|
|
15
|
+
React.createElement("div", null, "Optional message to give users for support."),
|
|
16
|
+
React.createElement("div", { className: 'fps-pph-topic' }, "Documentation message"),
|
|
17
|
+
React.createElement("div", null, "Message you can give users directly above the documentation link"),
|
|
18
|
+
React.createElement("div", { className: 'fps-pph-topic' }, "Paste a Documentation link"),
|
|
19
|
+
React.createElement("div", null, "We require a valid SharePoint link where you store further information on using this web part."),
|
|
20
|
+
React.createElement("div", { className: 'fps-pph-topic' }, "Documentation Description"),
|
|
21
|
+
React.createElement("div", null, "Optional text that the user sees as the Documentation Link text"),
|
|
22
|
+
React.createElement("div", { className: 'fps-pph-topic' }, "Support Contacts"),
|
|
23
|
+
React.createElement("div", null, "Use of this web part requires a current user to be identified for support issues.")));
|
|
24
|
+
//# sourceMappingURL=Visitor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Visitor.js","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/pages/Visitor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,GAAG,MAAM,kCAAkC,CAAC;AAE9D,OAAO,CAAC,6CAA6C,CAAC,CAAC;AAEvD,MAAM,CAAC,MAAM,WAAW,GAAG,oBAAC,SAAS,IAAC,UAAU,EAAG,cAAc;IAC7D,6BAAK,SAAS,EAAG,iBAAiB;QAClC,6BAAK,SAAS,EAAG,eAAe,+BAAiC;QACjE;;YAAmD,kDAAuB;6CAAoC;QAC9G,kIAAyG;QAEzG,6BAAK,SAAS,EAAG,eAAe,wBAA0B;QAC1D,yFAAgE;QAEhE,6BAAK,SAAS,EAAG,eAAe,sBAAwB;QACxD,+EAAsD;QAEtD,6BAAK,SAAS,EAAG,eAAe,4BAA8B;QAC9D,oGAA2E;QAE3E,6BAAK,SAAS,EAAG,eAAe,iCAAmC;QACnE,kIAAyG;QAEzG,6BAAK,SAAS,EAAG,eAAe,gCAAkC;QAClE,mGAA0E;QAE1E,6BAAK,SAAS,EAAG,eAAe,uBAAyB;QACzD,qHAA4F,CAEtF,CACE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Warnings.d.ts","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/pages/Warnings.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,kBAAkB,aAMzB,CAAC;AAEP,eAAO,MAAM,gBAAgB,aAGvB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
require('@mikezimm/fps-styles/dist/PropPanelHelp.css');
|
|
3
|
+
export const CSSOverRideWarning = React.createElement("div", { style: { fontSize: 'large' } },
|
|
4
|
+
React.createElement("div", { className: 'fps-pph-topic', style: { fontSize: 'large' } },
|
|
5
|
+
React.createElement("mark", null, "NOTICE")),
|
|
6
|
+
React.createElement("div", null, "Any 3rd party app that modifies the page styling (like these) are using undocumented tricks "),
|
|
7
|
+
React.createElement("div", null,
|
|
8
|
+
" - - ",
|
|
9
|
+
React.createElement("b", null, "WHICH ARE SUBJECT TO BREAK without notice by Microsoft"),
|
|
10
|
+
"."),
|
|
11
|
+
React.createElement("div", null, "These settings are applied after this web part loads."),
|
|
12
|
+
React.createElement("div", null,
|
|
13
|
+
React.createElement("b", null, "Users may briefly see the original styling"),
|
|
14
|
+
". Especially if their connection is slow or your page takes a long time to load."));
|
|
15
|
+
export const DeveloperWarning = React.createElement("div", { style: { fontSize: 'large' } },
|
|
16
|
+
React.createElement("div", { className: 'fps-pph-topic', style: { fontSize: 'large' } },
|
|
17
|
+
React.createElement("mark", null, "NOTICE")),
|
|
18
|
+
React.createElement("div", null, "ONLY turn these on IF you know what you are doing and need them."));
|
|
19
|
+
//# sourceMappingURL=Warnings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Warnings.js","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/pages/Warnings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,CAAC,6CAA6C,CAAC,CAAC;AAEvD,MAAM,CAAC,MAAM,kBAAkB,GAAG,6BAAK,KAAK,EAAE,EAAC,QAAQ,EAAE,OAAO,EAAE;IAChE,6BAAK,SAAS,EAAG,eAAe,EAAG,KAAK,EAAE,EAAC,QAAQ,EAAE,OAAO,EAAE;QAAE,2CAAmB,CAAM;IACzF,gIAAuG;IACvG;;QAAW,wFAA6D;YAAO;IAC/E,yFAAgE;IAChE;QAAK,4EAAiD;4FAAuF,CACzI,CAAC;AAEP,MAAM,CAAC,MAAM,gBAAgB,GAAG,6BAAK,KAAK,EAAE,EAAC,QAAQ,EAAE,OAAO,EAAE;IAC9D,6BAAK,SAAS,EAAG,eAAe,EAAG,KAAK,EAAE,EAAC,QAAQ,EAAE,OAAO,EAAE;QAAE,2CAAmB,CAAM;IACzF,oGAA2E,CACvE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=zTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zTemplate.d.ts","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/pages/zTemplate.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// import * as React from 'react';
|
|
2
|
+
// import { Icon, } from 'office-ui-fabric-react/lib/Icon';
|
|
3
|
+
// This should be loaded locally in the project only once
|
|
4
|
+
// require('./PropPanelHelp.css');
|
|
5
|
+
// import { PivotItem, } from 'office-ui-fabric-react/lib/Pivot';
|
|
6
|
+
// import { defaultBannerCommandStyles, } from "../HelpPanelOnNPM/onNpm/defaults";
|
|
7
|
+
// import { ISitePreConfigProps, } from '../IPreConfig';
|
|
8
|
+
// require('@mikezimm/fps-styles/dist/PropPanelHelp.css');
|
|
9
|
+
//# sourceMappingURL=zTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zTemplate.js","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/pages/zTemplate.tsx"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,2DAA2D;AAE3D,yDAAyD;AACzD,kCAAkC;AAElC,iEAAiE;AAEjE,kFAAkF;AAClF,wDAAwD;AACxD,0DAA0D"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type stringOrNull = string | null;
|
|
3
|
+
export declare function adjustCmdStyles(bannerCmdReactCSS: React.CSSProperties, margin: stringOrNull, backgroundColor: stringOrNull, color: stringOrNull, fontSize: stringOrNull, padding: stringOrNull): React.CSSProperties;
|
|
4
|
+
export declare function alvFMCmdStyles(bannerCmdReactCSS: React.CSSProperties): React.CSSProperties;
|
|
5
|
+
export declare function pageInfoCmdStyles(bannerCmdReactCSS: React.CSSProperties): React.CSSProperties;
|
|
6
|
+
/**
|
|
7
|
+
* This is used by ss7 for buttons on Code Page - white buttons, black color for gray canvas
|
|
8
|
+
* Just adjusts the margin on default white/black buttons
|
|
9
|
+
* @param bannerCmdReactCSS
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
export declare function adjustDefaultCmdMargin(margin: stringOrNull): React.CSSProperties;
|
|
13
|
+
/**
|
|
14
|
+
* This is used by ss7 for creating buttons with different colors (like red and yellow)
|
|
15
|
+
* @param margin
|
|
16
|
+
* @param backgroundColor
|
|
17
|
+
* @param color
|
|
18
|
+
* @returns
|
|
19
|
+
*/
|
|
20
|
+
export declare function adjustDefaultCmdColorMargin(margin: stringOrNull, backgroundColor: stringOrNull, color: stringOrNull): React.CSSProperties;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=adjustCmdThemes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adjustCmdThemes.d.ts","sourceRoot":"","sources":["../../../src/common/commandStyles/adjustCmdThemes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,YAAY,GAAG,MAAM,GAAG,IAAI,CAAC;AAElC,wBAAgB,eAAe,CAAE,iBAAiB,EAAE,KAAK,CAAC,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,uBAY/L;AAED,wBAAgB,cAAc,CAAE,iBAAiB,EAAE,KAAK,CAAC,aAAa,GAAI,KAAK,CAAC,aAAa,CAK5F;AAED,wBAAgB,iBAAiB,CAAE,iBAAiB,EAAE,KAAK,CAAC,aAAa,GAAI,KAAK,CAAC,aAAa,CAK/F;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAE,MAAM,EAAE,YAAY,GAAI,KAAK,CAAC,aAAa,CAKlF;AAED;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAE,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,GAAK,KAAK,CAAC,aAAa,CAK5I"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defaultBannerCommandStyles } from './defaults';
|
|
2
|
+
export function adjustCmdStyles(bannerCmdReactCSS, margin, backgroundColor, color, fontSize, padding) {
|
|
3
|
+
const propsCmdCSS = JSON.parse(JSON.stringify(bannerCmdReactCSS));
|
|
4
|
+
if (margin !== null)
|
|
5
|
+
propsCmdCSS.marginLeft = margin;
|
|
6
|
+
if (backgroundColor !== null)
|
|
7
|
+
propsCmdCSS.backgroundColor = backgroundColor;
|
|
8
|
+
if (color !== null)
|
|
9
|
+
propsCmdCSS.color = color;
|
|
10
|
+
if (fontSize !== null)
|
|
11
|
+
propsCmdCSS.fontSize = fontSize;
|
|
12
|
+
if (padding !== null)
|
|
13
|
+
propsCmdCSS.padding = padding;
|
|
14
|
+
return propsCmdCSS;
|
|
15
|
+
}
|
|
16
|
+
export function alvFMCmdStyles(bannerCmdReactCSS) {
|
|
17
|
+
const finalCSS = adjustCmdStyles(bannerCmdReactCSS, '0px 0px 0px 30px', 'transparent', null, '24px', null);
|
|
18
|
+
return finalCSS;
|
|
19
|
+
}
|
|
20
|
+
;
|
|
21
|
+
export function pageInfoCmdStyles(bannerCmdReactCSS) {
|
|
22
|
+
const finalCSS = adjustCmdStyles(bannerCmdReactCSS, '0px 0px 0px 30px', 'transparent', null, null, null);
|
|
23
|
+
return finalCSS;
|
|
24
|
+
}
|
|
25
|
+
;
|
|
26
|
+
/**
|
|
27
|
+
* This is used by ss7 for buttons on Code Page - white buttons, black color for gray canvas
|
|
28
|
+
* Just adjusts the margin on default white/black buttons
|
|
29
|
+
* @param bannerCmdReactCSS
|
|
30
|
+
* @returns
|
|
31
|
+
*/
|
|
32
|
+
export function adjustDefaultCmdMargin(margin) {
|
|
33
|
+
const finalCSS = adjustCmdStyles(defaultBannerCommandStyles, margin, null, null, null, null);
|
|
34
|
+
return finalCSS;
|
|
35
|
+
}
|
|
36
|
+
;
|
|
37
|
+
/**
|
|
38
|
+
* This is used by ss7 for creating buttons with different colors (like red and yellow)
|
|
39
|
+
* @param margin
|
|
40
|
+
* @param backgroundColor
|
|
41
|
+
* @param color
|
|
42
|
+
* @returns
|
|
43
|
+
*/
|
|
44
|
+
export function adjustDefaultCmdColorMargin(margin, backgroundColor, color) {
|
|
45
|
+
const finalCSS = adjustCmdStyles(defaultBannerCommandStyles, margin, backgroundColor, color, null, null);
|
|
46
|
+
return finalCSS;
|
|
47
|
+
}
|
|
48
|
+
;
|
|
49
|
+
//# sourceMappingURL=adjustCmdThemes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adjustCmdThemes.js","sourceRoot":"","sources":["../../../src/common/commandStyles/adjustCmdThemes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAIxD,MAAM,UAAU,eAAe,CAAE,iBAAsC,EAAE,MAAoB,EAAE,eAA6B,EAAE,KAAmB,EAAE,QAAsB,EAAE,OAAqB;IAE9L,MAAM,WAAW,GAAwB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAE,iBAAiB,CAAE,CAAC,CAAC;IAEzF,IAAK,MAAM,KAAK,IAAI;QAAG,WAAW,CAAC,UAAU,GAAG,MAAM,CAAC;IACvD,IAAK,eAAe,KAAK,IAAI;QAAG,WAAW,CAAC,eAAe,GAAG,eAAe,CAAC;IAC9E,IAAK,KAAK,KAAK,IAAI;QAAG,WAAW,CAAC,KAAK,GAAG,KAAK,CAAC;IAChD,IAAK,QAAQ,KAAK,IAAI;QAAG,WAAW,CAAC,QAAQ,GAAG,QAAQ,CAAC;IACzD,IAAK,OAAO,KAAK,IAAI;QAAG,WAAW,CAAC,OAAO,GAAG,OAAO,CAAC;IAEtD,OAAO,WAAW,CAAC;AAErB,CAAC;AAED,MAAM,UAAU,cAAc,CAAE,iBAAsC;IAEpE,MAAM,QAAQ,GAAwB,eAAe,CAAE,iBAAiB,EAAE,kBAAkB,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAE,CAAC;IAClI,OAAO,QAAQ,CAAC;AAElB,CAAC;AAAA,CAAC;AAEF,MAAM,UAAU,iBAAiB,CAAE,iBAAsC;IAEvE,MAAM,QAAQ,GAAwB,eAAe,CAAE,iBAAiB,EAAE,kBAAkB,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAE,CAAC;IAChI,OAAO,QAAQ,CAAC;AAElB,CAAC;AAAA,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,sBAAsB,CAAE,MAAoB;IAE1D,MAAM,QAAQ,GAAwB,eAAe,CAAE,0BAA0B,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAE,CAAC;IACpH,OAAO,QAAQ,CAAC;AAElB,CAAC;AAAA,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,UAAU,2BAA2B,CAAE,MAAoB,EAAE,eAA6B,EAAE,KAAmB;IAEnH,MAAM,QAAQ,GAAwB,eAAe,CAAE,0BAA0B,EAAE,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,CAAE,CAAC;IAChI,OAAO,QAAQ,CAAC;AAElB,CAAC;AAAA,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export declare const defaultBannerCommandStyles: React.CSSProperties;
|
|
3
|
+
export declare const baseBannerStyles: React.CSSProperties;
|
|
4
|
+
export declare const baseBannerCmdStyles: React.CSSProperties;
|
|
5
|
+
export declare const corpDark1: React.CSSProperties;
|
|
6
|
+
export declare const corpWhite1: React.CSSProperties;
|
|
7
|
+
export declare const corpDark2: React.CSSProperties;
|
|
8
|
+
export declare const corpWhite2: React.CSSProperties;
|
|
9
|
+
export declare const redDark: React.CSSProperties;
|
|
10
|
+
export declare const redLight: React.CSSProperties;
|
|
11
|
+
export declare const greenDark: React.CSSProperties;
|
|
12
|
+
export declare const greenLight: React.CSSProperties;
|
|
13
|
+
export declare const ukraine: React.CSSProperties;
|
|
14
|
+
export declare const bannerThemes: React.CSSProperties[];
|
|
15
|
+
export declare const bannerThemeKeys: string[];
|
|
16
|
+
export declare function makeCSSPropPaneString(obj: React.CSSProperties): string;
|
|
17
|
+
export declare function createBannerStyleStr(choice: string, cmdOrBanner: 'cmd' | 'banner'): string;
|
|
18
|
+
export declare function createBannerStyleObj(choice: string, cmdOrBanner: 'cmd' | 'banner'): React.CSSProperties;
|
|
19
|
+
export declare function createBannerStyle(choice: string, cmdOrBanner: 'cmd' | 'banner', asString: boolean): any;
|
|
20
|
+
import { IPropertyPaneDropdownOption } from '@microsoft/sp-property-pane';
|
|
21
|
+
export declare const bannerThemeChoices: IPropertyPaneDropdownOption[];
|
|
22
|
+
export declare const bannerThemeChoicesWSiteTheme: IPropertyPaneDropdownOption[];
|
|
23
|
+
export declare const bannerInfoEleChoices: IPropertyPaneDropdownOption[];
|
|
24
|
+
//# sourceMappingURL=defaults.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/common/commandStyles/defaults.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,0BAA0B,EAAG,KAAK,CAAC,aAW/C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAG,KAAK,CAAC,aAWrC,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAG,KAAK,CAAC,aAWxC,CAAA;AAED,eAAO,MAAM,SAAS,EAAG,KAAK,CAAC,aAE9B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAG,KAAK,CAAC,aAE/B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAG,KAAK,CAAC,aAE9B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAG,KAAK,CAAC,aAE/B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAG,KAAK,CAAC,aAE5B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAG,KAAK,CAAC,aAE7B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAG,KAAK,CAAC,aAE9B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAG,KAAK,CAAC,aAE/B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAG,KAAK,CAAC,aAE5B,CAAC;AAEF,eAAO,MAAM,YAAY,uBAMd,CAAC;AAEZ,eAAO,MAAM,eAAe,UAQ3B,CAAC;AAEF,wBAAgB,qBAAqB,CAAE,GAAG,EAAG,KAAK,CAAC,aAAa,UAK/D;AAED,wBAAgB,oBAAoB,CAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,GAAG,QAAQ,UAGlF;AAED,wBAAgB,oBAAoB,CAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,GAAG,QAAQ,uBAGlF;AAED,wBAAgB,iBAAiB,CAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,GAAG,QAAQ,EAAE,QAAQ,EAAE,OAAO,OAoBlG;AAED,OAAO,EAAG,2BAA2B,EAAI,MAAM,6BAA6B,CAAC;AAE7E,eAAO,MAAM,kBAAkB,EAAE,2BAA2B,EAc3D,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,2BAA2B,EAIrE,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,2BAA2B,EAa7D,CAAC"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
export const defaultBannerCommandStyles = {
|
|
2
|
+
backgroundColor: 'white',
|
|
3
|
+
color: 'black',
|
|
4
|
+
fontSize: 20,
|
|
5
|
+
fontWeight: 'normal',
|
|
6
|
+
fontStyle: 'normal',
|
|
7
|
+
padding: '7px',
|
|
8
|
+
margin: '0px 4px',
|
|
9
|
+
borderRadius: '5px',
|
|
10
|
+
cursor: 'pointer',
|
|
11
|
+
};
|
|
12
|
+
export const baseBannerStyles = {
|
|
13
|
+
color: 'black',
|
|
14
|
+
backgroundColor: '#cfcfcf',
|
|
15
|
+
fontSize: 'larger',
|
|
16
|
+
fontWeight: 600,
|
|
17
|
+
fontStyle: 'normal',
|
|
18
|
+
padding: '0px 10px',
|
|
19
|
+
// margin: '0px 4px',
|
|
20
|
+
height: '48px',
|
|
21
|
+
cursor: 'pointer',
|
|
22
|
+
};
|
|
23
|
+
export const baseBannerCmdStyles = {
|
|
24
|
+
color: 'black',
|
|
25
|
+
backgroundColor: 'white',
|
|
26
|
+
fontSize: 20,
|
|
27
|
+
fontWeight: 'normal',
|
|
28
|
+
fontStyle: 'normal',
|
|
29
|
+
padding: '7px',
|
|
30
|
+
marginRight: '9px',
|
|
31
|
+
borderRadius: '5px',
|
|
32
|
+
cursor: 'pointer',
|
|
33
|
+
};
|
|
34
|
+
export const corpDark1 = {
|
|
35
|
+
backgroundColor: '#005495', color: 'white',
|
|
36
|
+
};
|
|
37
|
+
export const corpWhite1 = {
|
|
38
|
+
backgroundColor: 'white', color: '#005495',
|
|
39
|
+
};
|
|
40
|
+
export const corpDark2 = {
|
|
41
|
+
backgroundColor: '#0078D7', color: 'white',
|
|
42
|
+
};
|
|
43
|
+
export const corpWhite2 = {
|
|
44
|
+
backgroundColor: 'white', color: '#0078D7',
|
|
45
|
+
};
|
|
46
|
+
export const redDark = {
|
|
47
|
+
backgroundColor: '#C80000', color: 'white',
|
|
48
|
+
};
|
|
49
|
+
export const redLight = {
|
|
50
|
+
backgroundColor: 'white', color: '#C80000',
|
|
51
|
+
};
|
|
52
|
+
export const greenDark = {
|
|
53
|
+
backgroundColor: '#147A1E', color: 'white',
|
|
54
|
+
};
|
|
55
|
+
export const greenLight = {
|
|
56
|
+
backgroundColor: 'white', color: '#147A1E',
|
|
57
|
+
};
|
|
58
|
+
export const ukraine = {
|
|
59
|
+
backgroundColor: '#005BBB', color: '#FFD500',
|
|
60
|
+
};
|
|
61
|
+
export const bannerThemes = [
|
|
62
|
+
defaultBannerCommandStyles,
|
|
63
|
+
corpDark1, corpWhite1,
|
|
64
|
+
corpDark2, corpWhite2,
|
|
65
|
+
redDark, redLight,
|
|
66
|
+
greenDark, greenLight,
|
|
67
|
+
ukraine
|
|
68
|
+
];
|
|
69
|
+
export const bannerThemeKeys = [
|
|
70
|
+
'defaultBannerCommandStyles',
|
|
71
|
+
'corpDark1', 'corpWhite1',
|
|
72
|
+
'corpDark2', 'corpWhite2',
|
|
73
|
+
'redDark', 'redLight',
|
|
74
|
+
'greenDark', 'greenLight',
|
|
75
|
+
'ukraine',
|
|
76
|
+
'custom', 'lock',
|
|
77
|
+
];
|
|
78
|
+
export function makeCSSPropPaneString(obj) {
|
|
79
|
+
let result = JSON.stringify(obj ? obj : {});
|
|
80
|
+
result.replace(/'/g, '"');
|
|
81
|
+
return result;
|
|
82
|
+
}
|
|
83
|
+
export function createBannerStyleStr(choice, cmdOrBanner) {
|
|
84
|
+
let result = createBannerStyle(choice, cmdOrBanner, true);
|
|
85
|
+
return result;
|
|
86
|
+
}
|
|
87
|
+
export function createBannerStyleObj(choice, cmdOrBanner) {
|
|
88
|
+
let result = createBannerStyle(choice, cmdOrBanner, false);
|
|
89
|
+
return result;
|
|
90
|
+
}
|
|
91
|
+
export function createBannerStyle(choice, cmdOrBanner, asString) {
|
|
92
|
+
const base = cmdOrBanner === 'cmd' ? baseBannerCmdStyles : baseBannerStyles;
|
|
93
|
+
let baseCSS = JSON.parse(JSON.stringify(base));
|
|
94
|
+
let idx = choice ? bannerThemeKeys.indexOf(choice) : 0;
|
|
95
|
+
if (choice && idx > 0) {
|
|
96
|
+
let themeCSS = JSON.parse(JSON.stringify(bannerThemes[idx]));
|
|
97
|
+
Object.keys(themeCSS).map(key => {
|
|
98
|
+
baseCSS[key] = themeCSS[key];
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
if (asString === true) {
|
|
102
|
+
return makeCSSPropPaneString(baseCSS);
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
return baseCSS;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
export const bannerThemeChoices = [
|
|
109
|
+
{ index: 0, key: 'defaultBannerCommandStyles', text: "Default" },
|
|
110
|
+
{ index: 1, key: 'corpDark1', text: "corpDark1" },
|
|
111
|
+
{ index: 2, key: 'corpWhite1', text: "corpWhite1" },
|
|
112
|
+
{ index: 3, key: 'corpDark2', text: "corpDark2" },
|
|
113
|
+
{ index: 4, key: 'corpWhite2', text: "corpWhite2" },
|
|
114
|
+
{ index: 5, key: 'redDark', text: "redDark" },
|
|
115
|
+
{ index: 6, key: 'redLight', text: "redLight" },
|
|
116
|
+
{ index: 7, key: 'greenDark', text: "greenDark" },
|
|
117
|
+
{ index: 8, key: 'greenLight', text: "greenLight" },
|
|
118
|
+
{ index: 9, key: 'ukraine', text: "Ukraine" },
|
|
119
|
+
{ index: 10, key: 'custom', text: "Custom" },
|
|
120
|
+
{ index: 11, key: 'lock', text: "Lock" },
|
|
121
|
+
];
|
|
122
|
+
export const bannerThemeChoicesWSiteTheme = [
|
|
123
|
+
...bannerThemeChoices,
|
|
124
|
+
{ index: 9, key: 'theme', text: "Site Theme - Web part dependant" },
|
|
125
|
+
];
|
|
126
|
+
export const bannerInfoEleChoices = [
|
|
127
|
+
{ index: 0, key: 'Text', text: "More Information" },
|
|
128
|
+
{ index: 1, key: 'IconName=Unknown', text: "Question mark circle" },
|
|
129
|
+
{ index: 2, key: 'IconName=UnknownSolid', text: "Question mark solid circle" },
|
|
130
|
+
{ index: 3, key: 'IconName=Help', text: "Question mark" },
|
|
131
|
+
{ index: 4, key: 'IconName=ReceiptTentative', text: "Question mark lines" },
|
|
132
|
+
{ index: 5, key: 'IconName=Info', text: "i in circle" },
|
|
133
|
+
{ index: 6, key: 'IconName=InfoSolid', text: "i in solid circle" },
|
|
134
|
+
{ index: 7, key: 'IconName=UnknownCall', text: "Telephone with Question mark" },
|
|
135
|
+
{ index: 8, key: 'IconName=Emoji2', text: "Smiling emoji" },
|
|
136
|
+
{ index: 9, key: 'IconName=Sad', text: "Sad emoji" },
|
|
137
|
+
{ index: 10, key: 'IconName=Education', text: "Education" },
|
|
138
|
+
{ index: 11, key: 'IconName=HandsFree', text: "Hand" },
|
|
139
|
+
];
|
|
140
|
+
//# sourceMappingURL=defaults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../src/common/commandSt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C,EAAI,GAAG,EAAE,kBAAkB,EAAE,IAAI,EAAE,sBAAsB,EAAG;IACxE,EAAI,KAAK,EAAE,CAAC,EAAI,GAAG,EAAE,uBAAuB,EAAE,IAAI,EAAE,4BAA4B,EAAG;IACnF,EAAI,KAAK,EAAE,CAAC,EAAI,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,eAAe,EAAG;IAC9D,EAAI,KAAK,EAAE,CAAC,EAAI,GAAG,EAAE,2BAA2B,EAAE,IAAI,EAAE,qBAAqB,EAAG;IAChF,EAAI,KAAK,EAAE,CAAC,EAAI,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,aAAa,EAAG;IAC5D,EAAI,KAAK,EAAE,CAAC,EAAI,GAAG,EAAE,oBAAoB,EAAE,IAAI,EAAE,mBAAmB,EAAG;IACvE,EAAI,KAAK,EAAE,CAAC,EAAI,GAAG,EAAE,sBAAsB,EAAE,IAAI,EAAE,8BAA8B,EAAG;IACpF,EAAI,KAAK,EAAE,CAAC,EAAI,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,eAAe,EAAG;IAChE,EAAI,KAAK,EAAE,CAAC,EAAI,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,WAAW,EAAG;IACzD,EAAI,KAAK,EAAE,EAAE,EAAI,GAAG,EAAE,oBAAoB,EAAE,IAAI,EAAE,WAAW,EAAG;IAChE,EAAI,KAAK,EAAE,EAAE,EAAI,GAAG,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,EAAG;CAC5D,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare class LegacyPageContextCopy_15_2 {
|
|
2
2
|
readonly isSiteAdmin: boolean;
|
|
3
3
|
readonly userId: string;
|
|
4
|
+
isWebWelcomePage: boolean;
|
|
5
|
+
isSiteOwner: boolean;
|
|
4
6
|
}
|
|
5
7
|
export declare class PageContextCopy_15_2 {
|
|
6
8
|
listItem: {
|
|
@@ -67,5 +69,6 @@ export declare class PageContextCopy_15_2 {
|
|
|
67
69
|
}
|
|
68
70
|
export declare class WebPartContextCopy_15_2 {
|
|
69
71
|
pageContext: PageContextCopy_15_2;
|
|
72
|
+
domElement: any;
|
|
70
73
|
}
|
|
71
74
|
//# sourceMappingURL=WebPartContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebPartContext.d.ts","sourceRoot":"","sources":["../../../../../src/common/interfaces/@msft/1.15.2/WebPartContext.ts"],"names":[],"mappings":"AACA,qBAAa,0BAA0B;IACrC,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"WebPartContext.d.ts","sourceRoot":"","sources":["../../../../../src/common/interfaces/@msft/1.15.2/WebPartContext.ts"],"names":[],"mappings":"AACA,qBAAa,0BAA0B;IACrC,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,qBAAa,oBAAoB;IAE7B,QAAQ,EAAE;QACR,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;KACrB,CAAA;IACD,IAAI,EAAE;QACJ,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;KAEpC,CAAA;IACD,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;QAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC;QAIrC,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;QAClC,mBAAmB,EAAE,OAAO,CAAC;KAC9B,CAAA;IACD,GAAG,EAAE;QACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;QACnC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;QAC1B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QAGzB,WAAW,EAAE,GAAG,CAAC;KAClB,CAAA;IACD,IAAI,EAAE;QAGJ,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;KACrC,CAAA;IACD,WAAW,EAAE;QACX;;;;;;;;;;WAUG;QACD,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;QACpC;;;;;;;;;UASE;QACF,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;KACzC,CAAA;IAED,iBAAiB,EAAE,0BAA0B,CAAC;CACjD;AAGD,qBAAa,uBAAuB;IAElC,WAAW,EAAE,oBAAoB,CAAC;IAClC,UAAU,EAAE,GAAG,CAAC;CACjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebPartContext.js","sourceRoot":"","sources":["../../../../../src/common/interfaces/@msft/1.15.2/WebPartContext.ts"],"names":[],"mappings":"AACA,MAAM,OAAO,0BAA0B;
|
|
1
|
+
{"version":3,"file":"WebPartContext.js","sourceRoot":"","sources":["../../../../../src/common/interfaces/@msft/1.15.2/WebPartContext.ts"],"names":[],"mappings":"AACA,MAAM,OAAO,0BAA0B;CAKtC;AAED,MAAM,OAAO,oBAAoB;CAwEhC;AAGD,MAAM,OAAO,uBAAuB;CAInC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createEasyIconsWPProps.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/EasyIcons/createEasyIconsWPProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,UAAU,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAGjF,wBAAgB,sBAAsB,CAAC,eAAe,EAAE,iBAAiB,GAAG,UAAU,CAerF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EasyIconObjectDefault } from './eiTypes';
|
|
2
|
+
import { getStringArrayFromString } from '../../../logic/indexes/StringsIndex';
|
|
3
|
+
export function createEasyIconsWPProps(easyIconWPProps) {
|
|
4
|
+
const EasyIcons = EasyIconObjectDefault;
|
|
5
|
+
const GroupKeys = getStringArrayFromString(easyIconWPProps.easyIconKeys, ';', true, null, true);
|
|
6
|
+
const Ignore = getStringArrayFromString(easyIconWPProps.easyIconIgnore, ';', true, null, true);
|
|
7
|
+
if (easyIconWPProps)
|
|
8
|
+
EasyIcons.Enabled = easyIconWPProps.easyIconEnable === false ? false : true;
|
|
9
|
+
if (easyIconWPProps)
|
|
10
|
+
EasyIcons.GroupKeys = GroupKeys ? GroupKeys : [];
|
|
11
|
+
if (easyIconWPProps)
|
|
12
|
+
EasyIcons.Ignore = Ignore ? Ignore : [];
|
|
13
|
+
return EasyIcons;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=createEasyIconsWPProps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createEasyIconsWPProps.js","sourceRoot":"","sources":["../../../../src/components/atoms/EasyIcons/createEasyIconsWPProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAiC,MAAM,WAAW,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,MAAM,UAAU,sBAAsB,CAAC,eAAkC;IAEvE,MAAM,SAAS,GAAe,qBAAqB,CAAC;IAEpD,MAAM,SAAS,GAAiB,wBAAwB,CAAC,eAAe,CAAC,YAAY,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC9G,MAAM,MAAM,GAAiB,wBAAwB,CAAC,eAAe,CAAC,cAAc,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAE7G,IAAI,eAAe;QACjB,SAAS,CAAC,OAAO,GAAG,eAAe,CAAC,cAAc,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;IAC9E,IAAI,eAAe;QACjB,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACnD,IAAI,eAAe;QACjB,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IAE1C,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { IEasyIcons
|
|
2
|
-
export declare function setEasyIconsObjectProps(easyIconWPProps: IEasyIconsWPProps): IEasyIcons;
|
|
1
|
+
import { IEasyIcons } from './eiTypes';
|
|
3
2
|
/**
|
|
4
3
|
* Logic order:
|
|
5
4
|
* First checks keywords in the first Prop to test ( Title )
|
|
@@ -10,4 +9,4 @@ export declare function setEasyIconsObjectProps(easyIconWPProps: IEasyIconsWPPro
|
|
|
10
9
|
* @returns
|
|
11
10
|
*/
|
|
12
11
|
export declare function getEasyIcon(EasyIcons: IEasyIcons, item: any): string | null;
|
|
13
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=getEasyIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEasyIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/EasyIcons/getEasyIcon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,UAAU,EAAE,MAAM,WAAW,CAAC;AAEzD;;;;;;;;GAQG;AAGH,wBAAgB,WAAW,CAAC,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,GAAG,MAAM,GAAG,IAAI,CAiC3E"}
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import { EasyIconLocation
|
|
2
|
-
import { getStringArrayFromString } from '../../../logic/indexes/StringsIndex';
|
|
3
|
-
export function setEasyIconsObjectProps(easyIconWPProps) {
|
|
4
|
-
const EasyIcons = EasyIconObjectDefault;
|
|
5
|
-
const GroupKeys = getStringArrayFromString(easyIconWPProps.easyIconKeys, ';', true, null, true);
|
|
6
|
-
const Ignore = getStringArrayFromString(easyIconWPProps.easyIconIgnore, ';', true, null, true);
|
|
7
|
-
if (easyIconWPProps)
|
|
8
|
-
EasyIcons.Enabled = easyIconWPProps.easyIconEnable === false ? false : true;
|
|
9
|
-
if (easyIconWPProps)
|
|
10
|
-
EasyIcons.GroupKeys = GroupKeys ? GroupKeys : [];
|
|
11
|
-
if (easyIconWPProps)
|
|
12
|
-
EasyIcons.Ignore = Ignore ? Ignore : [];
|
|
13
|
-
return EasyIcons;
|
|
14
|
-
}
|
|
1
|
+
import { EasyIconLocation } from './eiTypes';
|
|
15
2
|
/**
|
|
16
3
|
* Logic order:
|
|
17
4
|
* First checks keywords in the first Prop to test ( Title )
|
|
@@ -39,10 +26,10 @@ export function getEasyIcon(EasyIcons, item) {
|
|
|
39
26
|
}
|
|
40
27
|
else if (!EasyIconUrl && EasyIcons.Groups[Key].Status === 'Active') {
|
|
41
28
|
(_a = EasyIcons.Groups[Key]) === null || _a === void 0 ? void 0 : _a.Icons.map((Icon) => {
|
|
42
|
-
var _a;
|
|
43
29
|
if (!EasyIconUrl && Icon) { //Only continue if EasyIconUrl is not found and Icon is a non-empty string
|
|
44
30
|
//Combine all the options into regex as optional qualifiers
|
|
45
|
-
const
|
|
31
|
+
const KeyOptions = EasyIcons.Groups[Key]; // Added this to remove type error in line below where its' possibly undefined
|
|
32
|
+
const Options = KeyOptions.Options ? `(${KeyOptions === null || KeyOptions === void 0 ? void 0 : KeyOptions.Options.join(')?(')})?` : '';
|
|
46
33
|
// eslint-disable-next-line @rushstack/security/no-unsafe-regexp
|
|
47
34
|
const IconRegex = new RegExp(`(\\b)${Icon}${Options}(\\b)`, 'i');
|
|
48
35
|
if (item[prop].match(IconRegex)) {
|
|
@@ -56,4 +43,4 @@ export function getEasyIcon(EasyIcons, item) {
|
|
|
56
43
|
});
|
|
57
44
|
return EasyIconUrl;
|
|
58
45
|
}
|
|
59
|
-
//# sourceMappingURL=
|
|
46
|
+
//# sourceMappingURL=getEasyIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEasyIcon.js","sourceRoot":"","sources":["../../../../src/components/atoms/EasyIcons/getEasyIcon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAc,MAAM,WAAW,CAAC;AAEzD;;;;;;;;GAQG;AACH,8DAA8D;AAE9D,MAAM,UAAU,WAAW,CAAC,SAAqB,EAAE,IAAS;IAE1D,gCAAgC;IAChC,IAAI,SAAS,CAAC,OAAO,KAAK,IAAI;QAC5B,OAAO,IAAI,CAAC;IAEd,MAAM,UAAU,GAAa,EAAE,CAAC;IAChC,IAAI,WAAW,GAAG,EAAE,CAAC;IACrB,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;QAC5B,IAAI,IAAI,CAAC,IAAI,CAAC,EAAE;YACd,SAAS,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;;gBAC5B,IAAI,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;oBACpC,IAAI,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;wBAAE,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;qBAAE;iBAC3D;qBAAM,IAAI,CAAC,WAAW,IAAI,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,QAAQ,EAAE;oBACpE,MAAA,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,0CAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAY,EAAE,EAAE;wBAChD,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE,EAAE,0EAA0E;4BACpG,2DAA2D;4BAC3D,MAAM,UAAU,GAAG,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,8EAA8E;4BACxH,MAAM,OAAO,GAAW,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;4BAC1F,gEAAgE;4BAChE,MAAM,SAAS,GAAG,IAAI,MAAM,CAAC,QAAQ,IAAI,GAAG,OAAO,OAAO,EAAE,GAAG,CAAC,CAAC;4BACjE,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE;gCAC/B,WAAW,GAAG,GAAG,gBAAgB,GAAG,GAAG,IAAI,IAAI,MAAM,CAAC;6BACvD;yBACF;oBACH,CAAC,CAAC,CAAC;iBACJ;YACH,CAAC,CAAC,CAAC;SACJ;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,WAAW,CAAC;AAErB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* Copied from ECStorage
|
|
4
|
+
* Super cool solution based on: https://stackoverflow.com/a/43235785
|
|
5
|
+
* @param text
|
|
6
|
+
* @param highlight
|
|
7
|
+
*/
|
|
8
|
+
export declare function getHighlightedText(text: string, highlight: string): string | JSX.Element;
|
|
9
|
+
//# sourceMappingURL=HighlightedText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HighlightedText.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Elements/HighlightedText.tsx"],"names":[],"mappings":";AAaE;;;;;EAKC;AAEA,wBAAgB,kBAAkB,CAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,wBAenE"}
|