Interface Data
get alwaysOnTop(): boolean;
set alwaysOnTop(alwaysOnTop: boolean): void;
get buttons(): { [key: string]: TJSDialog.ButtonData };
set buttons(buttons: { [key: string]: TJSDialog.ButtonData }): void;
get content(): | string
| Embed<SvelteComponent<any, any, any>, { PropsOmit: never }>;
set content(
content:
| string
| Embed<SvelteComponent<any, any, any>, { PropsOmit: never }>,
): void;
get default(): string;
set default(newDefault: string): void;
get draggable(): boolean;
set draggable(draggable: boolean): void;
get focusAuto(): boolean;
set focusAuto(focusAuto: boolean): void;
get focusFirst(): boolean;
set focusFirst(focusFirst: boolean): void;
get focusKeep(): boolean;
set focusKeep(focusKeep: boolean): void;
get minimizable(): boolean;
set minimizable(minimizable: boolean): void;
get modal(): boolean;
set modal(modal: boolean): void;
get modalOptions(): OptionsModal;
set modalOptions(modalOptions: OptionsModal): void;
get notifyError(): boolean;
set notifyError(notifyError: boolean): void;
get onClose(): string | ((data?: { application?: TJSDialog }) => any);
set onClose(
onClose: string | ((data?: { application?: TJSDialog }) => any),
): void;
get rejectClose(): boolean;
set rejectClose(rejectClose: boolean): void;
get resizable(): boolean;
set resizable(resizable: boolean): void;
get resolveId(): boolean;
set resolveId(resolveId: boolean): void;
get title(): string;
set title(title: string): void;
get transition(): OptionsTransition;
set transition(transition: OptionsTransition): void;
get zIndex(): number;
set zIndex(zIndex: number): void;
clone(): OptionsData;
get(accessor: string, defaultValue?: any): any;
merge(data: OptionsData): void;
replace(data: OptionsData): void;
set(accessor: string, value: any): boolean;
}
Accessors
alwaysOnTop  
- get alwaysOnTop(): booleanReturns booleanThe dialog always on top state. 
- set alwaysOnTop(alwaysOnTop: boolean): voidSet the dialog always on top state. Parameters- alwaysOnTop: booleanNew dialog always on top state. 
 Returns void
- alwaysOnTop: boolean
buttons
- Returns { [key: string]: TJSDialog.ButtonData }- The dialog button configuration. 
- Set the dialog button configuration. - Parameters- buttons: { [key: string]: TJSDialog.ButtonData }New dialog button configuration. 
 - Returns void
- buttons: { [key: string]: TJSDialog.ButtonData }
content
- Returns string | Embed<SvelteComponent<any, any, any>, { PropsOmit: never }>- The Svelte configuration object or HTML string content. 
- set content(
 content:
 | string
 | Embed<SvelteComponent<any, any, any>, { PropsOmit: never }>,
 ): voidSet the Svelte configuration object or HTML string content. Parameters- content: string | Embed<SvelteComponent<any, any, any>, { PropsOmit: never }>New Svelte configuration object or HTML string content. 
 Returns void
- content: string | Embed<SvelteComponent<any, any, any>, { PropsOmit: never }>
default
- get default(): stringReturns stringThe default button ID to focus initially. 
- set default(newDefault: string): voidSet the default button ID to focus initially. Parameters- newDefault: stringNew default button ID to focus initially. 
 Returns void
- newDefault: string
draggable
- get draggable(): booleanReturns booleanThe dialog draggablestate; draggable when true.
- set draggable(draggable: boolean): voidSet the dialog state; draggable when true. Parameters- draggable: booleanNew dialog draggablestate; draggable when true.
 Returns void
- draggable: boolean
focusAuto 
- get focusAuto(): booleanReturns booleanWhen true auto-management of app focus is enabled. 
- set focusAuto(focusAuto: boolean): voidSet the dialog auto-management of app focus. Parameters- focusAuto: booleanNew dialog auto-management of app focus. 
 Returns void
- focusAuto: boolean
focusFirst 
- get focusFirst(): booleanReturns booleanWhen true the first focusable element that isn't a button is focused. 
- set focusFirst(focusFirst: boolean): voidSet the dialog first focusable element state. Parameters- focusFirst: booleanNew dialog first focusable element state. 
 Returns void
- focusFirst: boolean
focusKeep 
- get focusKeep(): booleanReturns booleanWhen focusAutoandfocusKeepis true; keeps internal focus.
- set focusKeep(focusKeep: boolean): voidSet the dialog focusKeepstate. WhenfocusAutoandfocusKeepare true, then keep internal focus.Parameters- focusKeep: booleanNew dialog focusKeepstate.
 Returns void
