Icard/angular-clarity-master(work.../node_modules/primeng/esm2022/dynamicdialog/dynamicdialog-config.mjs

182 lines
12 KiB
JavaScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
/**
* Dialogs can be created dynamically with any component as the content using a DialogService.
* @group Components
*/
export class DynamicDialogConfig {
/**
* An object to pass to the component loaded inside the Dialog.
* @group Props
*/
data;
/**
* Header text of the dialog.
* @group Props
*/
header;
/**
* Identifies the element (or elements) that labels the element it is applied to.
* @group Props
*/
ariaLabelledBy;
/**
* Footer text of the dialog.
* @group Props
*/
footer;
/**
* Width of the dialog.
* @group Props
*/
width;
/**
* Height of the dialog.
* @group Props
*/
height;
/**
* Specifies if pressing escape key should hide the dialog.
* @group Props
*/
closeOnEscape;
/**
* Specifies if autofocus should happen on show.
* @group Props
*/
focusOnShow = true;
/**
* When enabled, can only focus on elements inside the dialog.
* @group Props
*/
focusTrap = true;
/**
* Base zIndex value to use in layering.
* @group Props
*/
baseZIndex;
/**
* Whether to automatically manage layering.
* @group Props
*/
autoZIndex;
/**
* Specifies if clicking the modal background should hide the dialog.
* @group Props
*/
dismissableMask;
/**
* Inline style of the component.
* @group Props
*/
rtl;
/**
* Inline style of the comopnent.
* @group Props
*/
style;
/**
* Inline style of the content.
* @group Props
*/
contentStyle;
/**
* Style class of the component.
* @group Props
*/
styleClass;
/**
* Transition options of the animation.
* @group Props
*/
transitionOptions;
/**
* Adds a close icon to the header to hide the dialog.
* @group Props
*/
closable;
/**
* Whether to show the header or not.
* @group Props
*/
showHeader;
/**
* Defines if background should be blocked when dialog is displayed.
* @group Props
*/
modal;
/**
* Style class of the mask.
* @group Props
*/
maskStyleClass;
/**
* Enables resizing of the content.
* @group Props
*/
resizable;
/**
* Enables dragging to change the position using header.
* @group Props
*/
draggable;
/**
* Keeps dialog in the viewport.
* @group Props
*/
keepInViewport;
/**
* Minimum value for the left coordinate of dialog in dragging.
* @group Props
*/
minX;
/**
* Minimum value for the top coordinate of dialog in dragging.
* @group Props
*/
minY;
/**
* Whether the dialog can be displayed full screen.
* @group Props
*/
maximizable;
/**
* Name of the maximize icon.
* @group Props
*/
maximizeIcon;
/**
* Name of the minimize icon.
* @group Props
*/
minimizeIcon;
/**
* Position of the dialog, options are "center", "top", "bottom", "left", "right", "top-left", "top-right", "bottom-left" or "bottom-right".
* @group Props
*/
position;
/**
* Defines a string that labels the close button for accessibility.
* @group Props
*/
closeAriaLabel;
/**
* Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name).
* @group Props
*/
appendTo;
/**
* A boolean to determine if it can be duplicate.
* @group Props
*/
duplicate;
/**
* Object literal to define widths per screen size.
* @group Props
*/
breakpoints;
/**
* Dialog templates.
* @group Props
*/
templates;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pY2RpYWxvZy1jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZHluYW1pY2RpYWxvZy9keW5hbWljZGlhbG9nLWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTs7O0dBR0c7QUFDSCxNQUFNLE9BQU8sbUJBQW1CO0lBQzVCOzs7T0FHRztJQUNILElBQUksQ0FBSztJQUNUOzs7T0FHRztJQUNILE1BQU0sQ0FBVTtJQUNoQjs7O09BR0c7SUFDSCxjQUFjLENBQVU7SUFDeEI7OztPQUdHO0lBQ0gsTUFBTSxDQUFVO0lBQ2hCOzs7T0FHRztJQUNILEtBQUssQ0FBVTtJQUNmOzs7T0FHRztJQUNILE1BQU0sQ0FBVTtJQUNoQjs7O09BR0c7SUFDSCxhQUFhLENBQVc7SUFDeEI7OztPQUdHO0lBQ0gsV0FBVyxHQUFhLElBQUksQ0FBQztJQUM3Qjs7O09BR0c7SUFDSCxTQUFTLEdBQWEsSUFBSSxDQUFDO0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