@mikezimm/npmfunctions
Version:
Functions used in my SPFx webparts
29 lines • 1.2 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FPSPinMePropsGroup = exports.PinMeLocations = void 0;
var sp_property_pane_1 = require("@microsoft/sp-property-pane");
// import { getHelpfullErrorV2 } from '../Logging/ErrorHandler';
// import { JSON_Edit_Link } from './zReusablePropPane';
exports.PinMeLocations = [
{ index: 0, key: 'normal', text: "normal" },
{ index: 1, key: 'pinFull', text: "Pin Expanded" },
{ index: 2, key: 'pinMini', text: "Pin Collapsed" },
{ index: 0, key: 'disabled', text: "disabled" },
];
exports.FPSPinMePropsGroup = {
groupName: "Pin Me",
groupFields: [
(0, sp_property_pane_1.PropertyPaneDropdown)('defPinState', {
label: 'Default Location - "Pin Expanded" updates after save',
options: exports.PinMeLocations, //MinHeadingOptions
}),
//
(0, sp_property_pane_1.PropertyPaneToggle)("forcePinState", {
label: "Force Pin State",
onText: "Enforce - No toggle",
offText: "Let user change",
// disabled: true,
}),
]
};
//# sourceMappingURL=FPSOptionsGroupPinMe.js.map