- focusKeep: boolean
minimizable
- get minimizable(): booleanReturns booleanWhen true the dialog is minimizable. 
- set minimizable(minimizable: boolean): voidSet the dialog minimizablestate. When true, the dialog is minimizable.Parameters- minimizable: booleanNew dialog minimizablestate.
 Returns void
- minimizable: boolean
modal
- get modal(): booleanReturns booleanWhen true a modal dialog is displayed. 
- set modal(modal: boolean): voidSet the dialog modalstate. When true, a modal dialog is displayed.Parameters- modal: booleanNew dialog modalstate.
 Returns void
- modal: boolean
modalOptions 
- Returns OptionsModal- Additional options for modal dialog display. 
- Set additional options for modal dialog display. - Parameters- modalOptions: OptionsModalNew additional options for modal dialog display. 
 - Returns void
- modalOptions: OptionsModal
notifyError 
- get notifyError(): booleanReturns booleanWhen true and an error is raised in dialog callback functions post a UI error notification. 
- set notifyError(notifyError: boolean): voidSet the dialog notifyErrorstate. When true and an error is raised in the dialog, callback functions post a UI error notification.Parameters- notifyError: booleanNew dialog notifyErrorstate.
 Returns void
- notifyError: boolean
onClose 
- Returns string | ((data?: { application?: TJSDialog }) => any)- Callback invoked when dialog is closed; no button option selected. When defined as a string, any matching function by name exported from the content Svelte component is invoked. 
- Set callback invoked when the dialog is closed; no button option selected. When defined as a string, any matching function by name exported from the content Svelte component is invoked. - Parameters- onClose: string | ((data?: { application?: TJSDialog }) => any)New dialog onClosestate.
 - Returns void
- onClose: string | ((data?: { application?: TJSDialog }) => any)
rejectClose 
- get rejectClose(): booleanReturns booleanDialog rejectClosestate. When true and a Promise has been created by TJSDialog.wait and the Promise is not in the process of being resolved or rejected on close of the dialog anyonClosefunction is invoked and any result that is undefined will cause the Promise to then be rejected.
- set rejectClose(rejectClose: boolean): voidSet the dialog rejectClosestate.Parameters- rejectClose: booleanNew dialog rejectClosestate.
 Returns void
- rejectClose: boolean
resizable
- get resizable(): booleanReturns booleanWhen true the dialog is resizable. 
- set resizable(resizable: boolean): voidSet the dialog resizablestate. When true, the dialog is resizable.Parameters- resizable: booleanNew dialog resizablestate.
 Returns void
- resizable: boolean
resolveId 
- get resolveId(): booleanReturns booleanWhen true and resolving any Promises and there are undefined results from any button callbacks the button ID is resolved. 
- set resolveId(resolveId: boolean): voidSet the dialog resolveIdstate. When true and resolving any Promises and there are undefined results from any button callbacks, the button ID is resolved.Parameters- resolveId: booleanNew dialog resolveIdstate.
 Returns void
- resolveId: boolean
title
- get title(): stringReturns stringThe dialog window title. 
- set title(title: string): voidSet the dialog window title. Parameters- title: stringNew dialog window title. 
 Returns void
- title: string
transition
- Returns OptionsTransition- Transition options for the dialog. 
- Set transition options for the dialog. - Parameters- transition: OptionsTransitionNew transition options for the dialog. 
 - Returns void
- transition: OptionsTransition
zIndex 
- get zIndex(): numberReturns numberA specific z-index for the dialog. 
- set zIndex(zIndex: number): voidSet specific z-index for the dialog. Parameters- zIndex: numberNew z-index for the dialog. 
 Returns void
- zIndex: number
Methods
clone
- Provides a cloned copy of the dialog data. Note: The content attribute is not cloned as complex / props may be present. - Returns OptionsData- A clone of the dialog data. 
get
- Provides a way to safely get this dialogs data given an accessor string which describes the entries to walk. To access deeper entries into the object, then format the accessor string with - .between entries to walk.- Parameters- accessor: stringThe path / key to set. You can set multiple levels. 
- OptionaldefaultValue: any- A default value returned if the accessor is not found. 
 - Returns any- Value at the accessor. 
- accessor: string
merge
- Parameters- data: OptionsDataMerge provided data object into Dialog data. 
 - Returns void
- data: OptionsData
replace
set
- Provides a way to safely set this dialog data given an accessor string which describes the entries to walk. To access deeper entries into the object, then format the accessor string with - .between entries to walk.- Automatically, the dialog data will be updated in the associated DialogShell Svelte component. - Parameters- accessor: stringThe path / key to set. You can set multiple levels. 
- value: anyValue to set. 
 - Returns boolean- True if successful. 
- accessor: string
Provides storage for all dialog options through individual accessors and
get,merge,replaceandsetmethods that safely access and update data changed to the mounted DialogShell component reactively.