@mikezimm/fps-library-v2
Version:
Library of reusable typescript/javascript functions, interfaces and constants
38 lines (36 loc) • 1.62 kB
JavaScript
/**
* CodeAnalizerComment: Updated 3 imports on 2024-09-22 14:49:52
* Update:: import { IPropertyPaneGroup } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/sp-property-pane;'
* Update:: import { IPropertyPaneField } to '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/sp-property-pane;'
* Update:: import { IThisFPSWebPartClass } to '@mikezimm/fps-core-v7/lib/banner/FPSWebPartClass/IThisFPSWebPartClass1152;'
*/
/**
* CodeAnalizerComment: Updated 1 imports on 2024-09-21 23:07:24
* Update:: import { IThisFPSWebPartClass } to '@mikezimm/fps-core-v7/lib/banner/FPSWebPartClass/IThisFPSWebPartClass1152;'
*/
import { PropertyPaneLabel, PropertyPaneTextField, } from '@microsoft/sp-property-pane';
export function FPSFieldsPanelPropGroup(thisWPClass) {
const groupFields = [];
if (thisWPClass._allowFieldPanel === 'Disabled') {
groupFields.push(PropertyPaneLabel('nothing', {
text: `This set of options should not be available in the prop pane: ${thisWPClass._allowFieldPanel}`
}));
}
else {
groupFields.push(PropertyPaneTextField('webUrl', {
label: 'webUrl',
description: 'Leave blank for current site',
}));
groupFields.push(PropertyPaneTextField('listTitle', {
label: 'listTitle',
description: 'Full Title of list or library',
}));
}
const ExportThisGroup = {
groupName: `List Columns builder`,
isCollapsed: true,
groupFields: groupFields
};
return ExportThisGroup;
}
//# sourceMappingURL=PPCPropGroup.js.map