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

182 lines
12 KiB
JavaScript

/**
* 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pY2RpYWxvZy1jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZHluYW1pY2RpYWxvZy9keW5hbWljZGlhbG9nLWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTs7O0dBR0c7QUFDSCxNQUFNLE9BQU8sbUJBQW1CO0lBQzVCOzs7T0FHRztJQUNILElBQUksQ0FBSztJQUNUOzs7T0FHRztJQUNILE1BQU0sQ0FBVTtJQUNoQjs7O09BR0c7SUFDSCxjQUFjLENBQVU7SUFDeEI7OztPQUdHO0lBQ0gsTUFBTSxDQUFVO0lBQ2hCOzs7T0FHRztJQUNILEtBQUssQ0FBVTtJQUNmOzs7T0FHRztJQUNILE1BQU0sQ0FBVTtJQUNoQjs7O09BR0c7SUFDSCxhQUFhLENBQVc7SUFDeEI7OztPQUdHO0lBQ0gsV0FBVyxHQUFhLElBQUksQ0FBQztJQUM3Qjs7O09BR0c7SUFDSCxTQUFTLEdBQWEsSUFBSSxDQUFDO0lBQzNCOzs7T0FHRztJQUNILFVBQVUsQ0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