UNPKG

@mikezimm/npmfunctions

Version:
80 lines 5.45 kB
"use strict"; /** * * THIS File should be copied to your local project, not referred to through here. * NOTICE: GET LATEST VERSION FROM SAMPLE PROJECTS: CoreFPS114 or CoreFPS115 * * https://github.com/mikezimm/CoreFPS114 * https://github.com/mikezimm/CoreFPS115 * */ Object.defineProperty(exports, "__esModule", { value: true }); exports.buildExportProps = void 0; /*** * d888888b .88b d88. d8888b. .d88b. d8888b. d888888b .o88b. .d88b. .88b d88. d8888b. .d88b. d8b db d88888b d8b db d888888b * `88' 88'YbdP`88 88 `8D .8P Y8. 88 `8D `~~88~~' d8P Y8 .8P Y8. 88'YbdP`88 88 `8D .8P Y8. 888o 88 88' 888o 88 `~~88~~' * 88 88 88 88 88oodD' 88 88 88oobY' 88 8P 88 88 88 88 88 88oodD' 88 88 88V8o 88 88ooooo 88V8o 88 88 * 88 88 88 88 88~~~ 88 88 88`8b 88 8b 88 88 88 88 88 88~~~ 88 88 88 V8o88 88~~~~~ 88 V8o88 88 * .88. 88 88 88 88 `8b d8' 88 `88. 88 Y8b d8 `8b d8' 88 88 88 88 `8b d8' 88 V888 88. 88 V888 88 * Y888888P YP YP YP 88 `Y88P' 88 YD YP `Y88P' `Y88P' YP YP YP 88 `Y88P' VP V8P Y88888P VP V8P YP * * */ // import { IPivottiles7WebPartProps, changeCols1, changeCols2, // changeHubs, changeSubs, changeGroups, changeLists, changeLibs, changeStyles, changeSizes, changeHeros, changeItems, changeCats, changeFilters, // changePermissions, changefpsOptions1, changefpsOptions2, // changeNews, changePages, changeBox, changeExpando, changeManual, changeBanner, changeSetup, changeBasic, changeExtraInfo, // PowerBIManualLinks, PowerBIManualLinksHref, // exportIgnoreProps, importBlockPropsDev, importBlockPropsTeam, importBlockPropsCorp, // } from './IPivottiles7WebPartProps'; // import { ISecureScript7WebPartProps } from './ISecureScript7WebPartProps'; // import { changeScript, changeVisitor, exportIgnoreProps, changeExpando, changeBanner, changefpsOptions1, changefpsOptions2, } from './ISecureScript7WebPartProps'; /*** * .d8888. .d8b. .88b d88. d8888b. db d88888b .d88b. d8b db db db db * 88' YP d8' `8b 88'YbdP`88 88 `8D 88 88' .8P Y8. 888o 88 88 `8b d8' * `8bo. 88ooo88 88 88 88 88oodD' 88 88ooooo 88 88 88V8o 88 88 `8bd8' * `Y8b. 88~~~88 88 88 88 88~~~ 88 88~~~~~ 88 88 88 V8o88 88 88 * db 8D 88 88 88 88 88 88 88booo. 88. `8b d8' 88 V888 88booo. 88 * `8888Y' YP YP YP YP YP 88 Y88888P Y88888P `Y88P' VP V8P Y88888P YP * * * .o88b. .d88b. d8888b. db db d888888b .d88b. db .d88b. .o88b. .d8b. db d8888b. d8888b. .d88b. d88b d88888b .o88b. d888888b * d8P Y8 .8P Y8. 88 `8D `8b d8' `~~88~~' .8P Y8. 88 .8P Y8. d8P Y8 d8' `8b 88 88 `8D 88 `8D .8P Y8. `8P' 88' d8P Y8 `~~88~~' * 8P 88 88 88oodD' `8bd8' 88 88 88 88 88 88 8P 88ooo88 88 88oodD' 88oobY' 88 88 88 88ooooo 8P 88 * 8b 88 88 88~~~ 88 88 88 88 88 88 88 8b 88~~~88 88 88~~~ 88`8b 88 88 88 88~~~~~ 8b 88 * Y8b d8 `8b d8' 88 88 88 `8b d8' 88booo. `8b d8' Y8b d8 88 88 88booo. 88 88 `88. `8b d8' db. 88 88. Y8b d8 88 * `Y88P' `Y88P' 88 YP YP `Y88P' Y88888P `Y88P' `Y88P' YP YP Y88888P 88 88 YD `Y88P' Y8888P Y88888P `Y88P' YP * * */ /*** * d88888b db db d8888b. .d88b. d8888b. d888888b d8888b. d8888b. .d88b. d8888b. .d8888. * 88' `8b d8' 88 `8D .8P Y8. 88 `8D `~~88~~' 88 `8D 88 `8D .8P Y8. 88 `8D 88' YP * 88ooooo `8bd8' 88oodD' 88 88 88oobY' 88 88oodD' 88oobY' 88 88 88oodD' `8bo. * 88~~~~~ .dPYb. 88~~~ 88 88 88`8b 88 88~~~ 88`8b 88 88 88~~~ `Y8b. * 88. .8P Y8. 88 `8b d8' 88 `88. 88 88 88 `88. `8b d8' 88 db 8D * Y88888P YP YP 88 `Y88P' 88 YD YP 88 88 YD `Y88P' 88 `8888Y' * * */ /** * buildExportProps builds up an object of specific webpart properties that can be exported via the help panel * @returns exportObject */ function buildExportProps(wpProps, wpInstanceID, currentWeb) { // let exportStructure :IMinExportObject = {}; // let wpInstanceIDSplit = wpInstanceID.split('|'); // exportStructure.wpInstanceID = [ wpInstanceIDSplit[0], wpInstanceIDSplit[1], wpInstanceIDSplit[3]].join(' ~ '); // exportStructure.currentWeb = currentWeb; // exportStructure.Script = changeScript; // exportStructure.Visitor = changeVisitor; // exportStructure.Expando = changeExpando; // exportStructure.Banner = changeBanner; // exportStructure.fpsOptions1 = changefpsOptions1; // exportStructure.fpsOptions2 = changefpsOptions2; // let exportObject = createExportObject( exportStructure, wpProps, exportIgnoreProps, false ); // console.log('Exportable Props:', exportObject ); // return exportObject; } exports.buildExportProps = buildExportProps; //# sourceMappingURL=BuildExportProps.js.map