26 lines
1.1 KiB
TypeScript
26 lines
1.1 KiB
TypeScript
import { ApplicationCustomizerContext } from '@microsoft/sp-application-base';
|
|
import { IMegaMenuApplicationCustomizerProperties } from './MegaMenuApplicationCustomizer';
|
|
export declare class MegaMenuSettingsPanel {
|
|
private context;
|
|
private dataUpdated;
|
|
private _service;
|
|
private _ucaId;
|
|
private _panelElement;
|
|
private _overlayElement;
|
|
constructor(context: ApplicationCustomizerContext, dataUpdated: (data: IMegaMenuApplicationCustomizerProperties) => void);
|
|
open(): Promise<void>;
|
|
close(): void;
|
|
private readApplicationCustomizerProps();
|
|
private saveApplicationCustomizerProps(componentProps);
|
|
private _createPanel(props);
|
|
private _getMarkup(termSet, cssUrl);
|
|
private _save();
|
|
/**
|
|
* Hält den Fokus innerhalb des Settings-Panels gefangen (Focus Trapping).
|
|
* Wichtig für Accessibility: Verhindert, dass Tab-Navigation aus dem modalen Dialog herausführt.
|
|
* Bei Tab am letzten Element → springt zum ersten, bei Shift+Tab am ersten → springt zum letzten.
|
|
*/
|
|
private _trapFocus(e);
|
|
private _escape(value);
|
|
}
|