@mikezimm/fps-core-v7 1.0.10 → 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/lib/banner/bannerX/checkCert.d.ts +15 -0
- package/lib/banner/bannerX/checkCert.d.ts.map +1 -0
- package/lib/banner/bannerX/checkCert.js +14 -0
- package/lib/banner/bannerX/checkCert.js.map +1 -0
- package/lib/banner/components/Gear/CreateKeySiteProps.d.ts +10 -0
- package/lib/banner/components/Gear/CreateKeySiteProps.d.ts.map +1 -0
- package/lib/banner/components/Gear/CreateKeySiteProps.js +20 -0
- package/lib/banner/components/Gear/CreateKeySiteProps.js.map +1 -0
- 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/ItemPicker/functions/fetchFileList.d.ts +36 -0
- package/lib/banner/components/ItemPicker/functions/fetchFileList.d.ts.map +1 -0
- package/lib/banner/components/ItemPicker/functions/fetchFileList.js +80 -0
- package/lib/banner/components/ItemPicker/functions/fetchFileList.js.map +1 -0
- package/lib/banner/components/ItemPicker/functions/fetchFileListUniqueIds.d.ts +35 -0
- package/lib/banner/components/ItemPicker/functions/fetchFileListUniqueIds.d.ts.map +1 -0
- package/lib/banner/components/ItemPicker/functions/fetchFileListUniqueIds.js +16 -0
- package/lib/banner/components/ItemPicker/functions/fetchFileListUniqueIds.js.map +1 -0
- package/lib/banner/components/ItemPicker/functions/fetchListList.d.ts +40 -0
- package/lib/banner/components/ItemPicker/functions/fetchListList.d.ts.map +1 -0
- package/lib/banner/components/ItemPicker/functions/fetchListList.js +72 -0
- package/lib/banner/components/ItemPicker/functions/fetchListList.js.map +1 -0
- package/lib/banner/components/ItemPicker/functions/onListItemPickerChanged.d.ts +9 -0
- package/lib/banner/components/ItemPicker/functions/onListItemPickerChanged.d.ts.map +1 -0
- package/lib/banner/components/ItemPicker/functions/onListItemPickerChanged.js +17 -0
- package/lib/banner/components/ItemPicker/functions/onListItemPickerChanged.js.map +1 -0
- package/lib/banner/components/ItemPicker/functions/onListItemPropPaneStart.d.ts +11 -0
- package/lib/banner/components/ItemPicker/functions/onListItemPropPaneStart.d.ts.map +1 -0
- package/lib/banner/components/ItemPicker/functions/onListItemPropPaneStart.js +87 -0
- package/lib/banner/components/ItemPicker/functions/onListItemPropPaneStart.js.map +1 -0
- package/lib/banner/components/ItemPicker/functions/onListPickerChanged.d.ts +8 -0
- package/lib/banner/components/ItemPicker/functions/onListPickerChanged.d.ts.map +1 -0
- package/lib/banner/components/ItemPicker/functions/onListPickerChanged.js +41 -0
- package/lib/banner/components/ItemPicker/functions/onListPickerChanged.js.map +1 -0
- package/lib/banner/components/ItemPicker/functions/onWebUrlPickerValueChanged.d.ts +10 -0
- package/lib/banner/components/ItemPicker/functions/onWebUrlPickerValueChanged.d.ts.map +1 -0
- package/lib/banner/components/ItemPicker/functions/onWebUrlPickerValueChanged.js +46 -0
- package/lib/banner/components/ItemPicker/functions/onWebUrlPickerValueChanged.js.map +1 -0
- package/lib/banner/components/ItemPicker/interfaces/IFPSListItemPickerWPClass.d.ts +5 -0
- package/lib/banner/components/ItemPicker/interfaces/IFPSListItemPickerWPClass.d.ts.map +1 -1
- package/lib/banner/components/ItemPicker/interfaces/IFPSListItemPickerWPClass.js +3 -1
- package/lib/banner/components/ItemPicker/interfaces/IFPSListItemPickerWPClass.js.map +1 -1
- package/lib/banner/components/ItemPicker/interfaces/IFPSListItemPropPaneDropDownOption.d.ts +5 -0
- package/lib/banner/components/ItemPicker/interfaces/IFPSListItemPropPaneDropDownOption.d.ts.map +1 -1
- package/lib/banner/components/ItemPicker/interfaces/IFPSListItemPropPaneDropDownOption.js +3 -1
- package/lib/banner/components/ItemPicker/interfaces/IFPSListItemPropPaneDropDownOption.js.map +1 -1
- 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/Interfaces.d.ts +5 -0
- package/lib/banner/components/VisitorPanel/Interfaces.d.ts.map +1 -1
- package/lib/banner/components/VisitorPanel/Interfaces.js +3 -1
- package/lib/banner/components/VisitorPanel/Interfaces.js.map +1 -1
- package/lib/banner/features/ImportExport/BuildExportPropsX.d.ts +5 -0
- package/lib/banner/features/ImportExport/BuildExportPropsX.d.ts.map +1 -1
- package/lib/banner/features/ImportExport/BuildExportPropsX.js +6 -1
- package/lib/banner/features/ImportExport/BuildExportPropsX.js.map +1 -1
- package/lib/banner/interfaces/MinWP/IMinWPBannerProps.d.ts +5 -0
- package/lib/banner/interfaces/MinWP/IMinWPBannerProps.d.ts.map +1 -1
- package/lib/banner/interfaces/MinWP/IMinWPBannerProps.js +5 -0
- package/lib/banner/interfaces/MinWP/IMinWPBannerProps.js.map +1 -1
- package/lib/banner/mainReact/IWebpartBannerProps.d.ts +155 -0
- package/lib/banner/mainReact/IWebpartBannerProps.d.ts.map +1 -0
- package/lib/banner/mainReact/IWebpartBannerProps.js +8 -0
- package/lib/banner/mainReact/IWebpartBannerProps.js.map +1 -0
- package/lib/banner/mainReact/ReactComponentProps.d.ts +25 -0
- package/lib/banner/mainReact/ReactComponentProps.d.ts.map +1 -0
- package/lib/banner/mainReact/ReactComponentProps.js +7 -0
- package/lib/banner/mainReact/ReactComponentProps.js.map +1 -0
- package/lib/banner/mainReact/ReactComponentState.d.ts +32 -0
- package/lib/banner/mainReact/ReactComponentState.d.ts.map +1 -0
- package/lib/banner/mainReact/ReactComponentState.js +7 -0
- package/lib/banner/mainReact/ReactComponentState.js.map +1 -0
- package/lib/common/Pivots/PivotOptions.d.ts +16 -0
- package/lib/common/Pivots/PivotOptions.d.ts.map +1 -0
- package/lib/common/Pivots/PivotOptions.js +37 -0
- package/lib/common/Pivots/PivotOptions.js.map +1 -0
- package/lib/common/Pivots/Types.d.ts +4 -0
- package/lib/common/Pivots/Types.d.ts.map +1 -0
- package/lib/common/Pivots/Types.js +2 -0
- package/lib/common/Pivots/Types.js.map +1 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeSliderOptions10YearPart.d.ts +4 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeSliderOptions10YearPart.d.ts.map +1 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeSliderOptions10YearPart.js +12 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeSliderOptions10YearPart.js.map +1 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeSliderOptions5YearPart.d.ts +4 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeSliderOptions5YearPart.d.ts.map +1 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeSliderOptions5YearPart.js +13 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeSliderOptions5YearPart.js.map +1 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeSliderOptions7YearPart.d.ts +4 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeSliderOptions7YearPart.d.ts.map +1 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeSliderOptions7YearPart.js +11 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeSliderOptions7YearPart.js.map +1 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeTypes.d.ts +23 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeTypes.d.ts.map +1 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeTypes.js +34 -0
- package/lib/components/atoms/FPSAgeSlider/FPSAgeTypes.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/Icons/IFPSAppIcons.d.ts +27 -0
- package/lib/components/atoms/Icons/IFPSAppIcons.d.ts.map +1 -0
- package/lib/components/atoms/Icons/IFPSAppIcons.js +34 -0
- package/lib/components/atoms/Icons/IFPSAppIcons.js.map +1 -0
- package/lib/components/atoms/Icons/getIconStyles.d.ts +11 -0
- package/lib/components/atoms/Icons/getIconStyles.d.ts.map +1 -0
- package/lib/components/atoms/Icons/getIconStyles.js +38 -0
- package/lib/components/atoms/Icons/getIconStyles.js.map +1 -0
- package/lib/components/atoms/Icons/iconNames.d.ts +71 -0
- package/lib/components/atoms/Icons/iconNames.d.ts.map +1 -0
- package/lib/components/atoms/Icons/iconNames.js +72 -0
- package/lib/components/atoms/Icons/iconNames.js.map +1 -0
- package/lib/components/atoms/Icons/stdECStorage.d.ts +36 -0
- package/lib/components/atoms/Icons/stdECStorage.d.ts.map +1 -0
- package/lib/components/atoms/Icons/stdECStorage.js +119 -0
- package/lib/components/atoms/Icons/stdECStorage.js.map +1 -0
- package/lib/components/atoms/SVGIcons/JiraIcon.d.ts +2 -0
- package/lib/components/atoms/SVGIcons/JiraIcon.d.ts.map +1 -0
- package/lib/components/atoms/SVGIcons/JiraIcon.js +2 -0
- package/lib/components/atoms/SVGIcons/JiraIcon.js.map +1 -0
- 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/atoms/SVGIcons/defaultHubIcon.d.ts +16 -0
- package/lib/components/atoms/SVGIcons/defaultHubIcon.d.ts.map +1 -0
- package/lib/components/atoms/SVGIcons/defaultHubIcon.js +17 -0
- package/lib/components/atoms/SVGIcons/defaultHubIcon.js.map +1 -0
- package/lib/components/atoms/SVGIcons/defaultHubIcon2.d.ts +16 -0
- package/lib/components/atoms/SVGIcons/defaultHubIcon2.d.ts.map +1 -0
- package/lib/components/atoms/SVGIcons/defaultHubIcon2.js +17 -0
- package/lib/components/atoms/SVGIcons/defaultHubIcon2.js.map +1 -0
- package/lib/components/atoms/SVGIcons/fpsIcon125.d.ts +16 -0
- package/lib/components/atoms/SVGIcons/fpsIcon125.d.ts.map +1 -0
- package/lib/components/atoms/SVGIcons/fpsIcon125.js +17 -0
- package/lib/components/atoms/SVGIcons/fpsIcon125.js.map +1 -0
- package/lib/components/atoms/SVGIcons/fpsLogo125.d.ts +16 -0
- package/lib/components/atoms/SVGIcons/fpsLogo125.d.ts.map +1 -0
- package/lib/components/atoms/SVGIcons/fpsLogo125.js +17 -0
- package/lib/components/atoms/SVGIcons/fpsLogo125.js.map +1 -0
- package/lib/components/atoms/SVGIcons/fpsLogo326.d.ts +16 -0
- package/lib/components/atoms/SVGIcons/fpsLogo326.d.ts.map +1 -0
- package/lib/components/atoms/SVGIcons/fpsLogo326.js +17 -0
- package/lib/components/atoms/SVGIcons/fpsLogo326.js.map +1 -0
- package/lib/components/atoms/SharedItems/IItemWithSharingInfo.d.ts +112 -0
- package/lib/components/atoms/SharedItems/IItemWithSharingInfo.d.ts.map +1 -0
- package/lib/components/atoms/SharedItems/IItemWithSharingInfo.js +32 -0
- package/lib/components/atoms/SharedItems/IItemWithSharingInfo.js.map +1 -0
- package/lib/components/atoms/SharedItems/IKnownMeta.d.ts +6 -0
- package/lib/components/atoms/SharedItems/IKnownMeta.d.ts.map +1 -0
- package/lib/components/atoms/SharedItems/IKnownMeta.js +6 -0
- package/lib/components/atoms/SharedItems/IKnownMeta.js.map +1 -0
- package/lib/components/atoms/SharedItems/openLinkInNewTabUsingDatahref.d.ts +2 -0
- package/lib/components/atoms/SharedItems/openLinkInNewTabUsingDatahref.d.ts.map +1 -0
- package/lib/components/atoms/SharedItems/openLinkInNewTabUsingDatahref.js +9 -0
- package/lib/components/atoms/SharedItems/openLinkInNewTabUsingDatahref.js.map +1 -0
- package/lib/components/atoms/SharedItems/processSharedItems.d.ts +14 -0
- package/lib/components/atoms/SharedItems/processSharedItems.d.ts.map +1 -0
- package/lib/components/atoms/SharedItems/processSharedItems.js +88 -0
- package/lib/components/atoms/SharedItems/processSharedItems.js.map +1 -0
- package/lib/components/atoms/Suggestions/ISuggestion.d.ts +14 -0
- package/lib/components/atoms/Suggestions/ISuggestion.d.ts.map +1 -0
- package/lib/components/atoms/Suggestions/ISuggestion.js +5 -0
- package/lib/components/atoms/Suggestions/ISuggestion.js.map +1 -0
- package/lib/components/atoms/Suggestions/SuggestionsSample-Labels.d.ts +17 -0
- package/lib/components/atoms/Suggestions/SuggestionsSample-Labels.d.ts.map +1 -0
- package/lib/components/atoms/Suggestions/SuggestionsSample-Labels.js +89 -0
- package/lib/components/atoms/Suggestions/SuggestionsSample-Labels.js.map +1 -0
- package/lib/components/atoms/Suggestions/convertSugsLC.d.ts +10 -0
- package/lib/components/atoms/Suggestions/convertSugsLC.d.ts.map +1 -0
- package/lib/components/atoms/Suggestions/convertSugsLC.js +32 -0
- package/lib/components/atoms/Suggestions/convertSugsLC.js.map +1 -0
- package/lib/components/atoms/Suggestions/excludePrepositions.d.ts +5 -0
- package/lib/components/atoms/Suggestions/excludePrepositions.d.ts.map +1 -0
- package/lib/components/atoms/Suggestions/excludePrepositions.js +39 -0
- package/lib/components/atoms/Suggestions/excludePrepositions.js.map +1 -0
- package/lib/components/atoms/Suggestions/getSuggestionsByKeys.d.ts +10 -0
- package/lib/components/atoms/Suggestions/getSuggestionsByKeys.d.ts.map +1 -0
- package/lib/components/atoms/Suggestions/getSuggestionsByKeys.js +72 -0
- package/lib/components/atoms/Suggestions/getSuggestionsByKeys.js.map +1 -0
- package/lib/components/atoms/TeachBubble/IMinTeachBubble.d.ts +20 -0
- package/lib/components/atoms/TeachBubble/IMinTeachBubble.d.ts.map +1 -0
- package/lib/components/atoms/TeachBubble/IMinTeachBubble.js +13 -0
- package/lib/components/atoms/TeachBubble/IMinTeachBubble.js.map +1 -0
- package/lib/components/atoms/TeachBubble/SampleTeachBubbles.d.ts +4 -0
- package/lib/components/atoms/TeachBubble/SampleTeachBubbles.d.ts.map +1 -0
- package/lib/components/atoms/TeachBubble/SampleTeachBubbles.js +33 -0
- package/lib/components/atoms/TeachBubble/SampleTeachBubbles.js.map +1 -0
- package/lib/components/atoms/TeachBubble/getTeacher.d.ts +15 -0
- package/lib/components/atoms/TeachBubble/getTeacher.d.ts.map +1 -0
- package/lib/components/atoms/TeachBubble/getTeacher.js +28 -0
- package/lib/components/atoms/TeachBubble/getTeacher.js.map +1 -0
- package/lib/components/atoms/WordSummary/IWordSummary.d.ts +35 -0
- package/lib/components/atoms/WordSummary/IWordSummary.d.ts.map +1 -0
- package/lib/components/atoms/WordSummary/IWordSummary.js +8 -0
- package/lib/components/atoms/WordSummary/IWordSummary.js.map +1 -0
- package/lib/components/atoms/WordSummary/buildWordSummary.d.ts +11 -0
- package/lib/components/atoms/WordSummary/buildWordSummary.d.ts.map +1 -0
- package/lib/components/atoms/WordSummary/buildWordSummary.js +90 -0
- package/lib/components/atoms/WordSummary/buildWordSummary.js.map +1 -0
- package/lib/components/webparts/CSSCharts/ICSSCharts.d.ts +83 -0
- package/lib/components/webparts/CSSCharts/ICSSCharts.d.ts.map +1 -0
- package/lib/components/webparts/CSSCharts/ICSSCharts.js +2 -0
- package/lib/components/webparts/CSSCharts/ICSSCharts.js.map +1 -0
- package/lib/components/webparts/CSSCharts/themes.d.ts +6 -0
- package/lib/components/webparts/CSSCharts/themes.d.ts.map +1 -0
- package/lib/components/webparts/CSSCharts/themes.js +13 -0
- package/lib/components/webparts/CSSCharts/themes.js.map +1 -0
- package/lib/components/webparts/CarrotCharts/IFoamTree.d.ts +203 -0
- package/lib/components/webparts/CarrotCharts/IFoamTree.d.ts.map +1 -0
- package/lib/components/webparts/CarrotCharts/IFoamTree.js +21 -0
- package/lib/components/webparts/CarrotCharts/IFoamTree.js.map +1 -0
- package/lib/components/webparts/CarrotCharts/IFoamTreeDefaults.d.ts +223 -0
- package/lib/components/webparts/CarrotCharts/IFoamTreeDefaults.d.ts.map +1 -0
- package/lib/components/webparts/CarrotCharts/IFoamTreeDefaults.js +204 -0
- package/lib/components/webparts/CarrotCharts/IFoamTreeDefaults.js.map +1 -0
- package/lib/components/webparts/Drilldown/IDrillItem.d.ts +46 -0
- package/lib/components/webparts/Drilldown/IDrillItem.d.ts.map +1 -0
- package/lib/components/webparts/Drilldown/IDrillItem.js +7 -0
- package/lib/components/webparts/Drilldown/IDrillItem.js.map +1 -0
- package/lib/components/webparts/Drilldown/QuickCommands/ConstantsTMT.d.ts +32 -0
- package/lib/components/webparts/Drilldown/QuickCommands/ConstantsTMT.d.ts.map +1 -0
- package/lib/components/webparts/Drilldown/QuickCommands/ConstantsTMT.js +31 -0
- package/lib/components/webparts/Drilldown/QuickCommands/ConstantsTMT.js.map +1 -0
- package/lib/components/webparts/Drilldown/QuickCommands/IFieldDef.d.ts +12 -0
- package/lib/components/webparts/Drilldown/QuickCommands/IFieldDef.d.ts.map +1 -0
- package/lib/components/webparts/Drilldown/QuickCommands/IFieldDef.js +3 -0
- package/lib/components/webparts/Drilldown/QuickCommands/IFieldDef.js.map +1 -0
- package/lib/components/webparts/Drilldown/QuickCommands/IQuickCommands.d.ts +75 -0
- package/lib/components/webparts/Drilldown/QuickCommands/IQuickCommands.d.ts.map +1 -0
- package/lib/components/webparts/Drilldown/QuickCommands/IQuickCommands.js +24 -0
- package/lib/components/webparts/Drilldown/QuickCommands/IQuickCommands.js.map +1 -0
- package/lib/components/webparts/Drilldown/Refiners/IRefiners.d.ts +153 -0
- package/lib/components/webparts/Drilldown/Refiners/IRefiners.d.ts.map +1 -0
- package/lib/components/webparts/Drilldown/Refiners/IRefiners.js +35 -0
- package/lib/components/webparts/Drilldown/Refiners/IRefiners.js.map +1 -0
- package/lib/components/webparts/Drilldown/Refiners/functions.d.ts +8 -0
- package/lib/components/webparts/Drilldown/Refiners/functions.d.ts.map +1 -0
- package/lib/components/webparts/Drilldown/Refiners/functions.js +12 -0
- package/lib/components/webparts/Drilldown/Refiners/functions.js.map +1 -0
- package/lib/logic/Links/Navigation.d.ts +9 -0
- package/lib/logic/Links/Navigation.d.ts.map +1 -0
- package/lib/logic/Links/Navigation.js +22 -0
- package/lib/logic/Links/Navigation.js.map +1 -0
- package/lib/logic/Links/UrlFunctions.d.ts +50 -0
- package/lib/logic/Links/UrlFunctions.d.ts.map +1 -0
- package/lib/logic/Links/UrlFunctions.js +148 -0
- package/lib/logic/Links/UrlFunctions.js.map +1 -0
- package/lib/logic/Links/getAllDomainsFromUrls.d.ts +2 -0
- package/lib/logic/Links/getAllDomainsFromUrls.d.ts.map +1 -0
- package/lib/logic/Links/getAllDomainsFromUrls.js +75 -0
- package/lib/logic/Links/getAllDomainsFromUrls.js.map +1 -0
- package/lib/logic/Links/getDomainTypeFromUrl.d.ts +19 -0
- package/lib/logic/Links/getDomainTypeFromUrl.d.ts.map +1 -0
- package/lib/logic/Links/getDomainTypeFromUrl.js +73 -0
- package/lib/logic/Links/getDomainTypeFromUrl.js.map +1 -0
- package/lib/logic/Links/getDomains.d.ts +28 -0
- package/lib/logic/Links/getDomains.d.ts.map +1 -0
- package/lib/logic/Links/getDomains.js +41 -0
- package/lib/logic/Links/getDomains.js.map +1 -0
- package/lib/logic/Links/getSPOUrl.d.ts +39 -0
- package/lib/logic/Links/getSPOUrl.d.ts.map +1 -0
- package/lib/logic/Links/getSPOUrl.js +60 -0
- package/lib/logic/Links/getSPOUrl.js.map +1 -0
- package/lib/logic/Randomize/functions.d.ts +38 -0
- package/lib/logic/Randomize/functions.d.ts.map +1 -0
- package/lib/logic/Randomize/functions.js +70 -0
- package/lib/logic/Randomize/functions.js.map +1 -0
- package/lib/logic/Regex/constants.d.ts +15 -0
- package/lib/logic/Regex/constants.d.ts.map +1 -0
- package/lib/logic/Regex/constants.js +23 -0
- package/lib/logic/Regex/constants.js.map +1 -0
- package/lib/logic/Strings/choiceKeys.d.ts +35 -0
- package/lib/logic/Strings/choiceKeys.d.ts.map +1 -0
- package/lib/logic/Strings/choiceKeys.js +60 -0
- package/lib/logic/Strings/choiceKeys.js.map +1 -0
- 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/drillParse/constants.d.ts +2 -0
- package/lib/logic/Strings/drillParse/constants.d.ts.map +1 -0
- package/lib/logic/Strings/drillParse/constants.js +2 -0
- package/lib/logic/Strings/drillParse/constants.js.map +1 -0
- package/lib/logic/Strings/drillParse/convertNumbers.d.ts +19 -0
- package/lib/logic/Strings/drillParse/convertNumbers.d.ts.map +1 -0
- package/lib/logic/Strings/drillParse/convertNumbers.js +84 -0
- package/lib/logic/Strings/drillParse/convertNumbers.js.map +1 -0
- package/lib/logic/Strings/drillParse/convertUTCTime.d.ts +15 -0
- package/lib/logic/Strings/drillParse/convertUTCTime.d.ts.map +1 -0
- package/lib/logic/Strings/drillParse/convertUTCTime.js +107 -0
- package/lib/logic/Strings/drillParse/convertUTCTime.js.map +1 -0
- package/lib/logic/Strings/drillParse/createItemFunctionProp.d.ts +31 -0
- package/lib/logic/Strings/drillParse/createItemFunctionProp.d.ts.map +1 -0
- package/lib/logic/Strings/drillParse/createItemFunctionProp.js +352 -0
- package/lib/logic/Strings/drillParse/createItemFunctionProp.js.map +1 -0
- package/lib/logic/Strings/drillParse/get1stDigitFromString.d.ts +7 -0
- package/lib/logic/Strings/drillParse/get1stDigitFromString.d.ts.map +1 -0
- package/lib/logic/Strings/drillParse/get1stDigitFromString.js +10 -0
- package/lib/logic/Strings/drillParse/get1stDigitFromString.js.map +1 -0
- package/lib/logic/Strings/drillParse/getLetterBuckets.d.ts +11 -0
- package/lib/logic/Strings/drillParse/getLetterBuckets.d.ts.map +1 -0
- package/lib/logic/Strings/drillParse/getLetterBuckets.js +37 -0
- package/lib/logic/Strings/drillParse/getLetterBuckets.js.map +1 -0
- package/lib/logic/Strings/drillParse/getWords.d.ts +46 -0
- package/lib/logic/Strings/drillParse/getWords.d.ts.map +1 -0
- package/lib/logic/Strings/drillParse/getWords.js +106 -0
- package/lib/logic/Strings/drillParse/getWords.js.map +1 -0
- package/lib/logic/Strings/drillParse/trimAfter.d.ts +23 -0
- package/lib/logic/Strings/drillParse/trimAfter.d.ts.map +1 -0
- package/lib/logic/Strings/drillParse/trimAfter.js +77 -0
- package/lib/logic/Strings/drillParse/trimAfter.js.map +1 -0
- package/lib/logic/Strings/drillParse/trimB4.d.ts +24 -0
- package/lib/logic/Strings/drillParse/trimB4.d.ts.map +1 -0
- package/lib/logic/Strings/drillParse/trimB4.js +64 -0
- package/lib/logic/Strings/drillParse/trimB4.js.map +1 -0
- package/lib/logic/Strings/evalParse/basicParse.d.ts +8 -0
- package/lib/logic/Strings/evalParse/basicParse.d.ts.map +1 -0
- package/lib/logic/Strings/evalParse/basicParse.js +29 -0
- package/lib/logic/Strings/evalParse/basicParse.js.map +1 -0
- package/lib/logic/Strings/evalParse/parseTodayXExpression.d.ts +17 -0
- package/lib/logic/Strings/evalParse/parseTodayXExpression.d.ts.map +1 -0
- package/lib/logic/Strings/evalParse/parseTodayXExpression.js +40 -0
- package/lib/logic/Strings/evalParse/parseTodayXExpression.js.map +1 -0
- package/lib/logic/Strings/filtering.d.ts +7 -0
- package/lib/logic/Strings/filtering.d.ts.map +1 -0
- package/lib/logic/Strings/filtering.js +55 -0
- package/lib/logic/Strings/filtering.js.map +1 -0
- package/lib/logic/Strings/getGroupStrings/getGroupByDate.d.ts +15 -0
- package/lib/logic/Strings/getGroupStrings/getGroupByDate.d.ts.map +1 -0
- package/lib/logic/Strings/getGroupStrings/getGroupByDate.js +60 -0
- package/lib/logic/Strings/getGroupStrings/getGroupByDate.js.map +1 -0
- package/lib/logic/Strings/getGroupStrings/getGroupByNumber.d.ts +12 -0
- package/lib/logic/Strings/getGroupStrings/getGroupByNumber.d.ts.map +1 -0
- package/lib/logic/Strings/getGroupStrings/getGroupByNumber.js +169 -0
- package/lib/logic/Strings/getGroupStrings/getGroupByNumber.js.map +1 -0
- package/lib/logic/Strings/getGroupStrings/getRefinerFromField.d.ts +15 -0
- package/lib/logic/Strings/getGroupStrings/getRefinerFromField.d.ts.map +1 -0
- package/lib/logic/Strings/getGroupStrings/getRefinerFromField.js +67 -0
- package/lib/logic/Strings/getGroupStrings/getRefinerFromField.js.map +1 -0
- package/lib/logic/Strings/handleBarsContext.d.ts +1 -0
- package/lib/logic/Strings/handleBarsContext.d.ts.map +1 -0
- package/lib/logic/Strings/handleBarsContext.js +64 -0
- package/lib/logic/Strings/handleBarsContext.js.map +1 -0
- package/lib/logic/Strings/handleBarsHTML.d.ts +41 -0
- package/lib/logic/Strings/handleBarsHTML.d.ts.map +1 -0
- package/lib/logic/Strings/handleBarsHTML.js +76 -0
- package/lib/logic/Strings/handleBarsHTML.js.map +1 -0
- package/lib/logic/Strings/handleBarsSub.d.ts +11 -0
- package/lib/logic/Strings/handleBarsSub.d.ts.map +1 -0
- package/lib/logic/Strings/handleBarsSub.js +37 -0
- package/lib/logic/Strings/handleBarsSub.js.map +1 -0
- package/lib/logic/Strings/html.d.ts +14 -0
- package/lib/logic/Strings/html.d.ts.map +1 -0
- package/lib/logic/Strings/html.js +40 -0
- package/lib/logic/Strings/html.js.map +1 -0
- package/lib/logic/Strings/htmlV2.d.ts +44 -0
- package/lib/logic/Strings/htmlV2.d.ts.map +1 -0
- package/lib/logic/Strings/htmlV2.js +158 -0
- package/lib/logic/Strings/htmlV2.js.map +1 -0
- package/lib/logic/Strings/splitHash.d.ts +12 -0
- package/lib/logic/Strings/splitHash.d.ts.map +1 -0
- package/lib/logic/Strings/splitHash.js +33 -0
- package/lib/logic/Strings/splitHash.js.map +1 -0
- package/lib/logic/Time/IFPSDateLanguageObject.d.ts +5 -0
- package/lib/logic/Time/IFPSDateLanguageObject.d.ts.map +1 -0
- package/lib/logic/Time/IFPSDateLanguageObject.js +2 -0
- package/lib/logic/Time/IFPSDateLanguageObject.js.map +1 -0
- package/lib/logic/Time/IFPSDateLaunguages.d.ts +3 -0
- package/lib/logic/Time/IFPSDateLaunguages.d.ts.map +1 -0
- package/lib/logic/Time/IFPSDateLaunguages.js +4 -0
- package/lib/logic/Time/IFPSDateLaunguages.js.map +1 -0
- package/lib/logic/Time/Interfaces.d.ts +53 -0
- package/lib/logic/Time/Interfaces.d.ts.map +1 -0
- package/lib/logic/Time/Interfaces.js +3 -0
- package/lib/logic/Time/Interfaces.js.map +1 -0
- package/lib/logic/Time/checks.d.ts +2 -0
- package/lib/logic/Time/checks.d.ts.map +1 -0
- package/lib/logic/Time/checks.js +23 -0
- package/lib/logic/Time/checks.js.map +1 -0
- package/lib/logic/Time/dayLabels.d.ts +4 -0
- package/lib/logic/Time/dayLabels.d.ts.map +1 -0
- package/lib/logic/Time/dayLabels.js +22 -0
- package/lib/logic/Time/dayLabels.js.map +1 -0
- package/lib/logic/Time/deltas.d.ts +35 -0
- package/lib/logic/Time/deltas.d.ts.map +1 -0
- package/lib/logic/Time/deltas.js +183 -0
- package/lib/logic/Time/deltas.js.map +1 -0
- package/lib/logic/Time/getFPSPrefNavLang.d.ts +3 -0
- package/lib/logic/Time/getFPSPrefNavLang.d.ts.map +1 -0
- package/lib/logic/Time/getFPSPrefNavLang.js +15 -0
- package/lib/logic/Time/getFPSPrefNavLang.js.map +1 -0
- package/lib/logic/Time/getLabels.d.ts +12 -0
- package/lib/logic/Time/getLabels.d.ts.map +1 -0
- package/lib/logic/Time/getLabels.js +43 -0
- package/lib/logic/Time/getLabels.js.map +1 -0
- package/lib/logic/Time/getMMMDD.d.ts +1 -0
- package/lib/logic/Time/getMMMDD.d.ts.map +1 -0
- package/lib/logic/Time/getMMMDD.js +1 -0
- package/lib/logic/Time/getMMMDD.js.map +1 -0
- package/lib/logic/Time/monthLabels.d.ts +6 -0
- package/lib/logic/Time/monthLabels.d.ts.map +1 -0
- package/lib/logic/Time/monthLabels.js +34 -0
- package/lib/logic/Time/monthLabels.js.map +1 -0
- package/lib/logic/Time/monthStrOldKeys.d.ts +20 -0
- package/lib/logic/Time/monthStrOldKeys.d.ts.map +1 -0
- package/lib/logic/Time/monthStrOldKeys.js +21 -0
- package/lib/logic/Time/monthStrOldKeys.js.map +1 -0
- package/lib/logic/Time/monthStrings.d.ts +9 -0
- package/lib/logic/Time/monthStrings.d.ts.map +1 -0
- package/lib/logic/Time/monthStrings.js +36 -0
- package/lib/logic/Time/monthStrings.js.map +1 -0
- package/lib/logic/Time/personalize.d.ts +9 -0
- package/lib/logic/Time/personalize.d.ts.map +1 -0
- package/lib/logic/Time/personalize.js +74 -0
- package/lib/logic/Time/personalize.js.map +1 -0
- package/lib/logic/Time/smallTimeObject.d.ts +10 -0
- package/lib/logic/Time/smallTimeObject.d.ts.map +1 -0
- package/lib/logic/Time/smallTimeObject.js +50 -0
- package/lib/logic/Time/smallTimeObject.js.map +1 -0
- package/lib/logic/Time/timeObject.d.ts +10 -0
- package/lib/logic/Time/timeObject.d.ts.map +1 -0
- package/lib/logic/Time/timeObject.js +122 -0
- package/lib/logic/Time/timeObject.js.map +1 -0
- package/lib/logic/Time/weeks.d.ts +54 -0
- package/lib/logic/Time/weeks.d.ts.map +1 -0
- package/lib/logic/Time/weeks.js +105 -0
- package/lib/logic/Time/weeks.js.map +1 -0
- package/lib/logic/Time/yearsArray.d.ts +36 -0
- package/lib/logic/Time/yearsArray.d.ts.map +1 -0
- package/lib/logic/Time/yearsArray.js +47 -0
- package/lib/logic/Time/yearsArray.js.map +1 -0
- package/lib/logic/Types/typeServices.d.ts +7 -0
- package/lib/logic/Types/typeServices.d.ts.map +1 -0
- package/lib/logic/Types/typeServices.js +55 -0
- package/lib/logic/Types/typeServices.js.map +1 -0
- package/lib/types/@fluentUI/@7.199.1/Panel.d.ts +86 -0
- package/lib/types/@fluentUI/@7.199.1/Panel.d.ts.map +1 -0
- package/lib/types/@fluentUI/@7.199.1/Panel.js +4 -0
- package/lib/types/@fluentUI/@7.199.1/Panel.js.map +1 -0
- package/lib/types/@msft/1.15.2/sp-property-pane.d.ts +144 -0
- package/lib/types/@msft/1.15.2/sp-property-pane.d.ts.map +1 -1
- package/lib/types/fps-common/AudienceInterfaces.d.ts +22 -0
- package/lib/types/fps-common/AudienceInterfaces.d.ts.map +1 -0
- package/lib/types/fps-common/AudienceInterfaces.js +28 -0
- package/lib/types/fps-common/AudienceInterfaces.js.map +1 -0
- package/lib/types/fps-common/IFPSBasicToggleSetting.d.ts +5 -0
- package/lib/types/fps-common/IFPSBasicToggleSetting.d.ts.map +1 -0
- package/lib/types/fps-common/IFPSBasicToggleSetting.js +2 -0
- package/lib/types/fps-common/IFPSBasicToggleSetting.js.map +1 -0
- package/lib/types/fps-common/IFPSPropPaneField.d.ts +12 -0
- package/lib/types/fps-common/IFPSPropPaneField.d.ts.map +1 -0
- package/lib/types/fps-common/IFPSPropPaneField.js +2 -0
- package/lib/types/fps-common/IFPSPropPaneField.js.map +1 -0
- package/lib/types/fps-common/IMyInterfaces.d.ts +69 -0
- package/lib/types/fps-common/IMyInterfaces.d.ts.map +1 -0
- package/lib/types/fps-common/IMyInterfaces.js +28 -0
- package/lib/types/fps-common/IMyInterfaces.js.map +1 -0
- package/lib/types/fps-common/IzPivots.d.ts +20 -0
- package/lib/types/fps-common/IzPivots.d.ts.map +1 -0
- package/lib/types/fps-common/IzPivots.js +2 -0
- package/lib/types/fps-common/IzPivots.js.map +1 -0
- package/lib/types/fps-common/Picked/IListInterfaces.d.ts +1 -0
- package/lib/types/fps-common/Picked/IListInterfaces.d.ts.map +1 -0
- package/lib/types/fps-common/Picked/IListInterfaces.js +6 -0
- package/lib/types/fps-common/Picked/IListInterfaces.js.map +1 -0
- package/lib/types/fps-common/Picked/IPickedList.d.ts +7 -0
- package/lib/types/fps-common/Picked/IPickedList.d.ts.map +1 -0
- package/lib/types/fps-common/Picked/IPickedList.js +2 -0
- package/lib/types/fps-common/Picked/IPickedList.js.map +1 -0
- package/lib/types/fps-common/Picked/IPickedView.d.ts +6 -0
- package/lib/types/fps-common/Picked/IPickedView.d.ts.map +1 -0
- package/lib/types/fps-common/Picked/IPickedView.js +2 -0
- package/lib/types/fps-common/Picked/IPickedView.js.map +1 -0
- package/lib/types/fps-common/Picked/IPickedWebBasic.d.ts +11 -0
- package/lib/types/fps-common/Picked/IPickedWebBasic.d.ts.map +1 -0
- package/lib/types/fps-common/Picked/IPickedWebBasic.js +8 -0
- package/lib/types/fps-common/Picked/IPickedWebBasic.js.map +1 -0
- package/lib/types/fps-common/Picked/IZBasicItemInfo.d.ts +35 -0
- package/lib/types/fps-common/Picked/IZBasicItemInfo.d.ts.map +1 -0
- package/lib/types/fps-common/Picked/IZBasicItemInfo.js +7 -0
- package/lib/types/fps-common/Picked/IZBasicItemInfo.js.map +1 -0
- package/lib/types/fps-returns/common/IFpsErrorObject.d.ts +8 -2
- package/lib/types/fps-returns/common/IFpsErrorObject.d.ts.map +1 -1
- package/lib/types/fps-returns/common/IItemsError.d.ts.map +1 -1
- package/lib/types/fps-returns/lists/items/Interface.d.ts +3 -7
- package/lib/types/fps-returns/lists/items/Interface.d.ts.map +1 -1
- package/lib/types/fps-returns/lists/lists/IListErrorObj.d.ts +2 -4
- package/lib/types/fps-returns/lists/lists/IListErrorObj.d.ts.map +1 -1
- package/lib/types/fps-returns/perms/IPermissionErrorObj.d.ts +2 -4
- package/lib/types/fps-returns/perms/IPermissionErrorObj.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/ISiteErrorObj.d.ts +2 -4
- package/lib/types/fps-returns/sites/ISiteErrorObj.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/groups/IGroupResults.d.ts +2 -4
- package/lib/types/fps-returns/sites/groups/IGroupResults.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/groups/IGroupsResults.d.ts +2 -4
- package/lib/types/fps-returns/sites/groups/IGroupsResults.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/update/IFPSItemUpdateResultObj.d.ts +3 -4
- package/lib/types/fps-returns/sites/update/IFPSItemUpdateResultObj.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/users/IEnsureUserResults.d.ts +2 -4
- package/lib/types/fps-returns/sites/users/IEnsureUserResults.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/users/ISiteUserResults.d.ts +2 -4
- package/lib/types/fps-returns/sites/users/ISiteUserResults.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/users/ISiteUsersResults.d.ts +2 -4
- package/lib/types/fps-returns/sites/users/ISiteUsersResults.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/users/IUserPermissionsResults.d.ts +2 -4
- package/lib/types/fps-returns/sites/users/IUserPermissionsResults.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/webs/IWebErrorObj.d.ts +2 -4
- package/lib/types/fps-returns/sites/webs/IWebErrorObj.d.ts.map +1 -1
- package/lib/types/react/IFPSJSX_Element.d.ts +9 -1
- package/lib/types/react/IFPSJSX_Element.d.ts.map +1 -1
- package/lib/types/spfxPropControls/@3.11.0/IPropertyFieldGroupOrPerson.d.ts +23 -1
- package/lib/types/spfxPropControls/@3.11.0/IPropertyFieldGroupOrPerson.d.ts.map +1 -1
- package/lib/types/spfxPropControls/@3.11.0/IPropertyFieldGroupOrPerson.js +4 -1
- package/lib/types/spfxPropControls/@3.11.0/IPropertyFieldGroupOrPerson.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 1 imports on 2024-09-22 02:56:43
|
|
3
|
+
* Update:: import { IWebpartBannerProps } to '@mikezimm/fps-core-v7/lib/banner/mainReact/IWebpartBannerProps;'
|
|
4
|
+
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* CodeAnalizerComment: Updated 3 imports on 2024-09-21 23:07:24
|
|
8
|
+
* Update:: import { ecrptMe } to '@mikezimm/fps-core-v7/lib/banner/features/Tricky/logfun;'
|
|
9
|
+
* Update:: import { decrpt } to '@mikezimm/fps-core-v7/lib/banner/features/Tricky/verify;'
|
|
10
|
+
* Update:: import { encrpt } to '@mikezimm/fps-core-v7/lib/banner/features/Tricky/verify;'
|
|
11
|
+
|
|
12
|
+
*/
|
|
13
|
+
import { IWebpartBannerProps } from "../mainReact/IWebpartBannerProps";
|
|
14
|
+
export declare function checkCert(bannerProps: IWebpartBannerProps): boolean;
|
|
15
|
+
//# sourceMappingURL=checkCert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkCert.d.ts","sourceRoot":"","sources":["../../../src/banner/bannerX/checkCert.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;GAMG;AAIH,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAIvE,wBAAgB,SAAS,CAAE,WAAW,EAAC,mBAAmB,GAAI,OAAO,CAOpE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 1 imports on 2024-09-22 02:56:43
|
|
3
|
+
* Update:: import { IWebpartBannerProps } to '@mikezimm/fps-core-v7/lib/banner/mainReact/IWebpartBannerProps;'
|
|
4
|
+
|
|
5
|
+
*/
|
|
6
|
+
import { ecrptMe } from '../features/Tricky/logfun';
|
|
7
|
+
import { decrpt, encrpt } from '../../banner/features/Tricky/verify';
|
|
8
|
+
export function checkCert(bannerProps) {
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10
|
+
const cert = bannerProps[ecrptMe(`bk]V1Au`, decrpt, encrpt)]; // `wngC)}j`
|
|
11
|
+
const result = cert[ecrptMe(`1mHW/JT`, decrpt, encrpt)]; // `)3y<eoc`
|
|
12
|
+
return result === true ? false : true;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=checkCert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkCert.js","sourceRoot":"","sources":["../../../src/banner/bannerX/checkCert.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAaH,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAErE,MAAM,UAAU,SAAS,CAAE,WAA+B;IAExD,8DAA8D;IAC9D,MAAM,IAAI,GAAQ,WAAW,CAAE,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAkB,CAAE,CAAC,CAAC,YAAY;IAClG,MAAM,MAAM,GAAG,IAAI,CAAE,OAAO,CAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAE,CAAE,CAAC,CAAC,YAAY;IACzE,OAAO,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAE;AAEzC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 2 imports on 2024-09-21 23:07:24
|
|
3
|
+
* Update:: import { PageContextCopy_15_2 } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/WebPartContext;'
|
|
4
|
+
* Update:: import { checkDeepProperty } to '@mikezimm/fps-core-v7/lib/logic/Objects/deep;'
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
import { PageContextCopy_15_2 } from "../../../types/@msft/1.15.2/WebPartContext";
|
|
8
|
+
import { IKeySiteProps } from "./IKeySiteProps";
|
|
9
|
+
export declare function createKeySiteProps(pageContext: PageContextCopy_15_2): IKeySiteProps;
|
|
10
|
+
//# sourceMappingURL=CreateKeySiteProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateKeySiteProps.d.ts","sourceRoot":"","sources":["../../../../src/banner/components/Gear/CreateKeySiteProps.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAElF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,wBAAgB,kBAAkB,CAAE,WAAW,EAAE,oBAAoB,GAAK,aAAa,CAetF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 2 imports on 2024-09-21 23:07:24
|
|
3
|
+
* Update:: import { PageContextCopy_15_2 } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/WebPartContext;'
|
|
4
|
+
* Update:: import { checkDeepProperty } to '@mikezimm/fps-core-v7/lib/logic/Objects/deep;'
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
import { checkDeepProperty } from "../../../logic/Objects/deep";
|
|
8
|
+
export function createKeySiteProps(pageContext) {
|
|
9
|
+
const keySiteProps = {
|
|
10
|
+
SiteLogoUrl: pageContext.web.logoUrl,
|
|
11
|
+
LimitedDownload: null,
|
|
12
|
+
WebTimezone: checkDeepProperty(pageContext, ['web', 'timeZoneInfo', 'description'], 'ShortError'),
|
|
13
|
+
WebLanguage: `${checkDeepProperty(pageContext, ['cultureInfo', 'currentCultureName'], 'ShortError')} - ${checkDeepProperty(pageContext, ['web', 'language'], 'ShortError')}`,
|
|
14
|
+
UserTimezone: checkDeepProperty(pageContext, ['user', 'timeZoneInfo', 'description'], 'ShortError'),
|
|
15
|
+
UserTimePref: checkDeepProperty(pageContext, ['user', 'preferUserTimeZone'], 'ShortError'),
|
|
16
|
+
BrokenPermissions: null, // TBD
|
|
17
|
+
};
|
|
18
|
+
return keySiteProps;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=CreateKeySiteProps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateKeySiteProps.js","sourceRoot":"","sources":["../../../../src/banner/components/Gear/CreateKeySiteProps.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAGhE,MAAM,UAAU,kBAAkB,CAAE,WAAiC;IACnE,MAAM,YAAY,GAAkB;QAClC,WAAW,EAAE,WAAW,CAAC,GAAG,CAAC,OAAO;QACpC,eAAe,EAAE,IAAI;QAErB,WAAW,EAAE,iBAAiB,CAAE,WAAW,EAAE,CAAC,KAAK,EAAC,cAAc,EAAC,aAAa,CAAC,EAAE,YAAY,CAAE;QACjG,WAAW,EAAE,GAAI,iBAAiB,CAAE,WAAW,EAAE,CAAC,aAAa,EAAC,oBAAoB,CAAC,EAAE,YAAY,CAAG,MAAM,iBAAiB,CAAE,WAAW,EAAE,CAAC,KAAK,EAAC,UAAU,CAAC,EAAE,YAAY,CAAE,EAAE;QAEhL,YAAY,EAAG,iBAAiB,CAAE,WAAW,EAAE,CAAC,MAAM,EAAC,cAAc,EAAC,aAAa,CAAC,EAAE,YAAY,CAAE;QACpG,YAAY,EAAI,iBAAiB,CAAE,WAAW,EAAE,CAAC,MAAM,EAAC,oBAAoB,CAAC,EAAE,YAAY,CAAE;QAE7F,iBAAiB,EAAE,IAAI,EAAE,MAAM;KAChC,CAAC;IAEF,OAAO,YAAY,CAAC;AACtB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface IKeySiteProps {
|
|
2
|
+
SiteLogoUrl: string;
|
|
3
|
+
LimitedDownload: boolean | null;
|
|
4
|
+
WebTimezone: string;
|
|
5
|
+
WebLanguage: string;
|
|
6
|
+
UserTimezone: string;
|
|
7
|
+
UserTimePref: boolean;
|
|
8
|
+
BrokenPermissions: boolean | null;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=IKeySiteProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IKeySiteProps.d.ts","sourceRoot":"","sources":["../../../../src/banner/components/Gear/IKeySiteProps.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,aAAa;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,OAAO,GAAG,IAAI,CAAC;IAEhC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IAEpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAG,OAAO,CAAC;IAEvB,iBAAiB,EAAE,OAAO,GAAG,IAAI,CAAC;CAElC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IKeySiteProps.js","sourceRoot":"","sources":["../../../../src/banner/components/Gear/IKeySiteProps.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 13 imports on 2024-09-21 23:07:24
|
|
3
|
+
* Update:: import { IJSFetchReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
|
|
4
|
+
* Update:: import { createEmptyFetchReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
|
|
5
|
+
* Update:: import { doSpJsFetch } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
|
|
6
|
+
* Update:: import { IPerformanceSettings } to '@mikezimm/fps-core-v7/lib/components/molecules/Performance/IPerformanceSettings;'
|
|
7
|
+
* Update:: import { startPerformOpV2 } to '@mikezimm/fps-core-v7/lib/components/molecules/Performance/functions;'
|
|
8
|
+
* Update:: import { unifiedPerformanceEnd } to '@mikezimm/fps-core-v7/lib/components/molecules/Performance/functions;'
|
|
9
|
+
* Update:: import { IFpsErrorObject } to '@mikezimm/fps-core-v7/lib/types/fps-returns/common/IFpsErrorObject;'
|
|
10
|
+
* Update:: import { IFpsItemsReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/process-results/CheckItemsResults;'
|
|
11
|
+
* Update:: import { checkItemsResults } to '@mikezimm/fps-core-v7/lib/components/molecules/process-results/CheckItemsResults;'
|
|
12
|
+
* Update:: import { WebPartContextCopy_15_2 } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/WebPartContext;'
|
|
13
|
+
* Update:: import { IFPSListItemPropPaneDropDownOption } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/interfaces/IFPSListItemPropPaneDropDownOption;'
|
|
14
|
+
* Update:: import { sortObjectArrayByStringKey } to '@mikezimm/fps-core-v7/lib/logic/Arrays/sorting/objects;'
|
|
15
|
+
* Update:: import { IPropPaneFetchFileProps } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/interfaces/IPropPaneFetchFileProps;'
|
|
16
|
+
|
|
17
|
+
*/
|
|
18
|
+
import { IJSFetchReturn } from '../../../../components/molecules/SpHttp/doSpJsFetch';
|
|
19
|
+
import { WebPartContextCopy_15_2 } from '../../../../types/@msft/1.15.2/WebPartContext';
|
|
20
|
+
import { IFPSListItemPropPaneDropDownOption } from '../../ItemPicker/interfaces/IFPSListItemPropPaneDropDownOption';
|
|
21
|
+
import { IPropPaneFetchFileProps } from '../../ItemPicker/interfaces/IPropPaneFetchFileProps';
|
|
22
|
+
export declare const DefaultCustomFileSelect: string;
|
|
23
|
+
/**
|
|
24
|
+
* This was originally used for onListPickerChanged call... added fetchFileListUniqueIds option for easier PagePal use
|
|
25
|
+
* @param context
|
|
26
|
+
* @param filesLocation
|
|
27
|
+
* @param postFilters : would be string array of valid extensions to return
|
|
28
|
+
* @param customSelect : pass in custom select/filter statement....
|
|
29
|
+
* It's used like this: /Items?$${customSelect}` so there is no intial $ needed at the beginning
|
|
30
|
+
* @returns
|
|
31
|
+
*/
|
|
32
|
+
export declare function fetchFileList(context: WebPartContextCopy_15_2, filesLocation: undefined | IFPSListItemPropPaneDropDownOption, postFilters: string[], customSelect?: string): Promise<IJSFetchReturn>;
|
|
33
|
+
export interface IPickerFileFetch {
|
|
34
|
+
}
|
|
35
|
+
export declare function cleanWebFileList(FilePickerInfo: IPropPaneFetchFileProps[], postFilters: string[]): IPropPaneFetchFileProps[];
|
|
36
|
+
//# sourceMappingURL=fetchFileList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchFileList.d.ts","sourceRoot":"","sources":["../../../../../src/banner/components/ItemPicker/functions/fetchFileList.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,EAAE,cAAc,EAAuC,MAAM,qDAAqD,CAAC;AAK1H,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kCAAkC,EAAE,MAAM,gEAAgE,CAAC;AAEpH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAG9F,eAAO,MAAM,uBAAuB,EAAE,MAA0D,CAAC;AAGjG;;;;;;;;GAQG;AAIH,wBAAsB,aAAa,CAAE,OAAO,EAAE,uBAAuB,EAAE,aAAa,EAAE,SAAS,GAAG,kCAAkC,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,YAAY,GAAE,MAAgC,GAAI,OAAO,CAAC,cAAc,CAAC,CAoBrO;AAED,MAAM,WAAW,gBAAgB;CAGhC;AAED,wBAAgB,gBAAgB,CAAE,cAAc,EAAE,uBAAuB,EAAE,EAAG,WAAW,EAAE,MAAM,EAAE,GAAI,uBAAuB,EAAE,CAuC/H"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 13 imports on 2024-09-21 23:07:24
|
|
3
|
+
* Update:: import { IJSFetchReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
|
|
4
|
+
* Update:: import { createEmptyFetchReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
|
|
5
|
+
* Update:: import { doSpJsFetch } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
|
|
6
|
+
* Update:: import { IPerformanceSettings } to '@mikezimm/fps-core-v7/lib/components/molecules/Performance/IPerformanceSettings;'
|
|
7
|
+
* Update:: import { startPerformOpV2 } to '@mikezimm/fps-core-v7/lib/components/molecules/Performance/functions;'
|
|
8
|
+
* Update:: import { unifiedPerformanceEnd } to '@mikezimm/fps-core-v7/lib/components/molecules/Performance/functions;'
|
|
9
|
+
* Update:: import { IFpsErrorObject } to '@mikezimm/fps-core-v7/lib/types/fps-returns/common/IFpsErrorObject;'
|
|
10
|
+
* Update:: import { IFpsItemsReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/process-results/CheckItemsResults;'
|
|
11
|
+
* Update:: import { checkItemsResults } to '@mikezimm/fps-core-v7/lib/components/molecules/process-results/CheckItemsResults;'
|
|
12
|
+
* Update:: import { WebPartContextCopy_15_2 } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/WebPartContext;'
|
|
13
|
+
* Update:: import { IFPSListItemPropPaneDropDownOption } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/interfaces/IFPSListItemPropPaneDropDownOption;'
|
|
14
|
+
* Update:: import { sortObjectArrayByStringKey } to '@mikezimm/fps-core-v7/lib/logic/Arrays/sorting/objects;'
|
|
15
|
+
* Update:: import { IPropPaneFetchFileProps } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/interfaces/IPropPaneFetchFileProps;'
|
|
16
|
+
|
|
17
|
+
*/
|
|
18
|
+
import { createEmptyFetchReturn, doSpJsFetch } from '../../../../components/molecules/SpHttp/doSpJsFetch';
|
|
19
|
+
import { startPerformOpV2, unifiedPerformanceEnd } from '../../../../components/molecules/Performance/functions';
|
|
20
|
+
import { checkItemsResults } from '../../../../components/molecules/process-results/CheckItemsResults';
|
|
21
|
+
import { sortObjectArrayByStringKey } from '../../../../logic/Arrays/sorting/objects';
|
|
22
|
+
export const DefaultCustomFileSelect = "select=FileLeafRef,FileRef,FileSystemObjectType";
|
|
23
|
+
// THIS SHOULD COME FROM doSpJsFetch file
|
|
24
|
+
/**
|
|
25
|
+
* This was originally used for onListPickerChanged call... added fetchFileListUniqueIds option for easier PagePal use
|
|
26
|
+
* @param context
|
|
27
|
+
* @param filesLocation
|
|
28
|
+
* @param postFilters : would be string array of valid extensions to return
|
|
29
|
+
* @param customSelect : pass in custom select/filter statement....
|
|
30
|
+
* It's used like this: /Items?$${customSelect}` so there is no intial $ needed at the beginning
|
|
31
|
+
* @returns
|
|
32
|
+
*/
|
|
33
|
+
// export async function getPickerFiles ( context: WebPartContextCopy_15_2, filesLocation: undefined | IFPSListItemPropPaneDropDownOption, postFilters: string[] ): Promise<IPropPaneFetchFileProps[]> {
|
|
34
|
+
export async function fetchFileList(context, filesLocation, postFilters, customSelect = DefaultCustomFileSelect) {
|
|
35
|
+
const performanceSettings = { label: 'myHubs', updateMiliseconds: true, includeMsStr: true, op: 'fetch' };
|
|
36
|
+
const fetchOp = performanceSettings ? startPerformOpV2(performanceSettings) : null;
|
|
37
|
+
const apiFetchFilesQuery = filesLocation ? `${window.location.origin}${filesLocation === null || filesLocation === void 0 ? void 0 : filesLocation.siteRelativeURL}/_api/web/lists/getbytitle('${filesLocation === null || filesLocation === void 0 ? void 0 : filesLocation.text}')/Items?$${customSelect}` : '';
|
|
38
|
+
if (filesLocation === undefined)
|
|
39
|
+
return createEmptyFetchReturn(apiFetchFilesQuery);
|
|
40
|
+
const resultFileList = await doSpJsFetch(apiFetchFilesQuery);
|
|
41
|
+
if (resultFileList.ok)
|
|
42
|
+
resultFileList.items = cleanWebFileList(resultFileList.items, postFilters);
|
|
43
|
+
let result = unifiedPerformanceEnd(resultFileList, performanceSettings, fetchOp, 'fetch', 'items');
|
|
44
|
+
result.fpsContentType = ['file'];
|
|
45
|
+
result = checkItemsResults(result, `fps-library-v2: fetchFileList ~ 69`, false, true);
|
|
46
|
+
return result;
|
|
47
|
+
}
|
|
48
|
+
export function cleanWebFileList(FilePickerInfo, postFilters) {
|
|
49
|
+
// Do postFilters here
|
|
50
|
+
//Issue #6 & #7
|
|
51
|
+
let FilteredItems = [];
|
|
52
|
+
if (!postFilters || postFilters.length === 0 || postFilters.indexOf('*') > -1) {
|
|
53
|
+
FilePickerInfo.map((item) => {
|
|
54
|
+
// Only push files, not folders
|
|
55
|
+
if (item.FileSystemObjectType !== 1) {
|
|
56
|
+
FilteredItems.push(item);
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
FilePickerInfo.map((item) => {
|
|
62
|
+
// const extension = item.key.substr(item.key.lastIndexOf(".") + 1).toLowerCase() as IApprovedFileType;
|
|
63
|
+
const extension = item.FileRef ? item.FileRef.substring(item.FileRef.lastIndexOf('.') + 1).toLowerCase() : 'unknown';
|
|
64
|
+
if (extension && extension.length > 0 && postFilters.indexOf(extension) > -1) {
|
|
65
|
+
FilteredItems.push(item);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
// Moved after because it's more efficient with potentially less items
|
|
70
|
+
FilteredItems.map(item => {
|
|
71
|
+
item.Name = item.FileLeafRef;
|
|
72
|
+
item.id = item['@odata.id'];
|
|
73
|
+
item.text = item.FileLeafRef;
|
|
74
|
+
item.type = item['@odata.id'];
|
|
75
|
+
item.key = item.FileRef;
|
|
76
|
+
});
|
|
77
|
+
const SortedItems = sortObjectArrayByStringKey(FilteredItems, 'asc', 'text');
|
|
78
|
+
return SortedItems;
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=fetchFileList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchFileList.js","sourceRoot":"","sources":["../../../../../src/banner/components/ItemPicker/functions/fetchFileList.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,EAAkB,sBAAsB,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAE1H,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAEjH,OAAO,EAAmB,iBAAiB,EAAE,MAAM,oEAAoE,CAAC;AAGxH,OAAO,EAAE,0BAA0B,EAAE,MAAM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I,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9B,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC;IAE1B,CAAC,CAAC,CAAC;IAEH,MAAM,WAAW,GAA8B,0BAA0B,CAAE,aAAa,EAAE,KAAK,EAAE,MAAM,CAAE,CAAC;IAE1G,OAAO,WAAW,CAAC;AAErB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 1 imports on 2024-09-22 02:56:43
|
|
3
|
+
* Update:: import { fetchFileList } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/functions/fetchFileList;'
|
|
4
|
+
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* CodeAnalizerComment: Updated 3 imports on 2024-09-21 23:07:24
|
|
8
|
+
* Update:: import { IJSFetchReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
|
|
9
|
+
* Update:: import { WebPartContextCopy_15_2 } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/WebPartContext;'
|
|
10
|
+
* Update:: import { IFPSListItemPropPaneDropDownOption } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/interfaces/IFPSListItemPropPaneDropDownOption;'
|
|
11
|
+
|
|
12
|
+
*/
|
|
13
|
+
import { IJSFetchReturn } from '../../../../components/molecules/SpHttp/doSpJsFetch';
|
|
14
|
+
import { WebPartContextCopy_15_2 } from '../../../../types/@msft/1.15.2/WebPartContext';
|
|
15
|
+
/**
|
|
16
|
+
* Added for easier use getting Site Assets with Doc Ids in PagePal
|
|
17
|
+
* @param context
|
|
18
|
+
* @param siteRelativeURL
|
|
19
|
+
* @param listTitle
|
|
20
|
+
* @param postFilters
|
|
21
|
+
* @param topX
|
|
22
|
+
* @param optionalSortFilter example: '&$orderby=Id desc'
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
export interface IFileUniqueIds {
|
|
26
|
+
Id: number;
|
|
27
|
+
Name: string;
|
|
28
|
+
UniqueId: string;
|
|
29
|
+
ServerRelativeUrl: string;
|
|
30
|
+
ID: number;
|
|
31
|
+
wasUsed?: boolean;
|
|
32
|
+
replacements?: any;
|
|
33
|
+
}
|
|
34
|
+
export declare function fetchFileListUniqueIds(context: WebPartContextCopy_15_2, siteRelativeURL: string, listTitle: string, postFilters: string[], topX?: number, optionalSortFilter?: string): Promise<IJSFetchReturn>;
|
|
35
|
+
//# sourceMappingURL=fetchFileListUniqueIds.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchFileListUniqueIds.d.ts","sourceRoot":"","sources":["../../../../../src/banner/components/ItemPicker/functions/fetchFileListUniqueIds.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;GAMG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AACrF,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAIxF;;;;;;;;;GASG;AAEH,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,GAAG,CAAC;CAEpB;AAED,wBAAsB,sBAAsB,CAAC,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,IAAI,GAAE,MAAY,EAAE,kBAAkB,GAAE,MAAW,GAAG,OAAO,CAAC,cAAc,CAAC,CAW9N"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 1 imports on 2024-09-22 02:56:43
|
|
3
|
+
* Update:: import { fetchFileList } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/functions/fetchFileList;'
|
|
4
|
+
|
|
5
|
+
*/
|
|
6
|
+
import { fetchFileList } from '../../ItemPicker/functions/fetchFileList';
|
|
7
|
+
export async function fetchFileListUniqueIds(context, siteRelativeURL, listTitle, postFilters, topX = 500, optionalSortFilter = ``) {
|
|
8
|
+
const filesLocation = {
|
|
9
|
+
siteRelativeURL: siteRelativeURL,
|
|
10
|
+
text: listTitle,
|
|
11
|
+
};
|
|
12
|
+
const customSelect = `select=Created,Modified,Id,File/Name,File/ServerRelativeUrl,File/UniqueId&$expand=File&$filter=startswith(ContentTypeId,%270x0101%27)&$top=${topX}`;
|
|
13
|
+
const results = await fetchFileList(context, filesLocation, postFilters, customSelect);
|
|
14
|
+
return results;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=fetchFileListUniqueIds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchFileListUniqueIds.js","sourceRoot":"","sources":["../../../../../src/banner/components/ItemPicker/functions/fetchFileListUniqueIds.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAaH,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAwBzE,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAAC,OAAgC,EAAE,eAAuB,EAAE,SAAiB,EAAE,WAAqB,EAAE,OAAe,GAAG,EAAE,qBAA6B,EAAE;IAEnM,MAAM,aAAa,GAAuC;QACxD,eAAe,EAAE,eAAe;QAChC,IAAI,EAAE,SAAS;KACT,CAAC;IAET,MAAM,YAAY,GAAW,8IAA8I,IAAI,EAAE,CAAC;IAClL,MAAM,OAAO,GAAG,MAAM,aAAa,CAAC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;IAEvF,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 10 imports on 2024-09-21 23:07:24
|
|
3
|
+
* Update:: import { IJSFetchReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
|
|
4
|
+
* Update:: import { createEmptyFetchReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
|
|
5
|
+
* Update:: import { doSpJsFetch } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
|
|
6
|
+
* Update:: import { IPerformanceSettings } to '@mikezimm/fps-core-v7/lib/components/molecules/Performance/IPerformanceSettings;'
|
|
7
|
+
* Update:: import { startPerformOpV2 } to '@mikezimm/fps-core-v7/lib/components/molecules/Performance/functions;'
|
|
8
|
+
* Update:: import { unifiedPerformanceEnd } to '@mikezimm/fps-core-v7/lib/components/molecules/Performance/functions;'
|
|
9
|
+
* Update:: import { IFpsErrorObject } to '@mikezimm/fps-core-v7/lib/types/fps-returns/common/IFpsErrorObject;'
|
|
10
|
+
* Update:: import { IFpsItemsReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/process-results/CheckItemsResults;'
|
|
11
|
+
* Update:: import { checkItemsResults } to '@mikezimm/fps-core-v7/lib/components/molecules/process-results/CheckItemsResults;'
|
|
12
|
+
* Update:: import { WebPartContextCopy_15_2 } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/WebPartContext;'
|
|
13
|
+
|
|
14
|
+
*/
|
|
15
|
+
import { IJSFetchReturn } from '../../../../components/molecules/SpHttp/doSpJsFetch';
|
|
16
|
+
import { WebPartContextCopy_15_2 } from '../../../../types/@msft/1.15.2/WebPartContext';
|
|
17
|
+
export interface IListPickerLists {
|
|
18
|
+
Title: string;
|
|
19
|
+
EntityTypeName: string;
|
|
20
|
+
BaseType: 0 | 1;
|
|
21
|
+
ParentWebUrl: string;
|
|
22
|
+
RootFolder: {
|
|
23
|
+
ServerRelativeUrl: string;
|
|
24
|
+
};
|
|
25
|
+
list: string;
|
|
26
|
+
text: string;
|
|
27
|
+
key: string;
|
|
28
|
+
isLibrary: boolean;
|
|
29
|
+
siteRelativeURL: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @param context
|
|
34
|
+
* @param filesLocation
|
|
35
|
+
* @param postFilters : would be string array of valid extensions to return
|
|
36
|
+
* @returns
|
|
37
|
+
*/
|
|
38
|
+
export declare function fetchListList(context: WebPartContextCopy_15_2, web: string, filter: string): Promise<IJSFetchReturn>;
|
|
39
|
+
export declare function cleanWebLists(ListPickerInfo: IListPickerLists[]): IListPickerLists[];
|
|
40
|
+
//# sourceMappingURL=fetchListList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchListList.d.ts","sourceRoot":"","sources":["../../../../../src/banner/components/ItemPicker/functions/fetchListList.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EAAE,cAAc,EAAuC,MAAM,qDAAqD,CAAC;AAK1H,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAIxF,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,CAAC,GAAG,CAAC,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE;QACV,iBAAiB,EAAE,MAAM,CAAC;KAC3B,CAAA;IACD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB;AAcD;;;;;;GAMG;AAEH,wBAAsB,aAAa,CAAE,OAAO,EAAE,uBAAuB,EAAE,GAAG,EAAG,MAAM,EAAE,MAAM,EAAE,MAAM,GAAI,OAAO,CAAC,cAAc,CAAC,CAwB7H;AAED,wBAAgB,aAAa,CAAE,cAAc,EAAE,gBAAgB,EAAE,GAAK,gBAAgB,EAAE,CAmBvF"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 10 imports on 2024-09-21 23:07:24
|
|
3
|
+
* Update:: import { IJSFetchReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
|
|
4
|
+
* Update:: import { createEmptyFetchReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
|
|
5
|
+
* Update:: import { doSpJsFetch } to '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFetch;'
|
|
6
|
+
* Update:: import { IPerformanceSettings } to '@mikezimm/fps-core-v7/lib/components/molecules/Performance/IPerformanceSettings;'
|
|
7
|
+
* Update:: import { startPerformOpV2 } to '@mikezimm/fps-core-v7/lib/components/molecules/Performance/functions;'
|
|
8
|
+
* Update:: import { unifiedPerformanceEnd } to '@mikezimm/fps-core-v7/lib/components/molecules/Performance/functions;'
|
|
9
|
+
* Update:: import { IFpsErrorObject } to '@mikezimm/fps-core-v7/lib/types/fps-returns/common/IFpsErrorObject;'
|
|
10
|
+
* Update:: import { IFpsItemsReturn } to '@mikezimm/fps-core-v7/lib/components/molecules/process-results/CheckItemsResults;'
|
|
11
|
+
* Update:: import { checkItemsResults } to '@mikezimm/fps-core-v7/lib/components/molecules/process-results/CheckItemsResults;'
|
|
12
|
+
* Update:: import { WebPartContextCopy_15_2 } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/WebPartContext;'
|
|
13
|
+
|
|
14
|
+
*/
|
|
15
|
+
import { createEmptyFetchReturn, doSpJsFetch } from '../../../../components/molecules/SpHttp/doSpJsFetch';
|
|
16
|
+
import { startPerformOpV2, unifiedPerformanceEnd } from '../../../../components/molecules/Performance/functions';
|
|
17
|
+
import { checkItemsResults } from '../../../../components/molecules/process-results/CheckItemsResults';
|
|
18
|
+
// THIS SHOULD COME FROM doSpJsFetch file
|
|
19
|
+
// export function createEmptyFetchReturn( fetchAPI: string ): IJSFetchReturn {
|
|
20
|
+
// const emptyObject: IJSFetchReturn = {
|
|
21
|
+
// items: [],
|
|
22
|
+
// ok: null,
|
|
23
|
+
// e: null,
|
|
24
|
+
// status: 'Unknown',
|
|
25
|
+
// fetchAPI: fetchAPI,
|
|
26
|
+
// }
|
|
27
|
+
// return emptyObject;
|
|
28
|
+
// }
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @param context
|
|
32
|
+
* @param filesLocation
|
|
33
|
+
* @param postFilters : would be string array of valid extensions to return
|
|
34
|
+
* @returns
|
|
35
|
+
*/
|
|
36
|
+
export async function fetchListList(context, web, filter) {
|
|
37
|
+
let websLocation = web;
|
|
38
|
+
if (web && web.indexOf('/sites/') === 0) {
|
|
39
|
+
websLocation = window.location.origin + websLocation;
|
|
40
|
+
}
|
|
41
|
+
if (websLocation.slice(-1) !== '/') {
|
|
42
|
+
websLocation += '/';
|
|
43
|
+
}
|
|
44
|
+
const performanceSettings = { label: 'myHubs', updateMiliseconds: true, includeMsStr: true, op: 'fetch' };
|
|
45
|
+
const fetchOp = performanceSettings ? startPerformOpV2(performanceSettings) : null;
|
|
46
|
+
const apiFetchLibsQuery = `${websLocation}/_api/Web/Lists?$filter=${filter}&select=Title,EntityTypeName,BaseType,ParentWebUrl,RootFolder`;
|
|
47
|
+
if (!web)
|
|
48
|
+
return createEmptyFetchReturn(apiFetchLibsQuery);
|
|
49
|
+
const resultFileList = await doSpJsFetch(apiFetchLibsQuery);
|
|
50
|
+
if (resultFileList.ok)
|
|
51
|
+
resultFileList.items = cleanWebLists(resultFileList.items);
|
|
52
|
+
let result = unifiedPerformanceEnd(resultFileList, performanceSettings, fetchOp, 'fetch', 'items');
|
|
53
|
+
result.fpsContentType = ['list'];
|
|
54
|
+
result = checkItemsResults(result, `fps-library-v2: fetchFileList ~ 69`, false, true);
|
|
55
|
+
return result;
|
|
56
|
+
}
|
|
57
|
+
export function cleanWebLists(ListPickerInfo) {
|
|
58
|
+
// Do postFilters here
|
|
59
|
+
//Issue #6 & #7
|
|
60
|
+
ListPickerInfo.map(list => {
|
|
61
|
+
const listRelativeURL = list.RootFolder ?
|
|
62
|
+
list.RootFolder.ServerRelativeUrl :
|
|
63
|
+
list.BaseType === 1 ? `${list.ParentWebUrl}/${list.EntityTypeName}` :
|
|
64
|
+
`${list.ParentWebUrl}/lists/${list.EntityTypeName}`;
|
|
65
|
+
list.siteRelativeURL = `${list.ParentWebUrl}`;
|
|
66
|
+
list.text = list.Title;
|
|
67
|
+
list.list = list.EntityTypeName;
|
|
68
|
+
list.key = listRelativeURL;
|
|
69
|
+
});
|
|
70
|
+
return ListPickerInfo;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=fetchListList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchListList.js","sourceRoot":"","sources":["../../../../../src/banner/components/ItemPicker/functions/fetchListList.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EAAkB,sBAAsB,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAE1H,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAEjH,OAAO,EAAmB,iBAAiB,EAAE,MAAM,oEAAoE,CAAC;AAoBxH,yCAAyC;AACzC,+EAA+E;AAC/E,0CAA0C;AAC1C,iBAAiB;AACjB,gBAAgB;AAChB,eAAe;AACf,yBAAyB;AACzB,0BAA0B;AAC1B,MAAM;AACN,uBAAuB;AACvB,IAAI;AAEJ;;;;;;GAMG;AAEH,MAAM,CAAC,KAAK,UAAU,aAAa,CAAE,OAAgC,EAAE,GAAY,EAAE,MAAc;IAEjG,IAAI,YAAY,GAAG,GAAG,CAAC;IACvB,IAAK,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,EAAG;QAAE,YAAY,GAAG,MAAM,CAAC,QAAQ,CAAC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QAAQ,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC;gBACrE,GAAG,IAAI,CAAC,YAAY,UAAU,IAAI,CAAC,cAAc,EAAE,CAAC;QAEtD,IAAI,CAAC,eAAe,GAAG,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAC9C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,cAAc,CAAC;QAChC,IAAI,CAAC,GAAG,GAAG,eAAe,CAAC;IAC7B,CAAC,CAAC,CAAC;IAEH,OAAO,cAAc,CAAC;AAExB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 2 imports on 2024-09-21 23:07:24
|
|
3
|
+
* Update:: import { IFPSListItemPickerWPProps } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/interfaces/IFPSListItemPickerWPProps;'
|
|
4
|
+
* Update:: import { IThisFPSWebPartClass } to '@mikezimm/fps-core-v7/lib/banner/FPSWebPartClass/IThisFPSWebPartClass1152;'
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
import { IThisFPSWebPartClass } from '../../../FPSWebPartClass/IThisFPSWebPartClass1152';
|
|
8
|
+
export declare function onListItemPickerChanged(thisWPClass: IThisFPSWebPartClass, propertyPath: string, oldValue: any, newValue: any): Promise<void>;
|
|
9
|
+
//# sourceMappingURL=onListItemPickerChanged.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onListItemPickerChanged.d.ts","sourceRoot":"","sources":["../../../../../src/banner/components/ItemPicker/functions/onListItemPickerChanged.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAGzF,wBAAsB,uBAAuB,CAAE,WAAW,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,GAAK,OAAO,CAAC,IAAI,CAAC,CAWrJ"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 2 imports on 2024-09-21 23:07:24
|
|
3
|
+
* Update:: import { IFPSListItemPickerWPProps } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/interfaces/IFPSListItemPickerWPProps;'
|
|
4
|
+
* Update:: import { IThisFPSWebPartClass } to '@mikezimm/fps-core-v7/lib/banner/FPSWebPartClass/IThisFPSWebPartClass1152;'
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
8
|
+
export async function onListItemPickerChanged(thisWPClass, propertyPath, oldValue, newValue) {
|
|
9
|
+
const wpProps = thisWPClass.properties;
|
|
10
|
+
if ((propertyPath === 'listItemPickerValue') && (newValue)) {
|
|
11
|
+
thisWPClass._fetchInstance = Math.floor(Math.random() * 79797979).toString();
|
|
12
|
+
console.log('changed Library Item: ', newValue);
|
|
13
|
+
wpProps.listItemPickerValue = newValue;
|
|
14
|
+
thisWPClass.refreshPaneReRender();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=onListItemPickerChanged.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onListItemPickerChanged.js","sourceRoot":"","sources":["../../../../../src/banner/components/ItemPicker/functions/onListItemPickerChanged.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,8DAA8D;AAC9D,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAAE,WAAiC,EAAE,YAAoB,EAAE,QAAa,EAAE,QAAa;IAElI,MAAM,OAAO,GAA8B,WAAW,CAAC,UAAU,CAAC;IAElE,IAAI,CAAC,YAAY,KAAK,qBAAqB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;QAC1D,WAAW,CAAC,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAE,CAAC,QAAQ,EAAE,CAAC;QAC9E,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,QAAQ,CAAE,CAAC;QAClD,OAAO,CAAC,mBAAmB,GAAG,QAAQ,CAAC;QACvC,WAAW,CAAC,mBAAmB,EAAE,CAAC;KACnC;AAEH,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 2 imports on 2024-09-22 02:56:43
|
|
3
|
+
* Update:: import { fetchListList } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/functions/fetchListList;'
|
|
4
|
+
* Update:: import { fetchFileList } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/functions/fetchFileList;'
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
import { IFPSListItemPropPaneDropDownOption } from '../../ItemPicker/interfaces/IFPSListItemPropPaneDropDownOption';
|
|
8
|
+
import { IThisFPSWebPartClass } from "../../../FPSWebPartClass/IThisFPSWebPartClass1152";
|
|
9
|
+
export declare function testValidWebUrl(approvedWebs: IFPSListItemPropPaneDropDownOption[], webUrl: string): boolean;
|
|
10
|
+
export declare function onListItemPropPaneStart(thisWPClass: IThisFPSWebPartClass, approvedWebs: IFPSListItemPropPaneDropDownOption[]): Promise<void>;
|
|
11
|
+
//# sourceMappingURL=onListItemPropPaneStart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onListItemPropPaneStart.d.ts","sourceRoot":"","sources":["../../../../../src/banner/components/ItemPicker/functions/onListItemPropPaneStart.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAeH,OAAO,EAAE,kCAAkC,EAAE,MAAM,gEAAgE,CAAC;AAEpH,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAEzF,wBAAgB,eAAe,CAAE,YAAY,EAAE,kCAAkC,EAAE,EAAG,MAAM,EAAE,MAAM,GAAI,OAAO,CAkB9G;AAGD,wBAAsB,uBAAuB,CAAE,WAAW,EAAE,oBAAoB,EAAE,YAAY,EAAE,kCAAkC,EAAE,GAAO,OAAO,CAAC,IAAI,CAAC,CA+DvJ"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 2 imports on 2024-09-22 02:56:43
|
|
3
|
+
* Update:: import { fetchListList } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/functions/fetchListList;'
|
|
4
|
+
* Update:: import { fetchFileList } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/functions/fetchFileList;'
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
import { fetchListList } from "../../ItemPicker/functions/fetchListList";
|
|
8
|
+
import { fetchFileList } from "../../ItemPicker/functions/fetchFileList";
|
|
9
|
+
export function testValidWebUrl(approvedWebs, webUrl) {
|
|
10
|
+
let isValidWebUrl = true;
|
|
11
|
+
let isApprovedWeb = false;
|
|
12
|
+
if (!webUrl || webUrl.length === 0) {
|
|
13
|
+
isValidWebUrl = false;
|
|
14
|
+
}
|
|
15
|
+
else if (webUrl.indexOf('/sites/') !== 0 && webUrl.indexOf(window.origin) !== 0) {
|
|
16
|
+
isValidWebUrl = false;
|
|
17
|
+
}
|
|
18
|
+
if (isValidWebUrl === true) {
|
|
19
|
+
if (approvedWebs.length === 0) {
|
|
20
|
+
isApprovedWeb = true;
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
approvedWebs.map(site => {
|
|
24
|
+
if (webUrl.toLowerCase().indexOf(`${site.siteRelativeURL.toLowerCase()}/`) > -1) {
|
|
25
|
+
isApprovedWeb = true;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return isApprovedWeb;
|
|
31
|
+
}
|
|
32
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
33
|
+
export async function onListItemPropPaneStart(thisWPClass, approvedWebs) {
|
|
34
|
+
const wpProps = thisWPClass.properties;
|
|
35
|
+
if (wpProps.webUrlPickerValue && wpProps.webUrlPickerValue.toLowerCase().indexOf('currentsite') > -1) {
|
|
36
|
+
wpProps.webUrlPickerValue = `${thisWPClass.context.pageContext.web.serverRelativeUrl}/`;
|
|
37
|
+
thisWPClass.context.propertyPane.refresh();
|
|
38
|
+
}
|
|
39
|
+
thisWPClass._webUrlPickerValueApproved = false;
|
|
40
|
+
thisWPClass._itemsDropdownDisabled = true;
|
|
41
|
+
thisWPClass._listsDropdownDisabled = true;
|
|
42
|
+
const webUrlIsApproved = approvedWebs.length === 0 ? true : testValidWebUrl(approvedWebs, wpProps.webUrlPickerValue);
|
|
43
|
+
//May need to remove this check so you can run in sandbox mode after saving props to invalid CDN
|
|
44
|
+
if (webUrlIsApproved === true || thisWPClass._runSandbox === true) {
|
|
45
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises, @typescript-eslint/no-explicit-any
|
|
46
|
+
fetchListList(thisWPClass.context, wpProps.webUrlPickerValue, `BaseTemplate eq 101 and Hidden eq false`)
|
|
47
|
+
.then((results) => {
|
|
48
|
+
if (results.items.length > 0) {
|
|
49
|
+
thisWPClass._listPickerList = results.items;
|
|
50
|
+
thisWPClass._approvedLists = thisWPClass._listPickerList;
|
|
51
|
+
thisWPClass._listsDropdownDisabled = false;
|
|
52
|
+
if (results.items.length > 0) {
|
|
53
|
+
if (wpProps.listPickerValue) {
|
|
54
|
+
// 2024-09-22: Added undefined as any to pass type error
|
|
55
|
+
let selectedLibrary = undefined;
|
|
56
|
+
thisWPClass._listPickerList.map((lib, idx) => {
|
|
57
|
+
if (lib.key === wpProps.listPickerValue) {
|
|
58
|
+
selectedLibrary = lib;
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises, @typescript-eslint/no-explicit-any
|
|
62
|
+
fetchFileList(thisWPClass.context, selectedLibrary, thisWPClass._approvedFilePickerTypes)
|
|
63
|
+
.then((results) => {
|
|
64
|
+
console.log('onPropertyPaneConfigurationStart: files', results);
|
|
65
|
+
thisWPClass._listItemsPickerList = results.items;
|
|
66
|
+
// enable item selector
|
|
67
|
+
thisWPClass._itemsDropdownDisabled = false;
|
|
68
|
+
thisWPClass.refreshPaneReRender();
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
console.log('onPropertyPaneConfigurationStart: wpProps.listPickerValue', wpProps.listPickerValue);
|
|
73
|
+
thisWPClass._listItemsPickerList = [];
|
|
74
|
+
thisWPClass.refreshPaneReRender();
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
else { //No web selected, clear all sub properties
|
|
81
|
+
// 2024-09-22: Added null as any to pass type error
|
|
82
|
+
wpProps.listPickerValue = null;
|
|
83
|
+
thisWPClass._listItemsPickerList = [];
|
|
84
|
+
thisWPClass.refreshPaneReRender();
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=onListItemPropPaneStart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onListItemPropPaneStart.js","sourceRoot":"","sources":["../../../../../src/banner/components/ItemPicker/functions/onListItemPropPaneStart.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAcH,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAEzE,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAGzE,MAAM,UAAU,eAAe,CAAE,YAAkD,EAAG,MAAc;IAClG,IAAI,aAAa,GAAG,IAAI,CAAC;IACzB,IAAI,aAAa,GAAG,KAAK,CAAC;IAC1B,IAAK,CAAC,MAAM,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAG;QAAE,aAAa,GAAG,K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AG,KAAK,CAAC;4BAC3C,WAAW,CAAC,mBAAmB,EAAE,CAAC;wBACpC,CAAC,CAAC,CAAC;qBACN;yBAAM;wBACL,OAAO,CAAC,GAAG,CAAC,2DAA2D,EAAE,OAAO,CAAC,eAAe,CAAE,CAAC;wBACnG,WAAW,CAAC,oBAAoB,GAAG,EAAE,CAAC;wBACtC,WAAW,CAAC,mBAAmB,EAAE,CAAC;qBACnC;iBACF;aACF;QACH,CAAC,CAAC,CAAA;KAEH;SAAM,EAAE,2CAA2C;QAClD,oDAAoD;QACpD,OAAO,CAAC,eAAe,GAAG,IAAW,CAAC;QACtC,WAAW,CAAC,oBAAoB,GAAG,EAAE,CAAC;QACtC,WAAW,CAAC,mBAAmB,EAAE,CAAC;KACnC;AAEH,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeAnalizerComment: Updated 1 imports on 2024-09-22 02:56:43
|
|
3
|
+
* Update:: import { fetchFileList } to '@mikezimm/fps-core-v7/lib/banner/components/ItemPicker/functions/fetchFileList;'
|
|
4
|
+
|
|
5
|
+
*/
|
|
6
|
+
import { IThisFPSWebPartClass } from '../../../FPSWebPartClass/IThisFPSWebPartClass1152';
|
|
7
|
+
export declare function onListPickerChanged(thisWPClass: IThisFPSWebPartClass, propertyPath: string, oldValue: any, newValue: any): Promise<void>;
|
|
8
|
+
//# sourceMappingURL=onListPickerChanged.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onListPickerChanged.d.ts","sourceRoot":"","sources":["../../../../../src/banner/components/ItemPicker/functions/onListPickerChanged.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAcH,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAIzF,wBAAsB,mBAAmB,CAAE,WAAW,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,GAAK,OAAO,CAAC,IAAI,CAAC,CAyCjJ"}
|