@anguless/angulux 22.6.6 → 22.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/anguless-angulux-confirmdialog.mjs +9 -3
- package/fesm2022/anguless-angulux-confirmdialog.mjs.map +1 -1
- package/fesm2022/anguless-angulux-fileupload.mjs +13 -1
- package/fesm2022/anguless-angulux-fileupload.mjs.map +1 -1
- package/fesm2022/anguless-angulux-menu.mjs +2 -2
- package/fesm2022/anguless-angulux-menu.mjs.map +1 -1
- package/fesm2022/anguless-angulux-motion.mjs +17 -0
- package/fesm2022/anguless-angulux-motion.mjs.map +1 -1
- package/fesm2022/anguless-angulux-multiselect.mjs +1 -1
- package/fesm2022/anguless-angulux-multiselect.mjs.map +1 -1
- package/fesm2022/anguless-angulux-overlay.mjs +5 -1
- package/fesm2022/anguless-angulux-overlay.mjs.map +1 -1
- package/fesm2022/anguless-angulux-progressbar.mjs +8 -3
- package/fesm2022/anguless-angulux-progressbar.mjs.map +1 -1
- package/fesm2022/anguless-angulux-tieredmenu.mjs +2 -2
- package/fesm2022/anguless-angulux-tieredmenu.mjs.map +1 -1
- package/fesm2022/anguless-angulux-toast.mjs +14 -1
- package/fesm2022/anguless-angulux-toast.mjs.map +1 -1
- package/package.json +1 -1
- package/types/anguless-angulux-confirmdialog.d.ts +4 -0
- package/types/anguless-angulux-fileupload.d.ts +1 -2
- package/types/anguless-angulux-toast.d.ts +1 -2
|
@@ -350,9 +350,9 @@ class ConfirmDialog extends BaseComponent {
|
|
|
350
350
|
});
|
|
351
351
|
}
|
|
352
352
|
onInit() {
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
353
|
+
// `breakpoints` is passed to the inner dialog, which writes the media rule for the attribute it
|
|
354
|
+
// sets on its own container. The rule this component wrote named its OWN id, which no element
|
|
355
|
+
// carries, so it never applied.
|
|
356
356
|
this.translationSubscription = this.config.translationObserver.subscribe(() => {
|
|
357
357
|
if (this.visible) {
|
|
358
358
|
this.cd.markForCheck();
|
|
@@ -392,6 +392,10 @@ class ConfirmDialog extends BaseComponent {
|
|
|
392
392
|
return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-accept');
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
+
/**
|
|
396
|
+
* @deprecated No longer called: `breakpoints` is applied by the inner dialog. Its rule named this
|
|
397
|
+
* component's own id, which no element carries, so it never matched. Kept for API compatibility.
|
|
398
|
+
*/
|
|
395
399
|
createStyle() {
|
|
396
400
|
if (!this.styleElement) {
|
|
397
401
|
this.styleElement = this.document.createElement('style');
|
|
@@ -518,6 +522,7 @@ class ConfirmDialog extends BaseComponent {
|
|
|
518
522
|
[appendTo]="$appendTo()"
|
|
519
523
|
[position]="position"
|
|
520
524
|
[style]="style"
|
|
525
|
+
[breakpoints]="breakpoints"
|
|
521
526
|
[dismissableMask]="dismissableMask"
|
|
522
527
|
[draggable]="draggable"
|
|
523
528
|
[baseZIndex]="baseZIndex"
|
|
@@ -626,6 +631,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImpor
|
|
|
626
631
|
[appendTo]="$appendTo()"
|
|
627
632
|
[position]="position"
|
|
628
633
|
[style]="style"
|
|
634
|
+
[breakpoints]="breakpoints"
|
|
629
635
|
[dismissableMask]="dismissableMask"
|
|
630
636
|
[draggable]="draggable"
|
|
631
637
|
[baseZIndex]="baseZIndex"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anguless-angulux-confirmdialog.mjs","sources":["../../src/confirmdialog/style/confirmdialogstyle.ts","../../src/confirmdialog/confirmdialog.ts","../../src/confirmdialog/anguless-angulux-confirmdialog.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@anguless/angulux-styles/confirmdialog';\nimport { BaseStyle } from '@anguless/angulux/base';\n\nconst classes = {\n root: 'p-confirmdialog',\n icon: 'p-confirmdialog-icon',\n message: 'p-confirmdialog-message',\n pcRejectButton: 'p-confirmdialog-reject-button',\n pcAcceptButton: 'p-confirmdialog-accept-button'\n};\n\n@Injectable()\nexport class ConfirmDialogStyle extends BaseStyle {\n name = 'confirmdialog';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * ConfirmDialog uses a Dialog UI with confirmDialog method or <ConfirmDialog> tag.\n *\n * @module confirmdialogstyle\n *\n */\nexport enum ConfirmDialogClasses {\n /**\n * Class name of the root element\n */\n root = 'p-confirmdialog',\n /**\n * Class name of the icon element\n */\n icon = 'p-confirmdialog-icon',\n /**\n * Class name of the message element\n */\n message = 'p-confirmdialog-message',\n /**\n * Class name of the reject button element\n */\n pcRejectButton = 'p-confirmdialog-reject-button',\n /**\n * Class name of the accept button element\n */\n pcAcceptButton = 'p-confirmdialog-accept-button'\n}\n\nexport interface ConfirmDialogStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport {\n AfterContentInit,\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n ElementRef,\n EventEmitter,\n inject,\n InjectionToken,\n input,\n Input,\n NgModule,\n NgZone,\n numberAttribute,\n OnDestroy,\n OnInit,\n Output,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { findSingle, setAttribute, uuid } from '@anguless/angulux-utils';\nimport { Confirmation, ConfirmationService, ConfirmEventType, SharedModule, TranslationKeys } from '@anguless/angulux/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';\nimport { Bind } from '@anguless/angulux/bind';\nimport { Button } from '@anguless/angulux/button';\nimport { Dialog } from '@anguless/angulux/dialog';\nimport { Nullable } from '@anguless/angulux/ts-helpers';\nimport { ConfirmDialogHeadlessTemplateContext, ConfirmDialogMessageTemplateContext, ConfirmDialogPassThrough } from '@anguless/angulux/types/confirmdialog';\nimport { Subscription } from 'rxjs';\nimport { ConfirmDialogStyle } from './style/confirmdialogstyle';\n\nconst CONFIRMDIALOG_INSTANCE = new InjectionToken<ConfirmDialog>('CONFIRMDIALOG_INSTANCE');\n\n/**\n * ConfirmDialog uses a Dialog UI that is integrated with the Confirmation API.\n * @group Components\n */\n@Component({\n selector: 'agl-confirmDialog, agl-confirmdialog, agl-confirm-dialog',\n standalone: true,\n imports: [CommonModule, Button, Dialog, SharedModule, Bind],\n template: `\n <agl-dialog\n [pt]=\"pt\"\n #dialog\n [visible]=\"visible\"\n (visibleChange)=\"onVisibleChange($event)\"\n [role]=\"'alertdialog'\"\n [closable]=\"option('closable')\"\n [closeAriaLabel]=\"option('closeAriaLabel') || option('closeButtonProps')?.ariaLabel\"\n [styleClass]=\"cn(cx('root'), styleClass)\"\n [modal]=\"option('modal')\"\n [header]=\"option('header')\"\n [closeOnEscape]=\"option('closeOnEscape')\"\n [blockScroll]=\"option('blockScroll')\"\n [appendTo]=\"$appendTo()\"\n [position]=\"position\"\n [style]=\"style\"\n [dismissableMask]=\"dismissableMask\"\n [draggable]=\"draggable\"\n [baseZIndex]=\"baseZIndex\"\n [autoZIndex]=\"autoZIndex\"\n [maskStyleClass]=\"cn(cx('mask'), maskStyleClass)\"\n [unstyled]=\"unstyled()\"\n (onHide)=\"onDialogHide()\"\n >\n @if (headlessTemplate()) {\n <ng-template #headless>\n <ng-container\n *ngTemplateOutlet=\"\n headlessTemplate();\n context: {\n $implicit: confirmation,\n onAccept: onAccept.bind(this),\n onReject: onReject.bind(this)\n }\n \"\n ></ng-container>\n </ng-template>\n } @else {\n @if (headerTemplate()) {\n <ng-template #header>\n <ng-container *ngTemplateOutlet=\"headerTemplate()\"></ng-container>\n </ng-template>\n }\n\n <ng-template #content>\n @if (iconTemplate()) {\n <ng-template *ngTemplateOutlet=\"iconTemplate()\"></ng-template>\n } @else if (!iconTemplate() && !messageTemplate()) {\n <i [ngClass]=\"cx('icon')\" [class]=\"option('icon')\" [aglBind]=\"ptm('icon')\" *ngIf=\"option('icon')\"></i>\n }\n @if (messageTemplate()) {\n <ng-template *ngTemplateOutlet=\"messageTemplate(); context: { $implicit: confirmation }\"></ng-template>\n } @else {\n <span [class]=\"cx('message')\" [aglBind]=\"ptm('message')\" [innerHTML]=\"option('message')\"> </span>\n }\n </ng-template>\n }\n <ng-template #footer>\n @if (footerTemplate()) {\n <ng-container *ngTemplateOutlet=\"footerTemplate()\"></ng-container>\n }\n @if (!footerTemplate()) {\n <agl-button\n [pt]=\"ptm('pcRejectButton')\"\n *ngIf=\"option('rejectVisible')\"\n [label]=\"rejectButtonLabel\"\n (onClick)=\"onReject()\"\n [styleClass]=\"getButtonStyleClass('pcRejectButton', 'rejectButtonStyleClass')\"\n [ariaLabel]=\"option('rejectButtonProps', 'ariaLabel')\"\n [buttonProps]=\"getRejectButtonProps()\"\n [unstyled]=\"unstyled()\"\n >\n <ng-template #icon>\n @if (rejectIcon && !rejectIconTemplate()) {\n <i *ngIf=\"option('rejectIcon')\" [class]=\"option('rejectIcon')\" [aglBind]=\"ptm('pcRejectButton')['icon']\"></i>\n }\n <ng-template *ngTemplateOutlet=\"rejectIconTemplate()\"></ng-template>\n </ng-template>\n </agl-button>\n <agl-button\n [pt]=\"ptm('pcAcceptButton')\"\n [label]=\"acceptButtonLabel\"\n (onClick)=\"onAccept()\"\n [styleClass]=\"getButtonStyleClass('pcAcceptButton', 'acceptButtonStyleClass')\"\n *ngIf=\"option('acceptVisible')\"\n [ariaLabel]=\"option('acceptButtonProps', 'ariaLabel')\"\n [buttonProps]=\"getAcceptButtonProps()\"\n [unstyled]=\"unstyled()\"\n >\n <ng-template #icon>\n @if (acceptIcon && !acceptIconTemplate()) {\n <i *ngIf=\"option('acceptIcon')\" [class]=\"option('acceptIcon')\" [aglBind]=\"ptm('pcAcceptButton')['icon']\"></i>\n }\n <ng-template *ngTemplateOutlet=\"acceptIconTemplate()\"></ng-template>\n </ng-template>\n </agl-button>\n }\n </ng-template>\n </agl-dialog>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ConfirmDialogStyle, { provide: CONFIRMDIALOG_INSTANCE, useExisting: ConfirmDialog }, { provide: PARENT_INSTANCE, useExisting: ConfirmDialog }],\n hostDirectives: [Bind]\n})\nexport class ConfirmDialog extends BaseComponent<ConfirmDialogPassThrough> implements OnInit, AfterContentInit, OnDestroy {\n componentName = 'ConfirmDialog';\n\n $pcConfirmDialog: ConfirmDialog | undefined = inject(CONFIRMDIALOG_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptm('host'));\n }\n\n /**\n * Title text of the dialog.\n * @group Props\n */\n @Input() header: string | undefined;\n /**\n * Icon to display next to message.\n * @group Props\n */\n @Input() icon: string | undefined;\n /**\n * Message of the confirmation.\n * @group Props\n */\n @Input() message: string | undefined;\n /**\n * Inline style of the element.\n * @group Props\n */\n @Input() get style(): { [klass: string]: any } | null | undefined {\n return this._style;\n }\n set style(value: { [klass: string]: any } | null | undefined) {\n this._style = value;\n this.cd.markForCheck();\n }\n /**\n * Class of the element.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Specify the CSS class(es) for styling the mask element\n * @group Props\n */\n @Input() maskStyleClass: string | undefined;\n /**\n * Icon of the accept button.\n * @group Props\n */\n @Input() acceptIcon: string | undefined;\n /**\n * Label of the accept button.\n * @group Props\n */\n @Input() acceptLabel: string | undefined;\n /**\n * Defines a string that labels the close button for accessibility.\n * @group Props\n */\n @Input() closeAriaLabel: string | undefined;\n /**\n * Defines a string that labels the accept button for accessibility.\n * @group Props\n */\n @Input() acceptAriaLabel: string | undefined;\n /**\n * Visibility of the accept button.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) acceptVisible: boolean = true;\n /**\n * Icon of the reject button.\n * @group Props\n */\n @Input() rejectIcon: string | undefined;\n /**\n * Label of the reject button.\n * @group Props\n */\n @Input() rejectLabel: string | undefined;\n /**\n * Defines a string that labels the reject button for accessibility.\n * @group Props\n */\n @Input() rejectAriaLabel: string | undefined;\n /**\n * Visibility of the reject button.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) rejectVisible: boolean = true;\n /**\n * Style class of the accept button.\n * @group Props\n */\n @Input() acceptButtonStyleClass: string | undefined;\n /**\n * Style class of the reject button.\n * @group Props\n */\n @Input() rejectButtonStyleClass: string | undefined;\n /**\n * Specifies if pressing escape key should hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closeOnEscape: boolean = true;\n /**\n * Specifies if clicking the modal background should hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) dismissableMask: boolean | undefined;\n /**\n * Determines whether scrolling behavior should be blocked within the component.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) blockScroll: boolean = true;\n /**\n * When enabled dialog is displayed in RTL direction.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) rtl: boolean = false;\n /**\n * Adds a close icon to the header to hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closable: boolean = true;\n /**\n * 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).\n * @defaultValue 'body'\n * @group Props\n */\n appendTo = input<HTMLElement | ElementRef | TemplateRef<any> | 'self' | 'body' | null | undefined | any>('body');\n /**\n * Optional key to match the key of confirm object, necessary to use when component tree has multiple confirm dialogs.\n * @group Props\n */\n @Input() key: string | undefined;\n /**\n * Whether to automatically manage layering.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) autoZIndex: boolean = true;\n /**\n * Base zIndex value to use in layering.\n * @group Props\n */\n @Input({ transform: numberAttribute }) baseZIndex: number = 0;\n /**\n * Transition options of the animation.\n * @group Props\n */\n @Input() transitionOptions: string = '150ms cubic-bezier(0, 0, 0.2, 1)';\n /**\n * When enabled, can only focus on elements inside the confirm dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) focusTrap: boolean = true;\n /**\n * Element to receive the focus when the dialog gets visible.\n * @group Props\n */\n @Input() defaultFocus: 'accept' | 'reject' | 'close' | 'none' = 'accept';\n /**\n * Object literal to define widths per screen size.\n * @group Props\n */\n @Input() breakpoints: any;\n /**\n * Defines if background should be blocked when dialog is displayed.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) modal: boolean = true;\n /**\n * Current visible state as a boolean.\n * @group Props\n */\n @Input() get visible(): any {\n return this._visible;\n }\n\n set visible(value: any) {\n this._visible = value;\n\n if (this._visible && !this.maskVisible) {\n this.maskVisible = true;\n }\n\n this.cd.markForCheck();\n }\n /**\n * Allows getting the position of the component.\n * @group Props\n */\n @Input() position: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright' = 'center';\n /**\n * Enables dragging to change the position using header.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) draggable: boolean = true;\n /**\n * Callback to invoke when dialog is hidden.\n * @param {ConfirmEventType} enum - Custom confirm event.\n * @group Emits\n */\n @Output() onHide: EventEmitter<ConfirmEventType> = new EventEmitter<ConfirmEventType>();\n\n _componentStyle = inject(ConfirmDialogStyle);\n\n /**\n * Custom header template.\n * @group Templates\n */\n headerTemplate = contentChild<TemplateRef<void>>('header', { descendants: false });\n\n /**\n * Custom footer template.\n * @group Templates\n */\n footerTemplate = contentChild<TemplateRef<void>>('footer', { descendants: false });\n\n /**\n * Custom reject icon template.\n * @group Templates\n */\n rejectIconTemplate = contentChild<TemplateRef<void>>('rejecticon', { descendants: false });\n\n /**\n * Custom accept icon template.\n * @group Templates\n */\n acceptIconTemplate = contentChild<TemplateRef<void>>('accepticon', { descendants: false });\n\n /**\n * Custom message template.\n * @group Templates\n */\n messageTemplate = contentChild<TemplateRef<ConfirmDialogMessageTemplateContext>>('message', { descendants: false });\n\n /**\n * Custom icon template.\n * @group Templates\n */\n iconTemplate = contentChild<TemplateRef<void>>('icon', { descendants: false });\n\n /**\n * Custom headless template.\n * @group Templates\n */\n headlessTemplate = contentChild<TemplateRef<ConfirmDialogHeadlessTemplateContext>>('headless', { descendants: false });\n\n $appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo());\n\n confirmation: Nullable<Confirmation>;\n\n _visible: boolean | undefined;\n\n _style: { [klass: string]: any } | null | undefined;\n\n maskVisible: boolean | undefined;\n\n dialog: Nullable<Dialog>;\n\n wrapper: Nullable<HTMLElement>;\n\n contentContainer: Nullable<HTMLDivElement>;\n\n subscription: Subscription;\n\n preWidth: number | undefined;\n\n styleElement: any;\n\n id = uuid('pn_id_');\n\n ariaLabelledBy: string | null = this.getAriaLabelledBy();\n\n translationSubscription: Subscription | undefined;\n\n constructor(\n private confirmationService: ConfirmationService,\n public zone: NgZone\n ) {\n super();\n this.subscription = this.confirmationService.requireConfirmation$.subscribe((confirmation) => {\n if (!confirmation) {\n this.hide();\n return;\n }\n if (confirmation.key === this.key) {\n this.restoreOwnOptions();\n this.confirmation = confirmation;\n\n const keys = Object.keys(confirmation);\n\n this.applied = keys.map((key) => ({ key, before: this[key], value: confirmation[key] }));\n keys.forEach((key) => {\n this[key] = confirmation[key];\n });\n\n if (this.confirmation.accept) {\n this.confirmation.acceptEvent = new EventEmitter();\n this.confirmation.acceptEvent.subscribe(this.confirmation.accept);\n }\n\n if (this.confirmation.reject) {\n this.confirmation.rejectEvent = new EventEmitter();\n this.confirmation.rejectEvent.subscribe(this.confirmation.reject);\n }\n\n this.visible = true;\n }\n });\n }\n\n onInit() {\n if (this.breakpoints) {\n this.createStyle();\n }\n\n this.translationSubscription = this.config.translationObserver.subscribe(() => {\n if (this.visible) {\n this.cd.markForCheck();\n }\n });\n }\n\n getAriaLabelledBy() {\n return this.header !== null ? uuid('pn_id_') + '_header' : null;\n }\n\n option(name: string, k?: string) {\n const source: { [key: string]: any } = this;\n if (source.hasOwnProperty(name)) {\n const value = k ? source[k] : source[name];\n return typeof value === 'function' ? value() : value;\n }\n\n return undefined;\n }\n\n getButtonStyleClass(cx: string, opt: string): string {\n const cxClass = this.cx(cx);\n const optionClass = this.option(opt);\n\n return [cxClass, optionClass].filter(Boolean).join(' ');\n }\n\n getElementToFocus() {\n if (!this.dialog?.el?.nativeElement) return;\n\n switch (this.option('defaultFocus')) {\n case 'accept':\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-accept');\n\n case 'reject':\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-reject');\n\n case 'close':\n return findSingle(this.dialog.el.nativeElement, '.p-dialog-header-close');\n\n case 'none':\n return null;\n\n //backward compatibility\n default:\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-accept');\n }\n }\n\n createStyle() {\n if (!this.styleElement) {\n this.styleElement = this.document.createElement('style');\n this.styleElement.type = 'text/css';\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n this.document.head.appendChild(this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-dialog[${this.id}] {\n width: ${this.breakpoints[breakpoint]} !important;\n }\n }\n `;\n }\n\n this.styleElement.innerHTML = innerHTML;\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n }\n }\n\n close() {\n if (this.confirmation?.rejectEvent) {\n this.confirmation.rejectEvent.emit(ConfirmEventType.CANCEL);\n }\n\n this.hide(ConfirmEventType.CANCEL);\n }\n\n hide(type?: ConfirmEventType) {\n this.onHide.emit(type);\n this.visible = false;\n // Unsubscribe from confirmation events when the dialogue is closed, because events are created when the dialogue is opened.\n this.unsubscribeConfirmationEvents();\n }\n\n onDialogHide() {\n this.confirmation = null;\n }\n\n /**\n * Every key the open confirmation wrote onto this dialog, with what it held before. A confirmation\n * is applied by copying its keys onto the one long-lived instance, so without putting them back a\n * key the next confirmation does not set showed the previous one's value: its header, its icon,\n * its button text, its danger style.\n */\n private applied: { key: string; before: unknown; value: unknown }[] = [];\n\n /**\n * Puts back what the previous confirmation overwrote, so the next one starts from the dialog's\n * own options: its defaults and whatever is bound on the element. A key that has changed since\n * the confirmation set it was set by something else (a binding on the element) and is left as is.\n */\n private restoreOwnOptions() {\n for (const { key, before, value } of this.applied) {\n if (this[key] === value) {\n this[key] = before;\n }\n }\n this.applied = [];\n }\n\n destroyStyle() {\n if (this.styleElement) {\n this.document.head.removeChild(this.styleElement);\n this.styleElement = null;\n }\n }\n\n onDestroy() {\n this.subscription.unsubscribe();\n // Unsubscribe from confirmation events if the dialogue is opened and this component is somehow destroyed.\n this.unsubscribeConfirmationEvents();\n\n if (this.translationSubscription) {\n this.translationSubscription.unsubscribe();\n }\n\n this.destroyStyle();\n }\n\n onVisibleChange(value: boolean) {\n if (!value) {\n this.close();\n } else {\n this.visible = value;\n }\n }\n\n onAccept() {\n if (this.confirmation && this.confirmation.acceptEvent) {\n this.confirmation.acceptEvent.emit();\n }\n this.hide(ConfirmEventType.ACCEPT);\n }\n\n onReject() {\n if (this.confirmation && this.confirmation.rejectEvent) {\n this.confirmation.rejectEvent.emit(ConfirmEventType.REJECT);\n }\n\n this.hide(ConfirmEventType.REJECT);\n }\n\n unsubscribeConfirmationEvents() {\n if (this.confirmation) {\n this.confirmation.acceptEvent?.unsubscribe();\n this.confirmation.rejectEvent?.unsubscribe();\n }\n }\n\n get acceptButtonLabel(): string {\n return this.option('acceptLabel') || this.getAcceptButtonProps()?.label || this.config.getTranslation(TranslationKeys.ACCEPT);\n }\n\n get rejectButtonLabel(): string {\n return this.option('rejectLabel') || this.getRejectButtonProps()?.label || this.config.getTranslation(TranslationKeys.REJECT);\n }\n\n getAcceptButtonProps() {\n return this.option('acceptButtonProps');\n }\n\n getRejectButtonProps() {\n return this.option('rejectButtonProps');\n }\n}\n\n@NgModule({\n imports: [ConfirmDialog, SharedModule],\n exports: [ConfirmDialog, SharedModule]\n})\nexport class ConfirmDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAIA,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,iBAAiB;AACvB,IAAA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CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;MA8P5G,mBAAmB,CAAA;uGAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAvfnB,aAAa,EAofG,YAAY,CAAA,EAAA,OAAA,EAAA,CApf5B,aAAa,EAqfG,YAAY,CAAA,EAAA,CAAA;AAE5B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAAA,OAAA,EAAA,CAHlB,aAAa,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;2FAE5B,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY;AACxC,iBAAA;;;AC5oBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"anguless-angulux-confirmdialog.mjs","sources":["../../src/confirmdialog/style/confirmdialogstyle.ts","../../src/confirmdialog/confirmdialog.ts","../../src/confirmdialog/anguless-angulux-confirmdialog.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@anguless/angulux-styles/confirmdialog';\nimport { BaseStyle } from '@anguless/angulux/base';\n\nconst classes = {\n root: 'p-confirmdialog',\n icon: 'p-confirmdialog-icon',\n message: 'p-confirmdialog-message',\n pcRejectButton: 'p-confirmdialog-reject-button',\n pcAcceptButton: 'p-confirmdialog-accept-button'\n};\n\n@Injectable()\nexport class ConfirmDialogStyle extends BaseStyle {\n name = 'confirmdialog';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * ConfirmDialog uses a Dialog UI with confirmDialog method or <ConfirmDialog> tag.\n *\n * @module confirmdialogstyle\n *\n */\nexport enum ConfirmDialogClasses {\n /**\n * Class name of the root element\n */\n root = 'p-confirmdialog',\n /**\n * Class name of the icon element\n */\n icon = 'p-confirmdialog-icon',\n /**\n * Class name of the message element\n */\n message = 'p-confirmdialog-message',\n /**\n * Class name of the reject button element\n */\n pcRejectButton = 'p-confirmdialog-reject-button',\n /**\n * Class name of the accept button element\n */\n pcAcceptButton = 'p-confirmdialog-accept-button'\n}\n\nexport interface ConfirmDialogStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport {\n AfterContentInit,\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n ElementRef,\n EventEmitter,\n inject,\n InjectionToken,\n input,\n Input,\n NgModule,\n NgZone,\n numberAttribute,\n OnDestroy,\n OnInit,\n Output,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { findSingle, setAttribute, uuid } from '@anguless/angulux-utils';\nimport { Confirmation, ConfirmationService, ConfirmEventType, SharedModule, TranslationKeys } from '@anguless/angulux/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';\nimport { Bind } from '@anguless/angulux/bind';\nimport { Button } from '@anguless/angulux/button';\nimport { Dialog } from '@anguless/angulux/dialog';\nimport { Nullable } from '@anguless/angulux/ts-helpers';\nimport { ConfirmDialogHeadlessTemplateContext, ConfirmDialogMessageTemplateContext, ConfirmDialogPassThrough } from '@anguless/angulux/types/confirmdialog';\nimport { Subscription } from 'rxjs';\nimport { ConfirmDialogStyle } from './style/confirmdialogstyle';\n\nconst CONFIRMDIALOG_INSTANCE = new InjectionToken<ConfirmDialog>('CONFIRMDIALOG_INSTANCE');\n\n/**\n * ConfirmDialog uses a Dialog UI that is integrated with the Confirmation API.\n * @group Components\n */\n@Component({\n selector: 'agl-confirmDialog, agl-confirmdialog, agl-confirm-dialog',\n standalone: true,\n imports: [CommonModule, Button, Dialog, SharedModule, Bind],\n template: `\n <agl-dialog\n [pt]=\"pt\"\n #dialog\n [visible]=\"visible\"\n (visibleChange)=\"onVisibleChange($event)\"\n [role]=\"'alertdialog'\"\n [closable]=\"option('closable')\"\n [closeAriaLabel]=\"option('closeAriaLabel') || option('closeButtonProps')?.ariaLabel\"\n [styleClass]=\"cn(cx('root'), styleClass)\"\n [modal]=\"option('modal')\"\n [header]=\"option('header')\"\n [closeOnEscape]=\"option('closeOnEscape')\"\n [blockScroll]=\"option('blockScroll')\"\n [appendTo]=\"$appendTo()\"\n [position]=\"position\"\n [style]=\"style\"\n [breakpoints]=\"breakpoints\"\n [dismissableMask]=\"dismissableMask\"\n [draggable]=\"draggable\"\n [baseZIndex]=\"baseZIndex\"\n [autoZIndex]=\"autoZIndex\"\n [maskStyleClass]=\"cn(cx('mask'), maskStyleClass)\"\n [unstyled]=\"unstyled()\"\n (onHide)=\"onDialogHide()\"\n >\n @if (headlessTemplate()) {\n <ng-template #headless>\n <ng-container\n *ngTemplateOutlet=\"\n headlessTemplate();\n context: {\n $implicit: confirmation,\n onAccept: onAccept.bind(this),\n onReject: onReject.bind(this)\n }\n \"\n ></ng-container>\n </ng-template>\n } @else {\n @if (headerTemplate()) {\n <ng-template #header>\n <ng-container *ngTemplateOutlet=\"headerTemplate()\"></ng-container>\n </ng-template>\n }\n\n <ng-template #content>\n @if (iconTemplate()) {\n <ng-template *ngTemplateOutlet=\"iconTemplate()\"></ng-template>\n } @else if (!iconTemplate() && !messageTemplate()) {\n <i [ngClass]=\"cx('icon')\" [class]=\"option('icon')\" [aglBind]=\"ptm('icon')\" *ngIf=\"option('icon')\"></i>\n }\n @if (messageTemplate()) {\n <ng-template *ngTemplateOutlet=\"messageTemplate(); context: { $implicit: confirmation }\"></ng-template>\n } @else {\n <span [class]=\"cx('message')\" [aglBind]=\"ptm('message')\" [innerHTML]=\"option('message')\"> </span>\n }\n </ng-template>\n }\n <ng-template #footer>\n @if (footerTemplate()) {\n <ng-container *ngTemplateOutlet=\"footerTemplate()\"></ng-container>\n }\n @if (!footerTemplate()) {\n <agl-button\n [pt]=\"ptm('pcRejectButton')\"\n *ngIf=\"option('rejectVisible')\"\n [label]=\"rejectButtonLabel\"\n (onClick)=\"onReject()\"\n [styleClass]=\"getButtonStyleClass('pcRejectButton', 'rejectButtonStyleClass')\"\n [ariaLabel]=\"option('rejectButtonProps', 'ariaLabel')\"\n [buttonProps]=\"getRejectButtonProps()\"\n [unstyled]=\"unstyled()\"\n >\n <ng-template #icon>\n @if (rejectIcon && !rejectIconTemplate()) {\n <i *ngIf=\"option('rejectIcon')\" [class]=\"option('rejectIcon')\" [aglBind]=\"ptm('pcRejectButton')['icon']\"></i>\n }\n <ng-template *ngTemplateOutlet=\"rejectIconTemplate()\"></ng-template>\n </ng-template>\n </agl-button>\n <agl-button\n [pt]=\"ptm('pcAcceptButton')\"\n [label]=\"acceptButtonLabel\"\n (onClick)=\"onAccept()\"\n [styleClass]=\"getButtonStyleClass('pcAcceptButton', 'acceptButtonStyleClass')\"\n *ngIf=\"option('acceptVisible')\"\n [ariaLabel]=\"option('acceptButtonProps', 'ariaLabel')\"\n [buttonProps]=\"getAcceptButtonProps()\"\n [unstyled]=\"unstyled()\"\n >\n <ng-template #icon>\n @if (acceptIcon && !acceptIconTemplate()) {\n <i *ngIf=\"option('acceptIcon')\" [class]=\"option('acceptIcon')\" [aglBind]=\"ptm('pcAcceptButton')['icon']\"></i>\n }\n <ng-template *ngTemplateOutlet=\"acceptIconTemplate()\"></ng-template>\n </ng-template>\n </agl-button>\n }\n </ng-template>\n </agl-dialog>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ConfirmDialogStyle, { provide: CONFIRMDIALOG_INSTANCE, useExisting: ConfirmDialog }, { provide: PARENT_INSTANCE, useExisting: ConfirmDialog }],\n hostDirectives: [Bind]\n})\nexport class ConfirmDialog extends BaseComponent<ConfirmDialogPassThrough> implements OnInit, AfterContentInit, OnDestroy {\n componentName = 'ConfirmDialog';\n\n $pcConfirmDialog: ConfirmDialog | undefined = inject(CONFIRMDIALOG_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptm('host'));\n }\n\n /**\n * Title text of the dialog.\n * @group Props\n */\n @Input() header: string | undefined;\n /**\n * Icon to display next to message.\n * @group Props\n */\n @Input() icon: string | undefined;\n /**\n * Message of the confirmation.\n * @group Props\n */\n @Input() message: string | undefined;\n /**\n * Inline style of the element.\n * @group Props\n */\n @Input() get style(): { [klass: string]: any } | null | undefined {\n return this._style;\n }\n set style(value: { [klass: string]: any } | null | undefined) {\n this._style = value;\n this.cd.markForCheck();\n }\n /**\n * Class of the element.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Specify the CSS class(es) for styling the mask element\n * @group Props\n */\n @Input() maskStyleClass: string | undefined;\n /**\n * Icon of the accept button.\n * @group Props\n */\n @Input() acceptIcon: string | undefined;\n /**\n * Label of the accept button.\n * @group Props\n */\n @Input() acceptLabel: string | undefined;\n /**\n * Defines a string that labels the close button for accessibility.\n * @group Props\n */\n @Input() closeAriaLabel: string | undefined;\n /**\n * Defines a string that labels the accept button for accessibility.\n * @group Props\n */\n @Input() acceptAriaLabel: string | undefined;\n /**\n * Visibility of the accept button.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) acceptVisible: boolean = true;\n /**\n * Icon of the reject button.\n * @group Props\n */\n @Input() rejectIcon: string | undefined;\n /**\n * Label of the reject button.\n * @group Props\n */\n @Input() rejectLabel: string | undefined;\n /**\n * Defines a string that labels the reject button for accessibility.\n * @group Props\n */\n @Input() rejectAriaLabel: string | undefined;\n /**\n * Visibility of the reject button.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) rejectVisible: boolean = true;\n /**\n * Style class of the accept button.\n * @group Props\n */\n @Input() acceptButtonStyleClass: string | undefined;\n /**\n * Style class of the reject button.\n * @group Props\n */\n @Input() rejectButtonStyleClass: string | undefined;\n /**\n * Specifies if pressing escape key should hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closeOnEscape: boolean = true;\n /**\n * Specifies if clicking the modal background should hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) dismissableMask: boolean | undefined;\n /**\n * Determines whether scrolling behavior should be blocked within the component.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) blockScroll: boolean = true;\n /**\n * When enabled dialog is displayed in RTL direction.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) rtl: boolean = false;\n /**\n * Adds a close icon to the header to hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closable: boolean = true;\n /**\n * 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).\n * @defaultValue 'body'\n * @group Props\n */\n appendTo = input<HTMLElement | ElementRef | TemplateRef<any> | 'self' | 'body' | null | undefined | any>('body');\n /**\n * Optional key to match the key of confirm object, necessary to use when component tree has multiple confirm dialogs.\n * @group Props\n */\n @Input() key: string | undefined;\n /**\n * Whether to automatically manage layering.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) autoZIndex: boolean = true;\n /**\n * Base zIndex value to use in layering.\n * @group Props\n */\n @Input({ transform: numberAttribute }) baseZIndex: number = 0;\n /**\n * Transition options of the animation.\n * @group Props\n */\n @Input() transitionOptions: string = '150ms cubic-bezier(0, 0, 0.2, 1)';\n /**\n * When enabled, can only focus on elements inside the confirm dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) focusTrap: boolean = true;\n /**\n * Element to receive the focus when the dialog gets visible.\n * @group Props\n */\n @Input() defaultFocus: 'accept' | 'reject' | 'close' | 'none' = 'accept';\n /**\n * Object literal to define widths per screen size.\n * @group Props\n */\n @Input() breakpoints: any;\n /**\n * Defines if background should be blocked when dialog is displayed.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) modal: boolean = true;\n /**\n * Current visible state as a boolean.\n * @group Props\n */\n @Input() get visible(): any {\n return this._visible;\n }\n\n set visible(value: any) {\n this._visible = value;\n\n if (this._visible && !this.maskVisible) {\n this.maskVisible = true;\n }\n\n this.cd.markForCheck();\n }\n /**\n * Allows getting the position of the component.\n * @group Props\n */\n @Input() position: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright' = 'center';\n /**\n * Enables dragging to change the position using header.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) draggable: boolean = true;\n /**\n * Callback to invoke when dialog is hidden.\n * @param {ConfirmEventType} enum - Custom confirm event.\n * @group Emits\n */\n @Output() onHide: EventEmitter<ConfirmEventType> = new EventEmitter<ConfirmEventType>();\n\n _componentStyle = inject(ConfirmDialogStyle);\n\n /**\n * Custom header template.\n * @group Templates\n */\n headerTemplate = contentChild<TemplateRef<void>>('header', { descendants: false });\n\n /**\n * Custom footer template.\n * @group Templates\n */\n footerTemplate = contentChild<TemplateRef<void>>('footer', { descendants: false });\n\n /**\n * Custom reject icon template.\n * @group Templates\n */\n rejectIconTemplate = contentChild<TemplateRef<void>>('rejecticon', { descendants: false });\n\n /**\n * Custom accept icon template.\n * @group Templates\n */\n acceptIconTemplate = contentChild<TemplateRef<void>>('accepticon', { descendants: false });\n\n /**\n * Custom message template.\n * @group Templates\n */\n messageTemplate = contentChild<TemplateRef<ConfirmDialogMessageTemplateContext>>('message', { descendants: false });\n\n /**\n * Custom icon template.\n * @group Templates\n */\n iconTemplate = contentChild<TemplateRef<void>>('icon', { descendants: false });\n\n /**\n * Custom headless template.\n * @group Templates\n */\n headlessTemplate = contentChild<TemplateRef<ConfirmDialogHeadlessTemplateContext>>('headless', { descendants: false });\n\n $appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo());\n\n confirmation: Nullable<Confirmation>;\n\n _visible: boolean | undefined;\n\n _style: { [klass: string]: any } | null | undefined;\n\n maskVisible: boolean | undefined;\n\n dialog: Nullable<Dialog>;\n\n wrapper: Nullable<HTMLElement>;\n\n contentContainer: Nullable<HTMLDivElement>;\n\n subscription: Subscription;\n\n preWidth: number | undefined;\n\n styleElement: any;\n\n id = uuid('pn_id_');\n\n ariaLabelledBy: string | null = this.getAriaLabelledBy();\n\n translationSubscription: Subscription | undefined;\n\n constructor(\n private confirmationService: ConfirmationService,\n public zone: NgZone\n ) {\n super();\n this.subscription = this.confirmationService.requireConfirmation$.subscribe((confirmation) => {\n if (!confirmation) {\n this.hide();\n return;\n }\n if (confirmation.key === this.key) {\n this.restoreOwnOptions();\n this.confirmation = confirmation;\n\n const keys = Object.keys(confirmation);\n\n this.applied = keys.map((key) => ({ key, before: this[key], value: confirmation[key] }));\n keys.forEach((key) => {\n this[key] = confirmation[key];\n });\n\n if (this.confirmation.accept) {\n this.confirmation.acceptEvent = new EventEmitter();\n this.confirmation.acceptEvent.subscribe(this.confirmation.accept);\n }\n\n if (this.confirmation.reject) {\n this.confirmation.rejectEvent = new EventEmitter();\n this.confirmation.rejectEvent.subscribe(this.confirmation.reject);\n }\n\n this.visible = true;\n }\n });\n }\n\n onInit() {\n // `breakpoints` is passed to the inner dialog, which writes the media rule for the attribute it\n // sets on its own container. The rule this component wrote named its OWN id, which no element\n // carries, so it never applied.\n this.translationSubscription = this.config.translationObserver.subscribe(() => {\n if (this.visible) {\n this.cd.markForCheck();\n }\n });\n }\n\n getAriaLabelledBy() {\n return this.header !== null ? uuid('pn_id_') + '_header' : null;\n }\n\n option(name: string, k?: string) {\n const source: { [key: string]: any } = this;\n if (source.hasOwnProperty(name)) {\n const value = k ? source[k] : source[name];\n return typeof value === 'function' ? value() : value;\n }\n\n return undefined;\n }\n\n getButtonStyleClass(cx: string, opt: string): string {\n const cxClass = this.cx(cx);\n const optionClass = this.option(opt);\n\n return [cxClass, optionClass].filter(Boolean).join(' ');\n }\n\n getElementToFocus() {\n if (!this.dialog?.el?.nativeElement) return;\n\n switch (this.option('defaultFocus')) {\n case 'accept':\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-accept');\n\n case 'reject':\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-reject');\n\n case 'close':\n return findSingle(this.dialog.el.nativeElement, '.p-dialog-header-close');\n\n case 'none':\n return null;\n\n //backward compatibility\n default:\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-accept');\n }\n }\n\n /**\n * @deprecated No longer called: `breakpoints` is applied by the inner dialog. Its rule named this\n * component's own id, which no element carries, so it never matched. Kept for API compatibility.\n */\n createStyle() {\n if (!this.styleElement) {\n this.styleElement = this.document.createElement('style');\n this.styleElement.type = 'text/css';\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n this.document.head.appendChild(this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-dialog[${this.id}] {\n width: ${this.breakpoints[breakpoint]} !important;\n }\n }\n `;\n }\n\n this.styleElement.innerHTML = innerHTML;\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n }\n }\n\n close() {\n if (this.confirmation?.rejectEvent) {\n this.confirmation.rejectEvent.emit(ConfirmEventType.CANCEL);\n }\n\n this.hide(ConfirmEventType.CANCEL);\n }\n\n hide(type?: ConfirmEventType) {\n this.onHide.emit(type);\n this.visible = false;\n // Unsubscribe from confirmation events when the dialogue is closed, because events are created when the dialogue is opened.\n this.unsubscribeConfirmationEvents();\n }\n\n onDialogHide() {\n this.confirmation = null;\n }\n\n /**\n * Every key the open confirmation wrote onto this dialog, with what it held before. A confirmation\n * is applied by copying its keys onto the one long-lived instance, so without putting them back a\n * key the next confirmation does not set showed the previous one's value: its header, its icon,\n * its button text, its danger style.\n */\n private applied: { key: string; before: unknown; value: unknown }[] = [];\n\n /**\n * Puts back what the previous confirmation overwrote, so the next one starts from the dialog's\n * own options: its defaults and whatever is bound on the element. A key that has changed since\n * the confirmation set it was set by something else (a binding on the element) and is left as is.\n */\n private restoreOwnOptions() {\n for (const { key, before, value } of this.applied) {\n if (this[key] === value) {\n this[key] = before;\n }\n }\n this.applied = [];\n }\n\n destroyStyle() {\n if (this.styleElement) {\n this.document.head.removeChild(this.styleElement);\n this.styleElement = null;\n }\n }\n\n onDestroy() {\n this.subscription.unsubscribe();\n // Unsubscribe from confirmation events if the dialogue is opened and this component is somehow destroyed.\n this.unsubscribeConfirmationEvents();\n\n if (this.translationSubscription) {\n this.translationSubscription.unsubscribe();\n }\n\n this.destroyStyle();\n }\n\n onVisibleChange(value: boolean) {\n if (!value) {\n this.close();\n } else {\n this.visible = value;\n }\n }\n\n onAccept() {\n if (this.confirmation && this.confirmation.acceptEvent) {\n this.confirmation.acceptEvent.emit();\n }\n this.hide(ConfirmEventType.ACCEPT);\n }\n\n onReject() {\n if (this.confirmation && this.confirmation.rejectEvent) {\n this.confirmation.rejectEvent.emit(ConfirmEventType.REJECT);\n }\n\n this.hide(ConfirmEventType.REJECT);\n }\n\n unsubscribeConfirmationEvents() {\n if (this.confirmation) {\n this.confirmation.acceptEvent?.unsubscribe();\n this.confirmation.rejectEvent?.unsubscribe();\n }\n }\n\n get acceptButtonLabel(): string {\n return this.option('acceptLabel') || this.getAcceptButtonProps()?.label || this.config.getTranslation(TranslationKeys.ACCEPT);\n }\n\n get rejectButtonLabel(): string {\n return this.option('rejectLabel') || this.getRejectButtonProps()?.label || this.config.getTranslation(TranslationKeys.REJECT);\n }\n\n getAcceptButtonProps() {\n return this.option('acceptButtonProps');\n }\n\n getRejectButtonProps() {\n return this.option('rejectButtonProps');\n }\n}\n\n@NgModule({\n imports: [ConfirmDialog, SharedModule],\n exports: [ConfirmDialog, SharedModule]\n})\nexport class ConfirmDialogModule {}\n","/**\n * Generated bundle index. Do not ed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A,GAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;MAiQ5G,mBAAmB,CAAA;uGAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YA1fnB,aAAa,EAufG,YAAY,CAAA,EAAA,OAAA,EAAA,CAvf5B,aAAa,EAwfG,YAAY,CAAA,EAAA,CAAA;AAE5B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAAA,OAAA,EAAA,CAHlB,aAAa,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;2FAE5B,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY;AACxC,iBAAA;;;AChpBD;;AAEG;;;;"}
|
|
@@ -18,6 +18,18 @@ import { ProgressBar } from '@anguless/angulux/progressbar';
|
|
|
18
18
|
import { style } from '@anguless/angulux-styles/fileupload';
|
|
19
19
|
import { BaseStyle } from '@anguless/angulux/base';
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* The header kept its buttons on one line. With Choose, Upload and Cancel that is wider than a
|
|
23
|
+
* phone, so the page scrolled sideways and the last button was cut. They now wrap, with the gap
|
|
24
|
+
* the header already has between them.
|
|
25
|
+
*/
|
|
26
|
+
const fileUploadStyle = /*css*/ `
|
|
27
|
+
${String(style)}
|
|
28
|
+
|
|
29
|
+
.p-fileupload-header {
|
|
30
|
+
flex-wrap: wrap;
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
21
33
|
const classes = {
|
|
22
34
|
root: ({ instance }) => `p-fileupload p-fileupload-${instance.mode} p-component`,
|
|
23
35
|
header: 'p-fileupload-header',
|
|
@@ -38,7 +50,7 @@ const classes = {
|
|
|
38
50
|
};
|
|
39
51
|
class FileUploadStyle extends BaseStyle {
|
|
40
52
|
name = 'fileupload';
|
|
41
|
-
style =
|
|
53
|
+
style = fileUploadStyle;
|
|
42
54
|
classes = classes;
|
|
43
55
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: FileUploadStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
44
56
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: FileUploadStyle });
|