@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
32 lines • 1.38 kB
JavaScript
/**
* 2025-03-12:
* This is more intended to be a readme of the tested class changes.
* If you try to use a Pre-Config _class... you have to test anything that has not be tested
* to make sure that there is not a problem in the logic.
*
* Here are some examples that needed corrections:
* 1) getThisSitesPreConfigProps >> was testing the preconfigX value that was not set to lowerCase()
* 2) _wpInfoGroupExpanded: true >> FPSWebPartInfoGroup logic had the value set as just 'true' not
* 3) _allowSiteThemeChoice: false >> applyPreConfiguredClass had if ( valueX ) which then bypased the false value altogether
*
*
*/
const easyMode = 'FPSPropsObj.easyMode';
//Specific to this web part
export const WPClassTestWORKS = {
source: 'ClassPivotTilesWebPart',
location: '/sites/PivotTilesWebPart',
props: {
// showExport : false,
_wpTDRight: [easyMode, 'zzzText7'],
_wpInfoGroupExpanded: true,
_allowSiteThemeChoice: false,
_allowPinMe: true,
_allowFieldPanel: 'Auto', // Did not see it - you need specific property for listPicker
// this._allowPinMe = false;
// this._allowPropsEasyMode = true;
// this._wpInfoGroupExpanded = false;
// this._allowFieldPanel = 'Disabled';
}
};
//# sourceMappingURL=PreConfiguredClassConstants_Verified.js.map