@radix-ng/primitives 0.50.0 → 1.0.0-beta.0
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/collection/README.md +1 -0
- package/fesm2022/radix-ng-primitives-accordion.mjs +134 -66
- package/fesm2022/radix-ng-primitives-accordion.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-alert-dialog.mjs +224 -132
- package/fesm2022/radix-ng-primitives-alert-dialog.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-arrow.mjs +26 -10
- package/fesm2022/radix-ng-primitives-arrow.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-aspect-ratio.mjs +6 -6
- package/fesm2022/radix-ng-primitives-aspect-ratio.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-avatar.mjs +68 -75
- package/fesm2022/radix-ng-primitives-avatar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-button.mjs +123 -0
- package/fesm2022/radix-ng-primitives-button.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-calendar.mjs +104 -103
- package/fesm2022/radix-ng-primitives-calendar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-checkbox.mjs +414 -80
- package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-collapsible.mjs +193 -92
- package/fesm2022/radix-ng-primitives-collapsible.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-collection.mjs +72 -0
- package/fesm2022/radix-ng-primitives-collection.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-config.mjs +5 -5
- package/fesm2022/radix-ng-primitives-config.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-context-menu.mjs +143 -427
- package/fesm2022/radix-ng-primitives-context-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-core.mjs +757 -757
- package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-cropper.mjs +55 -53
- package/fesm2022/radix-ng-primitives-cropper.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-date-field.mjs +93 -86
- package/fesm2022/radix-ng-primitives-date-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dialog.mjs +658 -330
- package/fesm2022/radix-ng-primitives-dialog.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dismissable-layer.mjs +98 -76
- package/fesm2022/radix-ng-primitives-dismissable-layer.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-drawer.mjs +1059 -0
- package/fesm2022/radix-ng-primitives-drawer.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-editable.mjs +20 -20
- package/fesm2022/radix-ng-primitives-editable.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-field.mjs +363 -0
- package/fesm2022/radix-ng-primitives-field.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-fieldset.mjs +79 -0
- package/fesm2022/radix-ng-primitives-fieldset.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-focus-guards.mjs +3 -3
- package/fesm2022/radix-ng-primitives-focus-guards.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-focus-scope.mjs +29 -14
- package/fesm2022/radix-ng-primitives-focus-scope.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-input.mjs +172 -0
- package/fesm2022/radix-ng-primitives-input.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-label.mjs +11 -11
- package/fesm2022/radix-ng-primitives-label.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-menu.mjs +1484 -353
- package/fesm2022/radix-ng-primitives-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-menubar.mjs +290 -162
- package/fesm2022/radix-ng-primitives-menubar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-meter.mjs +271 -0
- package/fesm2022/radix-ng-primitives-meter.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-navigation-menu.mjs +1060 -1553
- package/fesm2022/radix-ng-primitives-navigation-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-number-field.mjs +1102 -366
- package/fesm2022/radix-ng-primitives-number-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-pagination.mjs +51 -51
- package/fesm2022/radix-ng-primitives-pagination.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-popover.mjs +980 -995
- package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-popper.mjs +137 -82
- package/fesm2022/radix-ng-primitives-popper.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-portal.mjs +40 -16
- package/fesm2022/radix-ng-primitives-portal.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-presence.mjs +134 -246
- package/fesm2022/radix-ng-primitives-presence.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-preview-card.mjs +997 -0
- package/fesm2022/radix-ng-primitives-preview-card.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-progress.mjs +231 -92
- package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-radio.mjs +211 -70
- package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-roving-focus.mjs +127 -77
- package/fesm2022/radix-ng-primitives-roving-focus.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-select.mjs +791 -511
- package/fesm2022/radix-ng-primitives-select.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-separator.mjs +16 -45
- package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-slider.mjs +976 -720
- package/fesm2022/radix-ng-primitives-slider.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-stepper.mjs +69 -71
- package/fesm2022/radix-ng-primitives-stepper.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-switch.mjs +128 -124
- package/fesm2022/radix-ng-primitives-switch.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tabs.mjs +388 -115
- package/fesm2022/radix-ng-primitives-tabs.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-time-field.mjs +111 -117
- package/fesm2022/radix-ng-primitives-time-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle-group.mjs +122 -248
- package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle.mjs +99 -62
- package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toolbar.mjs +307 -94
- package/fesm2022/radix-ng-primitives-toolbar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tooltip.mjs +690 -1079
- package/fesm2022/radix-ng-primitives-tooltip.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-visually-hidden.mjs +46 -87
- package/fesm2022/radix-ng-primitives-visually-hidden.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives.mjs.map +1 -1
- package/meter/README.md +3 -0
- package/navigation-menu/README.md +2 -1
- package/package.json +85 -63
- package/portal/README.md +2 -0
- package/preview-card/README.md +3 -0
- package/schematics/collection.json +1 -0
- package/schematics/ng-add/index.d.ts +3 -2
- package/schematics/ng-add/index.js +62 -31
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-add/package-config.d.ts +4 -2
- package/schematics/ng-add/package-config.js +10 -2
- package/schematics/ng-add/package-config.js.map +1 -1
- package/schematics/ng-add/schema.d.ts +3 -0
- package/schematics/ng-add/schema.js +3 -0
- package/schematics/ng-add/schema.js.map +1 -0
- package/schematics/ng-add/schema.json +14 -0
- package/select/README.md +2 -0
- package/{accordion/index.d.ts → types/radix-ng-primitives-accordion.d.ts} +102 -67
- package/types/radix-ng-primitives-alert-dialog.d.ts +114 -0
- package/{arrow/index.d.ts → types/radix-ng-primitives-arrow.d.ts} +1 -1
- package/{aspect-ratio/index.d.ts → types/radix-ng-primitives-aspect-ratio.d.ts} +1 -1
- package/{avatar/index.d.ts → types/radix-ng-primitives-avatar.d.ts} +7 -11
- package/types/radix-ng-primitives-button.d.ts +73 -0
- package/{calendar/index.d.ts → types/radix-ng-primitives-calendar.d.ts} +2 -3
- package/types/radix-ng-primitives-checkbox.d.ts +337 -0
- package/types/radix-ng-primitives-collapsible.d.ts +159 -0
- package/types/radix-ng-primitives-collection.d.ts +44 -0
- package/{config/index.d.ts → types/radix-ng-primitives-config.d.ts} +1 -1
- package/types/radix-ng-primitives-context-menu.d.ts +73 -0
- package/{core/index.d.ts → types/radix-ng-primitives-core.d.ts} +311 -236
- package/{cropper/index.d.ts → types/radix-ng-primitives-cropper.d.ts} +6 -5
- package/{date-field/index.d.ts → types/radix-ng-primitives-date-field.d.ts} +42 -27
- package/types/radix-ng-primitives-dialog.d.ts +323 -0
- package/{dismissable-layer/index.d.ts → types/radix-ng-primitives-dismissable-layer.d.ts} +15 -7
- package/types/radix-ng-primitives-drawer.d.ts +448 -0
- package/{editable/index.d.ts → types/radix-ng-primitives-editable.d.ts} +1 -1
- package/types/radix-ng-primitives-field.d.ts +373 -0
- package/types/radix-ng-primitives-fieldset.d.ts +48 -0
- package/{focus-scope/index.d.ts → types/radix-ng-primitives-focus-scope.d.ts} +13 -5
- package/types/radix-ng-primitives-input.d.ts +87 -0
- package/{label/index.d.ts → types/radix-ng-primitives-label.d.ts} +0 -1
- package/types/radix-ng-primitives-menu.d.ts +612 -0
- package/types/radix-ng-primitives-menubar.d.ts +66 -0
- package/types/radix-ng-primitives-meter.d.ts +193 -0
- package/types/radix-ng-primitives-navigation-menu.d.ts +488 -0
- package/types/radix-ng-primitives-number-field.d.ts +464 -0
- package/{pagination/index.d.ts → types/radix-ng-primitives-pagination.d.ts} +2 -2
- package/types/radix-ng-primitives-popover.d.ts +416 -0
- package/{popper/index.d.ts → types/radix-ng-primitives-popper.d.ts} +50 -9
- package/types/radix-ng-primitives-portal.d.ts +30 -0
- package/types/radix-ng-primitives-presence.d.ts +55 -0
- package/types/radix-ng-primitives-preview-card.d.ts +359 -0
- package/types/radix-ng-primitives-progress.d.ts +206 -0
- package/{radio/index.d.ts → types/radix-ng-primitives-radio.d.ts} +56 -26
- package/{roving-focus/index.d.ts → types/radix-ng-primitives-roving-focus.d.ts} +38 -27
- package/types/radix-ng-primitives-select.d.ts +512 -0
- package/types/radix-ng-primitives-separator.d.ts +38 -0
- package/types/radix-ng-primitives-slider.d.ts +377 -0
- package/{stepper/index.d.ts → types/radix-ng-primitives-stepper.d.ts} +21 -22
- package/types/radix-ng-primitives-switch.d.ts +121 -0
- package/types/radix-ng-primitives-tabs.d.ts +247 -0
- package/{time-field/index.d.ts → types/radix-ng-primitives-time-field.d.ts} +46 -31
- package/types/radix-ng-primitives-toggle-group.d.ts +116 -0
- package/types/radix-ng-primitives-toggle.d.ts +65 -0
- package/types/radix-ng-primitives-toolbar.d.ts +180 -0
- package/types/radix-ng-primitives-tooltip.d.ts +395 -0
- package/{visually-hidden/index.d.ts → types/radix-ng-primitives-visually-hidden.d.ts} +19 -19
- package/alert-dialog/index.d.ts +0 -57
- package/checkbox/index.d.ts +0 -164
- package/collapsible/index.d.ts +0 -85
- package/context-menu/index.d.ts +0 -129
- package/dialog/index.d.ts +0 -205
- package/dropdown-menu/README.md +0 -1
- package/dropdown-menu/index.d.ts +0 -171
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +0 -583
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs.map +0 -1
- package/fesm2022/radix-ng-primitives-hover-card.mjs +0 -1246
- package/fesm2022/radix-ng-primitives-hover-card.mjs.map +0 -1
- package/fesm2022/radix-ng-primitives-tooltip2.mjs +0 -740
- package/fesm2022/radix-ng-primitives-tooltip2.mjs.map +0 -1
- package/hover-card/README.md +0 -3
- package/hover-card/index.d.ts +0 -472
- package/menu/index.d.ts +0 -139
- package/menubar/index.d.ts +0 -56
- package/navigation-menu/index.d.ts +0 -405
- package/number-field/index.d.ts +0 -203
- package/popover/index.d.ts +0 -403
- package/portal/index.d.ts +0 -22
- package/presence/index.d.ts +0 -103
- package/progress/index.d.ts +0 -79
- package/select/index.d.ts +0 -214
- package/separator/index.d.ts +0 -63
- package/slider/index.d.ts +0 -263
- package/switch/index.d.ts +0 -105
- package/tabs/index.d.ts +0 -112
- package/toggle/index.d.ts +0 -75
- package/toggle-group/index.d.ts +0 -194
- package/toolbar/index.d.ts +0 -55
- package/tooltip/index.d.ts +0 -433
- package/tooltip2/README.md +0 -3
- package/tooltip2/index.d.ts +0 -325
- /package/{focus-guards/index.d.ts → types/radix-ng-primitives-focus-guards.d.ts} +0 -0
- /package/{index.d.ts → types/radix-ng-primitives.d.ts} +0 -0
|
@@ -1,181 +1,273 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import * as i1 from '@angular/cdk/a11y';
|
|
6
|
-
import { CdkTrapFocus } from '@angular/cdk/a11y';
|
|
2
|
+
import { Directive, inject, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@radix-ng/primitives/dialog';
|
|
4
|
+
import { RdxDialogBackdrop, RdxDialogClose, RdxDialogDescription, RdxDialogPopup, RdxDialogPortal, RdxDialogPortalPresence, RdxDialogRoot, provideRdxDialogVariant, RdxDialogTitle, RdxDialogTrigger, RdxDialogViewport, RdxDialogHandle, createRdxDialogHandle } from '@radix-ng/primitives/dialog';
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
open() {
|
|
16
|
-
if (!this.dialogContent) {
|
|
17
|
-
throw new Error('Dialog content is not set');
|
|
18
|
-
}
|
|
19
|
-
this.overlayRef = this.overlay.create({
|
|
20
|
-
hasBackdrop: true,
|
|
21
|
-
backdropClass: 'cdk-overlay-dark-backdrop',
|
|
22
|
-
positionStrategy: this.overlay.position().global().centerHorizontally().centerVertically()
|
|
23
|
-
});
|
|
24
|
-
const templatePortal = new TemplatePortal(this.dialogContent.template, this.dialogContent.viewContainerRef);
|
|
25
|
-
this.overlayRef.attach(templatePortal);
|
|
26
|
-
this.overlayRef.keydownEvents().subscribe((event) => {
|
|
27
|
-
if (event.key === 'Escape' || event.code === 'Escape') {
|
|
28
|
-
this.close();
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
this.overlayRef.backdropClick().subscribe(() => this.close());
|
|
32
|
-
}
|
|
33
|
-
close() {
|
|
34
|
-
if (this.overlayRef) {
|
|
35
|
-
this.overlayRef.dispose();
|
|
36
|
-
this.overlayRef = null;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxAlertDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
40
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxAlertDialogService, providedIn: 'root' }); }
|
|
6
|
+
/**
|
|
7
|
+
* An overlay displayed beneath the alert dialog popup.
|
|
8
|
+
*/
|
|
9
|
+
class RdxAlertDialogBackdrop {
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogBackdrop, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxAlertDialogBackdrop, isStandalone: true, selector: "[rdxAlertDialogBackdrop]", exportAs: ["rdxAlertDialogBackdrop"], hostDirectives: [{ directive: i1.RdxDialogBackdrop }], ngImport: i0 }); }
|
|
41
12
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
43
|
-
type:
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogBackdrop, decorators: [{
|
|
14
|
+
type: Directive,
|
|
44
15
|
args: [{
|
|
45
|
-
|
|
16
|
+
selector: '[rdxAlertDialogBackdrop]',
|
|
17
|
+
exportAs: 'rdxAlertDialogBackdrop',
|
|
18
|
+
hostDirectives: [RdxDialogBackdrop]
|
|
46
19
|
}]
|
|
47
20
|
}] });
|
|
48
21
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxAlertDialogCancelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
57
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.3", type: RdxAlertDialogCancelDirective, isStandalone: true, selector: "[rdxAlertDialogCancel]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
|
|
22
|
+
/**
|
|
23
|
+
* A button that closes the alert dialog.
|
|
24
|
+
*/
|
|
25
|
+
class RdxAlertDialogClose {
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogClose, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
27
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxAlertDialogClose, isStandalone: true, selector: "button[rdxAlertDialogClose]", exportAs: ["rdxAlertDialogClose"], hostDirectives: [{ directive: i1.RdxDialogClose }], ngImport: i0 }); }
|
|
58
28
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogClose, decorators: [{
|
|
60
30
|
type: Directive,
|
|
61
31
|
args: [{
|
|
62
|
-
selector: '[
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
'(click)': 'onClick()'
|
|
66
|
-
}
|
|
32
|
+
selector: 'button[rdxAlertDialogClose]',
|
|
33
|
+
exportAs: 'rdxAlertDialogClose',
|
|
34
|
+
hostDirectives: [RdxDialogClose]
|
|
67
35
|
}]
|
|
68
36
|
}] });
|
|
69
37
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
this.renderer.setStyle(this.elementRef.nativeElement, 'maxWidth', value);
|
|
77
|
-
}
|
|
78
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxAlertDialogContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
79
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.3", type: RdxAlertDialogContentDirective, isStandalone: true, selector: "[rdxAlertDialogContent]", inputs: { maxWidth: "maxWidth" }, host: { properties: { "attr.data-state": "\"open\"", "attr.cdkTrapFocusAutoCapture": "true" } }, hostDirectives: [{ directive: i1.CdkTrapFocus }], ngImport: i0 }); }
|
|
38
|
+
/**
|
|
39
|
+
* An accessible description for the alert dialog.
|
|
40
|
+
*/
|
|
41
|
+
class RdxAlertDialogDescription {
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
43
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxAlertDialogDescription, isStandalone: true, selector: "[rdxAlertDialogDescription]", exportAs: ["rdxAlertDialogDescription"], hostDirectives: [{ directive: i1.RdxDialogDescription }], ngImport: i0 }); }
|
|
80
44
|
}
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogDescription, decorators: [{
|
|
82
46
|
type: Directive,
|
|
83
47
|
args: [{
|
|
84
|
-
selector: '[
|
|
85
|
-
|
|
48
|
+
selector: '[rdxAlertDialogDescription]',
|
|
49
|
+
exportAs: 'rdxAlertDialogDescription',
|
|
50
|
+
hostDirectives: [RdxDialogDescription]
|
|
51
|
+
}]
|
|
52
|
+
}] });
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* A container for the alert dialog contents. Wraps the dialog popup, which reads alert semantics
|
|
56
|
+
* (role, modal, dismissal) from the alert root's variant.
|
|
57
|
+
*/
|
|
58
|
+
class RdxAlertDialogPopup {
|
|
59
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogPopup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
60
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxAlertDialogPopup, isStandalone: true, selector: "[rdxAlertDialogPopup]", exportAs: ["rdxAlertDialogPopup"], hostDirectives: [{ directive: i1.RdxDialogPopup, outputs: ["escapeKeyDown", "escapeKeyDown", "pointerDownOutside", "pointerDownOutside", "focusOutside", "focusOutside", "interactOutside", "interactOutside", "openAutoFocus", "openAutoFocus", "closeAutoFocus", "closeAutoFocus"] }], ngImport: i0 }); }
|
|
61
|
+
}
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogPopup, decorators: [{
|
|
63
|
+
type: Directive,
|
|
64
|
+
args: [{
|
|
65
|
+
selector: '[rdxAlertDialogPopup]',
|
|
66
|
+
exportAs: 'rdxAlertDialogPopup',
|
|
86
67
|
hostDirectives: [
|
|
87
68
|
{
|
|
88
|
-
directive:
|
|
69
|
+
directive: RdxDialogPopup,
|
|
70
|
+
outputs: [
|
|
71
|
+
'escapeKeyDown',
|
|
72
|
+
'pointerDownOutside',
|
|
73
|
+
'focusOutside',
|
|
74
|
+
'interactOutside',
|
|
75
|
+
'openAutoFocus',
|
|
76
|
+
'closeAutoFocus'
|
|
77
|
+
]
|
|
89
78
|
}
|
|
90
|
-
]
|
|
91
|
-
host: {
|
|
92
|
-
'[attr.data-state]': '"open"',
|
|
93
|
-
'[attr.cdkTrapFocusAutoCapture]': 'true'
|
|
94
|
-
}
|
|
79
|
+
]
|
|
95
80
|
}]
|
|
96
|
-
}]
|
|
97
|
-
|
|
98
|
-
|
|
81
|
+
}] });
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Moves the alert dialog to a different part of the DOM. Defaults to `document.body`.
|
|
85
|
+
*/
|
|
86
|
+
class RdxAlertDialogPortal {
|
|
87
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
88
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxAlertDialogPortal, isStandalone: true, selector: "[rdxAlertDialogPortal]", exportAs: ["rdxAlertDialogPortal"], hostDirectives: [{ directive: i1.RdxDialogPortal, inputs: ["container", "container"] }], ngImport: i0 }); }
|
|
89
|
+
}
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogPortal, decorators: [{
|
|
91
|
+
type: Directive,
|
|
92
|
+
args: [{
|
|
93
|
+
selector: '[rdxAlertDialogPortal]',
|
|
94
|
+
exportAs: 'rdxAlertDialogPortal',
|
|
95
|
+
hostDirectives: [
|
|
96
|
+
{
|
|
97
|
+
directive: RdxDialogPortal,
|
|
98
|
+
inputs: ['container']
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}]
|
|
102
|
+
}] });
|
|
99
103
|
|
|
100
|
-
|
|
104
|
+
/**
|
|
105
|
+
* Mounts the portal while the alert dialog is open and waits for CSS exit keyframes before unmounting.
|
|
106
|
+
*/
|
|
107
|
+
class RdxAlertDialogPortalPresence {
|
|
108
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogPortalPresence, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
109
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxAlertDialogPortalPresence, isStandalone: true, selector: "ng-template[rdxAlertDialogPortalPresence]", hostDirectives: [{ directive: i1.RdxDialogPortalPresence }], ngImport: i0 }); }
|
|
110
|
+
}
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogPortalPresence, decorators: [{
|
|
112
|
+
type: Directive,
|
|
113
|
+
args: [{
|
|
114
|
+
selector: 'ng-template[rdxAlertDialogPortalPresence]',
|
|
115
|
+
hostDirectives: [RdxDialogPortalPresence]
|
|
116
|
+
}]
|
|
117
|
+
}] });
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Groups all parts of the alert dialog.
|
|
121
|
+
*
|
|
122
|
+
* Composes the Dialog primitive and forces alert-dialog semantics: it is always modal, never
|
|
123
|
+
* dismisses on outside pointer / focus-out interactions (Escape still closes), and renders its
|
|
124
|
+
* popup with `role="alertdialog"`. Assemble it from the `rdxAlertDialog*` parts (Popup, Backdrop,
|
|
125
|
+
* Title, Description, Close, Portal, Viewport), which are thin wrappers around the dialog parts.
|
|
126
|
+
*/
|
|
127
|
+
class RdxAlertDialogRoot {
|
|
101
128
|
constructor() {
|
|
102
|
-
this.
|
|
103
|
-
|
|
129
|
+
this.dialog = inject(RdxDialogRoot);
|
|
130
|
+
/** Whether the alert dialog is open (read-only mirror of the composed dialog state). */
|
|
131
|
+
this.open = this.dialog.open;
|
|
132
|
+
/** The active trigger's id. */
|
|
133
|
+
this.triggerId = this.dialog.triggerId;
|
|
134
|
+
/** Payload of the active trigger. */
|
|
135
|
+
this.payload = this.dialog.payload;
|
|
104
136
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
137
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogRoot, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
138
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxAlertDialogRoot, isStandalone: true, selector: "[rdxAlertDialogRoot]", providers: [
|
|
139
|
+
provideRdxDialogVariant({
|
|
140
|
+
role: 'alertdialog',
|
|
141
|
+
forceModal: true,
|
|
142
|
+
forcePointerDismissalDisabled: true
|
|
143
|
+
})
|
|
144
|
+
], exportAs: ["rdxAlertDialogRoot"], hostDirectives: [{ directive: i1.RdxDialogRoot, inputs: ["open", "open", "defaultOpen", "defaultOpen", "triggerId", "triggerId", "defaultTriggerId", "defaultTriggerId", "handle", "handle"], outputs: ["openChange", "openChange", "triggerIdChange", "triggerIdChange", "onOpenChange", "onOpenChange", "onOpenChangeComplete", "onOpenChangeComplete"] }], ngImport: i0 }); }
|
|
110
145
|
}
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogRoot, decorators: [{
|
|
112
147
|
type: Directive,
|
|
113
148
|
args: [{
|
|
114
149
|
selector: '[rdxAlertDialogRoot]',
|
|
115
|
-
|
|
150
|
+
exportAs: 'rdxAlertDialogRoot',
|
|
151
|
+
hostDirectives: [
|
|
152
|
+
{
|
|
153
|
+
directive: RdxDialogRoot,
|
|
154
|
+
inputs: ['open', 'defaultOpen', 'triggerId', 'defaultTriggerId', 'handle'],
|
|
155
|
+
outputs: ['openChange', 'triggerIdChange', 'onOpenChange', 'onOpenChangeComplete']
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
providers: [
|
|
159
|
+
provideRdxDialogVariant({
|
|
160
|
+
role: 'alertdialog',
|
|
161
|
+
forceModal: true,
|
|
162
|
+
forcePointerDismissalDisabled: true
|
|
163
|
+
})
|
|
164
|
+
]
|
|
116
165
|
}]
|
|
117
|
-
}]
|
|
118
|
-
type: Input
|
|
119
|
-
}] } });
|
|
166
|
+
}] });
|
|
120
167
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
168
|
+
/**
|
|
169
|
+
* An accessible title for the alert dialog.
|
|
170
|
+
*/
|
|
171
|
+
class RdxAlertDialogTitle {
|
|
172
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
173
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxAlertDialogTitle, isStandalone: true, selector: "[rdxAlertDialogTitle]", exportAs: ["rdxAlertDialogTitle"], hostDirectives: [{ directive: i1.RdxDialogTitle }], ngImport: i0 }); }
|
|
124
174
|
}
|
|
125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogTitle, decorators: [{
|
|
126
176
|
type: Directive,
|
|
127
177
|
args: [{
|
|
128
178
|
selector: '[rdxAlertDialogTitle]',
|
|
129
|
-
|
|
179
|
+
exportAs: 'rdxAlertDialogTitle',
|
|
180
|
+
hostDirectives: [RdxDialogTitle]
|
|
130
181
|
}]
|
|
131
182
|
}] });
|
|
132
183
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxAlertDialogTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
141
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.3", type: RdxAlertDialogTriggerDirective, isStandalone: true, selector: "[rdxAlertDialogTrigger]", host: { listeners: { "click": "handleClick()" } }, ngImport: i0 }); }
|
|
184
|
+
/**
|
|
185
|
+
* A button that opens the alert dialog. Behaves exactly like the dialog trigger.
|
|
186
|
+
*/
|
|
187
|
+
class RdxAlertDialogTrigger {
|
|
188
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
189
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxAlertDialogTrigger, isStandalone: true, selector: "button[rdxAlertDialogTrigger]", exportAs: ["rdxAlertDialogTrigger"], hostDirectives: [{ directive: i1.RdxDialogTrigger, inputs: ["handle", "handle", "payload", "payload", "id", "id", "disabled", "disabled"] }], ngImport: i0 }); }
|
|
142
190
|
}
|
|
143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogTrigger, decorators: [{
|
|
144
192
|
type: Directive,
|
|
145
193
|
args: [{
|
|
146
|
-
selector: '[rdxAlertDialogTrigger]',
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
194
|
+
selector: 'button[rdxAlertDialogTrigger]',
|
|
195
|
+
exportAs: 'rdxAlertDialogTrigger',
|
|
196
|
+
hostDirectives: [
|
|
197
|
+
{
|
|
198
|
+
directive: RdxDialogTrigger,
|
|
199
|
+
inputs: ['handle', 'payload', 'id', 'disabled']
|
|
200
|
+
}
|
|
201
|
+
]
|
|
151
202
|
}]
|
|
152
203
|
}] });
|
|
153
204
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
205
|
+
/**
|
|
206
|
+
* A scrollable positioning container for the alert dialog popup.
|
|
207
|
+
*/
|
|
208
|
+
class RdxAlertDialogViewport {
|
|
209
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogViewport, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
210
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxAlertDialogViewport, isStandalone: true, selector: "[rdxAlertDialogViewport]", exportAs: ["rdxAlertDialogViewport"], hostDirectives: [{ directive: i1.RdxDialogViewport }], ngImport: i0 }); }
|
|
211
|
+
}
|
|
212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogViewport, decorators: [{
|
|
213
|
+
type: Directive,
|
|
214
|
+
args: [{
|
|
215
|
+
selector: '[rdxAlertDialogViewport]',
|
|
216
|
+
exportAs: 'rdxAlertDialogViewport',
|
|
217
|
+
hostDirectives: [RdxDialogViewport]
|
|
218
|
+
}]
|
|
219
|
+
}] });
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Connects an alert dialog root with trigger elements rendered elsewhere in the DOM.
|
|
223
|
+
*
|
|
224
|
+
* Alert dialogs reuse the dialog handle implementation unchanged.
|
|
225
|
+
*/
|
|
226
|
+
const RdxAlertDialogHandle = RdxDialogHandle;
|
|
227
|
+
function createRdxAlertDialogHandle() {
|
|
228
|
+
return createRdxDialogHandle();
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
const alertDialogImports = [
|
|
232
|
+
RdxAlertDialogRoot,
|
|
233
|
+
RdxAlertDialogTrigger,
|
|
234
|
+
RdxAlertDialogPortalPresence,
|
|
235
|
+
RdxAlertDialogPortal,
|
|
236
|
+
RdxAlertDialogBackdrop,
|
|
237
|
+
RdxAlertDialogViewport,
|
|
238
|
+
RdxAlertDialogPopup,
|
|
239
|
+
RdxAlertDialogTitle,
|
|
240
|
+
RdxAlertDialogDescription,
|
|
241
|
+
RdxAlertDialogClose
|
|
160
242
|
];
|
|
161
243
|
class RdxAlertDialogModule {
|
|
162
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
163
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
244
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
245
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogModule, imports: [RdxAlertDialogRoot,
|
|
246
|
+
RdxAlertDialogTrigger,
|
|
247
|
+
RdxAlertDialogPortalPresence,
|
|
248
|
+
RdxAlertDialogPortal,
|
|
249
|
+
RdxAlertDialogBackdrop,
|
|
250
|
+
RdxAlertDialogViewport,
|
|
251
|
+
RdxAlertDialogPopup,
|
|
252
|
+
RdxAlertDialogTitle,
|
|
253
|
+
RdxAlertDialogDescription,
|
|
254
|
+
RdxAlertDialogClose], exports: [RdxAlertDialogRoot,
|
|
255
|
+
RdxAlertDialogTrigger,
|
|
256
|
+
RdxAlertDialogPortalPresence,
|
|
257
|
+
RdxAlertDialogPortal,
|
|
258
|
+
RdxAlertDialogBackdrop,
|
|
259
|
+
RdxAlertDialogViewport,
|
|
260
|
+
RdxAlertDialogPopup,
|
|
261
|
+
RdxAlertDialogTitle,
|
|
262
|
+
RdxAlertDialogDescription,
|
|
263
|
+
RdxAlertDialogClose] }); }
|
|
264
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogModule }); }
|
|
173
265
|
}
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxAlertDialogModule, decorators: [{
|
|
175
267
|
type: NgModule,
|
|
176
268
|
args: [{
|
|
177
|
-
imports: [...
|
|
178
|
-
exports: [...
|
|
269
|
+
imports: [...alertDialogImports],
|
|
270
|
+
exports: [...alertDialogImports]
|
|
179
271
|
}]
|
|
180
272
|
}] });
|
|
181
273
|
|
|
@@ -183,5 +275,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
|
|
|
183
275
|
* Generated bundle index. Do not edit.
|
|
184
276
|
*/
|
|
185
277
|
|
|
186
|
-
export {
|
|
278
|
+
export { RdxAlertDialogBackdrop, RdxAlertDialogClose, RdxAlertDialogDescription, RdxAlertDialogHandle, RdxAlertDialogModule, RdxAlertDialogPopup, RdxAlertDialogPortal, RdxAlertDialogPortalPresence, RdxAlertDialogRoot, RdxAlertDialogTitle, RdxAlertDialogTrigger, RdxAlertDialogViewport, alertDialogImports, createRdxAlertDialogHandle };
|
|
187
279
|
//# sourceMappingURL=radix-ng-primitives-alert-dialog.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radix-ng-primitives-alert-dialog.mjs","sources":["../tmp-esm2022/alert-dialog/src/alert-dialog.service.js","../tmp-esm2022/alert-dialog/src/alert-dialog-cancel.directive.js","../tmp-esm2022/alert-dialog/src/alert-dialog-content.directive.js","../tmp-esm2022/alert-dialog/src/alert-dialog-root.directive.js","../tmp-esm2022/alert-dialog/src/alert-dialog-title.directive.js","../tmp-esm2022/alert-dialog/src/alert-dialog-trigger.directive.js","../tmp-esm2022/alert-dialog/index.js","../tmp-esm2022/alert-dialog/radix-ng-primitives-alert-dialog.js"],"sourcesContent":["import { Overlay } from '@angular/cdk/overlay';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport { inject, Injectable } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class RdxAlertDialogService {\n constructor() {\n this.overlay = inject(Overlay);\n }\n setDialogContent(viewContainerRef, template) {\n this.dialogContent = { viewContainerRef, template };\n }\n open() {\n if (!this.dialogContent) {\n throw new Error('Dialog content is not set');\n }\n this.overlayRef = this.overlay.create({\n hasBackdrop: true,\n backdropClass: 'cdk-overlay-dark-backdrop',\n positionStrategy: this.overlay.position().global().centerHorizontally().centerVertically()\n });\n const templatePortal = new TemplatePortal(this.dialogContent.template, this.dialogContent.viewContainerRef);\n this.overlayRef.attach(templatePortal);\n this.overlayRef.keydownEvents().subscribe((event) => {\n if (event.key === 'Escape' || event.code === 'Escape') {\n this.close();\n }\n });\n this.overlayRef.backdropClick().subscribe(() => this.close());\n }\n close() {\n if (this.overlayRef) {\n this.overlayRef.dispose();\n this.overlayRef = null;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogService, decorators: [{\n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RoaXMub3ZlcmxheVJlZiA9IG51bGw7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=","import { Directive, inject } from '@angular/core';\nimport { RdxAlertDialogService } from './alert-dialog.service';\nimport * as i0 from \"@angular/core\";\nexport class RdxAlertDialogCancelDirective {\n constructor() {\n this.alertDialogService = inject(RdxAlertDialogService);\n }\n onClick() {\n this.alertDialogService.close();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogCancelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"20.3.3\", type: RdxAlertDialogCancelDirective, isStandalone: true, selector: \"[rdxAlertDialogCancel]\", host: { listeners: { \"click\": \"onClick()\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogCancelDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[rdxAlertDialogCancel]',\n standalone: true,\n host: {\n '(click)': 'onClick()'\n }\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtZGlhbG9nLWNhbmNlbC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9wcmltaXRpdmVzL2FsZXJ0LWRpYWxvZy9zcmMvYWxlcnQtZGlhbG9nLWNhbmNlbC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7O0FBUy9ELE1BQU0sT0FBTy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from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/cdk/a11y\";\nexport class RdxAlertDialogContentDirective {\n constructor() {\n this.renderer = inject(Renderer2);\n this.elementRef = inject(ElementRef);\n }\n set maxWidth(value) {\n this.renderer.setStyle(this.elementRef.nativeElement, 'maxWidth', value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"20.3.3\", type: RdxAlertDialogContentDirective, isStandalone: true, selector: \"[rdxAlertDialogContent]\", inputs: { maxWidth: \"maxWidth\" }, host: { properties: { \"attr.data-state\": \"\\\"open\\\"\", \"attr.cdkTrapFocusAutoCapture\": \"true\" } }, hostDirectives: [{ directive: i1.CdkTrapFocus }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogContentDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[rdxAlertDialogContent]',\n standalone: true,\n hostDirectives: [\n {\n directive: CdkTrapFocus\n }\n ],\n host: {\n '[attr.data-state]': '\"open\"',\n '[attr.cdkTrapFocusAutoCapture]': 'true'\n }\n }]\n }], propDecorators: { maxWidth: [{\n type: Input\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtZGlhbG9nLWNvbnRlbnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvcHJpbWl0aXZlcy9hbGVydC1kaWFsb2cvc3JjL2FsZXJ0LWRpYWxvZy1jb250ZW50LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFB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QERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdbcmR4QWxlcnREaWFsb2dDb250ZW50XScsXG4gICAgc3RhbmRhbG9uZTogdHJ1ZSxcbiAgICBob3N0RGlyZWN0aXZlczogW1xuICAgICAgICB7XG4gICAgICAgICAgICBkaXJlY3RpdmU6IENka1RyYXBGb2N1c1xuICAgICAgICB9XG4gICAgXSxcbiAgICBob3N0OiB7XG4gICAgICAgICdbYXR0ci5kYXRhLXN0YXRlXSc6ICdcIm9wZW5cIicsXG4gICAgICAgICdbYXR0ci5jZGtUcmFwRm9jdXNBdXRvQ2FwdHVyZV0nOiAndHJ1ZSdcbiAgICB9XG59KVxuZXhwb3J0IGNsYXNzIFJkeEFsZXJ0RGlhbG9nQ29udGVudERpcmVjdGl2ZSB7XG4gICAgcHJpdmF0ZSByZWFkb25seSByZW5kZXJlciA9IGluamVjdChSZW5kZXJlcjIpO1xuICAgIHByaXZhdGUgcmVhZG9ubHkgZWxlbWVudFJlZiA9IGluamVjdChFbGVtZW50UmVmKTtcblxuICAgIEBJbnB1dCgpIHNldCBtYXhXaWR0aCh2YWx1ZTogc3RyaW5nKSB7XG4gICAgICAgIHRoaXMucmVuZGVyZXIuc2V0U3R5bGUodGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsICdtYXhXaWR0aCcsIHZhbHVlKTtcbiAgICB9XG59XG4iXX0=","import { Directive, inject, Input, TemplateRef, ViewContainerRef } from '@angular/core';\nimport { RdxAlertDialogService } from './alert-dialog.service';\nimport * as i0 from \"@angular/core\";\nexport class RdxAlertDialogRootDirective {\n constructor() {\n this.viewContainerRef = inject(ViewContainerRef);\n this.alertDialogService = inject(RdxAlertDialogService);\n }\n set content(template) {\n this.alertDialogService.setDialogContent(this.viewContainerRef, template);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"20.3.3\", type: RdxAlertDialogRootDirective, isStandalone: true, selector: \"[rdxAlertDialogRoot]\", inputs: { content: \"content\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogRootDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[rdxAlertDialogRoot]',\n standalone: true\n }]\n }], propDecorators: { content: [{\n type: Input\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtZGlhbG9nLXJvb3QuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvcHJpbWl0aXZlcy9hbGVydC1kaWFsb2cvc3JjL2FsZXJ0LWRpYWxvZy1yb290LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsV0FBVyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3hGLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDOztBQU0vRCxNQUFNLE9BQU8sMkJBQTJCO0lBSnhDO1FBS3FCLHFCQUFnQixHQUFHLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDO1FBQzVDLHVCQUFrQixHQUFHLE1BQU0sQ0FBQyxxQkFBcUIsQ0FBQyxDQUFDO0tBS3ZFO0lBSEcsSUFBYSxPQUFPLENBQUMsUUFBMEI7UUFDM0MsSUFBSSxDQUFDLGtCQUFrQixDQUFDLGdCQUFnQixDQUFDLElBQUksQ0FBQyxnQkFBZ0IsRUFBRSxRQUFRLENBQUMsQ0FBQztJQUM5RSxDQUFDOzhHQU5RLDJCQUEyQjtrR0FBM0IsMkJBQTJCOzsyRkFBM0IsMkJBQTJCO2tCQUp2QyxTQUFTO21CQUFDO29CQUNQLFFBQVEsRUFBRSxzQkFBc0I7b0JBQ2hDLFVBQVUsRUFBRSxJQUFJO2lCQUNuQjs4QkFLZ0IsT0FBTztzQkFBbkIsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgaW5qZWN0LCBJbnB1dCwgVGVtcGxhdGVSZWYsIFZpZXdDb250YWluZXJSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IFJkeEFsZXJ0RGlhbG9nU2VydmljZSB9IGZyb20gJy4vYWxlcnQtZGlhbG9nLnNlcnZpY2UnO1xuXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ1tyZHhBbGVydERpYWxvZ1Jvb3RdJyxcbiAgICBzdGFuZGFsb25lOiB0cnVlXG59KVxuZXhwb3J0IGNsYXNzIFJkeEFsZXJ0RGlhbG9nUm9vdERpcmVjdGl2ZSB7XG4gICAgcHJpdmF0ZSByZWFkb25seSB2aWV3Q29udGFpbmVyUmVmID0gaW5qZWN0KFZpZXdDb250YWluZXJSZWYpO1xuICAgIHByaXZhdGUgcmVhZG9ubHkgYWxlcnREaWFsb2dTZXJ2aWNlID0gaW5qZWN0KFJkeEFsZXJ0RGlhbG9nU2VydmljZSk7XG5cbiAgICBASW5wdXQoKSBzZXQgY29udGVudCh0ZW1wbGF0ZTogVGVtcGxhdGVSZWY8YW55Pikge1xuICAgICAgICB0aGlzLmFsZXJ0RGlhbG9nU2VydmljZS5zZXREaWFsb2dDb250ZW50KHRoaXMudmlld0NvbnRhaW5lclJlZiwgdGVtcGxhdGUpO1xuICAgIH1cbn1cbiJdfQ==","import { Directive } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class RdxAlertDialogTitleDirective {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"20.3.3\", type: RdxAlertDialogTitleDirective, isStandalone: true, selector: \"[rdxAlertDialogTitle]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogTitleDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[rdxAlertDialogTitle]',\n standalone: true\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtZGlhbG9nLXRpdGxlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3ByaW1pdGl2ZXMvYWxlcnQtZGlhbG9nL3NyYy9hbGVydC1kaWFsb2ctdGl0bGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTTFDLE1BQU0sT0FBTyw0QkFBNEI7OEdBQTVCLDRCQUE0QjtrR0FBNUIsNEJBQTRCOzsyRkFBNUIsNEJBQTRCO2tCQUp4QyxTQUFTO21CQUFDO29CQUNQLFFBQVEsRUFBRSx1QkFBdUI7b0JBQ2pDLFVBQVUsRUFBRSxJQUFJO2lCQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ1tyZHhBbGVydERpYWxvZ1RpdGxlXScsXG4gICAgc3RhbmRhbG9uZTogdHJ1ZVxufSlcbmV4cG9ydCBjbGFzcyBSZHhBbGVydERpYWxvZ1RpdGxlRGlyZWN0aXZlIHt9XG4iXX0=","import { Directive, inject } from '@angular/core';\nimport { RdxAlertDialogService } from './alert-dialog.service';\nimport * as i0 from \"@angular/core\";\nexport class RdxAlertDialogTriggerDirective {\n constructor() {\n this.alertDialogService = inject(RdxAlertDialogService);\n }\n handleClick() {\n this.alertDialogService.open();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"20.3.3\", type: RdxAlertDialogTriggerDirective, isStandalone: true, selector: \"[rdxAlertDialogTrigger]\", host: { listeners: { \"click\": \"handleClick()\" } }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogTriggerDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[rdxAlertDialogTrigger]',\n standalone: true,\n host: {\n '(click)': 'handleClick()'\n }\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtZGlhbG9nLXRyaWdnZXIuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvcHJpbWl0aXZlcy9hbGVydC1kaWFsb2cvc3JjL2FsZXJ0LWRpYWxvZy10cmlnZ2VyLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx3QkF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\nimport { RdxAlertDialogCancelDirective } from './src/alert-dialog-cancel.directive';\nimport { RdxAlertDialogContentDirective } from './src/alert-dialog-content.directive';\nimport { RdxAlertDialogRootDirective } from './src/alert-dialog-root.directive';\nimport { RdxAlertDialogTitleDirective } from './src/alert-dialog-title.directive';\nimport { RdxAlertDialogTriggerDirective } from './src/alert-dialog-trigger.directive';\nimport * as i0 from \"@angular/core\";\nexport * from './src/alert-dialog-cancel.directive';\nexport * from './src/alert-dialog-content.directive';\nexport * from './src/alert-dialog-root.directive';\nexport * from './src/alert-dialog-title.directive';\nexport * from './src/alert-dialog-trigger.directive';\nexport * from './src/alert-dialog.service';\nconst _imports = [\n RdxAlertDialogRootDirective,\n RdxAlertDialogContentDirective,\n RdxAlertDialogCancelDirective,\n RdxAlertDialogTriggerDirective,\n RdxAlertDialogTitleDirective\n];\nexport class RdxAlertDialogModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogModule, imports: [RdxAlertDialogRootDirective,\n RdxAlertDialogContentDirective,\n RdxAlertDialogCancelDirective,\n RdxAlertDialogTriggerDirective,\n RdxAlertDialogTitleDirective], exports: [RdxAlertDialogRootDirective,\n RdxAlertDialogContentDirective,\n RdxAlertDialogCancelDirective,\n RdxAlertDialogTriggerDirective,\n RdxAlertDialogTitleDirective] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: RdxAlertDialogModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [..._imports],\n exports: [..._imports]\n }]\n }]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2ZSc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9hbGVydC1kaWFsb2ctcm9vdC5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvYWxlcnQtZGlhbG9nLXRpdGxlLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9hbGVydC1kaWFsb2ctdHJpZ2dlci5kaXJlY3RpdmUnO1xuXG5leHBvcnQgKiBmcm9tICcuL3NyYy9hbGVydC1kaWFsb2cuc2VydmljZSc7XG5cbmNvbnN0IF9pbXBvcnRzID0gW1xuICAgIFJkeEFsZXJ0RGlhbG9nUm9vdERpcmVjdGl2ZSxcbiAgICBSZHhBbGVydERpYWxvZ0NvbnRlbnREaXJlY3RpdmUsXG4gICAgUmR4QWxlcnREaWFsb2dDYW5jZWxEaXJlY3RpdmUsXG4gICAgUmR4QWxlcnREaWFsb2dUcmlnZ2VyRGlyZWN0aXZlLFxuICAgIFJkeEFsZXJ0RGlhbG9nVGl0bGVEaXJlY3RpdmVcbl07XG5cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogWy4uLl9pbXBvcnRzXSxcbiAgICBleHBvcnRzOiBbLi4uX2ltcG9ydHNdXG59KVxuZXhwb3J0IGNsYXNzIFJkeEFsZXJ0RGlhbG9nTW9kdWxlIHt9XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaXgtbmctcHJpbWl0aXZlcy1hbGVydC1kaWFsb2cuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9wcmltaXRpdmVzL2FsZXJ0LWRpYWxvZy9yYWRpeC1uZy1wcmltaXRpdmVzLWFsZXJ0LWRpYWxvZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxD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AC9H,YAAY,IAAI,EAAE,QAAQ;AAC1B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,OAAO,EAAE,CAAC,GAAG,QAAQ,CAAC;AAC1C,oBAAoB,OAAO,EAAE,CAAC,GAAG,QAAQ;AACzC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACvCb;AACA;AACA;;;;"}
|
|
1
|
+
{"version":3,"file":"radix-ng-primitives-alert-dialog.mjs","sources":["../../../packages/primitives/alert-dialog/src/alert-dialog-backdrop.ts","../../../packages/primitives/alert-dialog/src/alert-dialog-close.ts","../../../packages/primitives/alert-dialog/src/alert-dialog-description.ts","../../../packages/primitives/alert-dialog/src/alert-dialog-popup.ts","../../../packages/primitives/alert-dialog/src/alert-dialog-portal.ts","../../../packages/primitives/alert-dialog/src/alert-dialog-portal-presence.ts","../../../packages/primitives/alert-dialog/src/alert-dialog-root.ts","../../../packages/primitives/alert-dialog/src/alert-dialog-title.ts","../../../packages/primitives/alert-dialog/src/alert-dialog-trigger.ts","../../../packages/primitives/alert-dialog/src/alert-dialog-viewport.ts","../../../packages/primitives/alert-dialog/src/alert-dialog-handle.ts","../../../packages/primitives/alert-dialog/index.ts","../../../packages/primitives/alert-dialog/radix-ng-primitives-alert-dialog.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { RdxDialogBackdrop } from '@radix-ng/primitives/dialog';\n\n/**\n * An overlay displayed beneath the alert dialog popup.\n */\n@Directive({\n selector: '[rdxAlertDialogBackdrop]',\n exportAs: 'rdxAlertDialogBackdrop',\n hostDirectives: [RdxDialogBackdrop]\n})\nexport class RdxAlertDialogBackdrop {}\n","import { Directive } from '@angular/core';\nimport { RdxDialogClose } from '@radix-ng/primitives/dialog';\n\n/**\n * A button that closes the alert dialog.\n */\n@Directive({\n selector: 'button[rdxAlertDialogClose]',\n exportAs: 'rdxAlertDialogClose',\n hostDirectives: [RdxDialogClose]\n})\nexport class RdxAlertDialogClose {}\n","import { Directive } from '@angular/core';\nimport { RdxDialogDescription } from '@radix-ng/primitives/dialog';\n\n/**\n * An accessible description for the alert dialog.\n */\n@Directive({\n selector: '[rdxAlertDialogDescription]',\n exportAs: 'rdxAlertDialogDescription',\n hostDirectives: [RdxDialogDescription]\n})\nexport class RdxAlertDialogDescription {}\n","import { Directive } from '@angular/core';\nimport { RdxDialogPopup } from '@radix-ng/primitives/dialog';\n\n/**\n * A container for the alert dialog contents. Wraps the dialog popup, which reads alert semantics\n * (role, modal, dismissal) from the alert root's variant.\n */\n@Directive({\n selector: '[rdxAlertDialogPopup]',\n exportAs: 'rdxAlertDialogPopup',\n hostDirectives: [\n {\n directive: RdxDialogPopup,\n outputs: [\n 'escapeKeyDown',\n 'pointerDownOutside',\n 'focusOutside',\n 'interactOutside',\n 'openAutoFocus',\n 'closeAutoFocus'\n ]\n }\n ]\n})\nexport class RdxAlertDialogPopup {}\n","import { Directive } from '@angular/core';\nimport { RdxDialogPortal } from '@radix-ng/primitives/dialog';\n\n/**\n * Moves the alert dialog to a different part of the DOM. Defaults to `document.body`.\n */\n@Directive({\n selector: '[rdxAlertDialogPortal]',\n exportAs: 'rdxAlertDialogPortal',\n hostDirectives: [\n {\n directive: RdxDialogPortal,\n inputs: ['container']\n }\n ]\n})\nexport class RdxAlertDialogPortal {}\n","import { Directive } from '@angular/core';\nimport { RdxDialogPortalPresence } from '@radix-ng/primitives/dialog';\n\n/**\n * Mounts the portal while the alert dialog is open and waits for CSS exit keyframes before unmounting.\n */\n@Directive({\n selector: 'ng-template[rdxAlertDialogPortalPresence]',\n hostDirectives: [RdxDialogPortalPresence]\n})\nexport class RdxAlertDialogPortalPresence {}\n","import { Directive, inject } from '@angular/core';\nimport { provideRdxDialogVariant, RdxDialogRoot } from '@radix-ng/primitives/dialog';\n\n/**\n * Groups all parts of the alert dialog.\n *\n * Composes the Dialog primitive and forces alert-dialog semantics: it is always modal, never\n * dismisses on outside pointer / focus-out interactions (Escape still closes), and renders its\n * popup with `role=\"alertdialog\"`. Assemble it from the `rdxAlertDialog*` parts (Popup, Backdrop,\n * Title, Description, Close, Portal, Viewport), which are thin wrappers around the dialog parts.\n */\n@Directive({\n selector: '[rdxAlertDialogRoot]',\n exportAs: 'rdxAlertDialogRoot',\n hostDirectives: [\n {\n directive: RdxDialogRoot,\n inputs: ['open', 'defaultOpen', 'triggerId', 'defaultTriggerId', 'handle'],\n outputs: ['openChange', 'triggerIdChange', 'onOpenChange', 'onOpenChangeComplete']\n }\n ],\n providers: [\n provideRdxDialogVariant({\n role: 'alertdialog',\n forceModal: true,\n forcePointerDismissalDisabled: true\n })\n ]\n})\nexport class RdxAlertDialogRoot {\n private readonly dialog = inject(RdxDialogRoot);\n\n /** Whether the alert dialog is open (read-only mirror of the composed dialog state). */\n readonly open = this.dialog.open;\n /** The active trigger's id. */\n readonly triggerId = this.dialog.triggerId;\n /** Payload of the active trigger. */\n readonly payload = this.dialog.payload;\n}\n","import { Directive } from '@angular/core';\nimport { RdxDialogTitle } from '@radix-ng/primitives/dialog';\n\n/**\n * An accessible title for the alert dialog.\n */\n@Directive({\n selector: '[rdxAlertDialogTitle]',\n exportAs: 'rdxAlertDialogTitle',\n hostDirectives: [RdxDialogTitle]\n})\nexport class RdxAlertDialogTitle {}\n","import { Directive } from '@angular/core';\nimport { RdxDialogTrigger } from '@radix-ng/primitives/dialog';\n\n/**\n * A button that opens the alert dialog. Behaves exactly like the dialog trigger.\n */\n@Directive({\n selector: 'button[rdxAlertDialogTrigger]',\n exportAs: 'rdxAlertDialogTrigger',\n hostDirectives: [\n {\n directive: RdxDialogTrigger,\n inputs: ['handle', 'payload', 'id', 'disabled']\n }\n ]\n})\nexport class RdxAlertDialogTrigger {}\n","import { Directive } from '@angular/core';\nimport { RdxDialogViewport } from '@radix-ng/primitives/dialog';\n\n/**\n * A scrollable positioning container for the alert dialog popup.\n */\n@Directive({\n selector: '[rdxAlertDialogViewport]',\n exportAs: 'rdxAlertDialogViewport',\n hostDirectives: [RdxDialogViewport]\n})\nexport class RdxAlertDialogViewport {}\n","import { createRdxDialogHandle, RdxDialogHandle } from '@radix-ng/primitives/dialog';\n\n/**\n * Connects an alert dialog root with trigger elements rendered elsewhere in the DOM.\n *\n * Alert dialogs reuse the dialog handle implementation unchanged.\n */\nexport const RdxAlertDialogHandle = RdxDialogHandle;\nexport type RdxAlertDialogHandle<Payload = unknown> = RdxDialogHandle<Payload>;\n\nexport function createRdxAlertDialogHandle<Payload = unknown>(): RdxAlertDialogHandle<Payload> {\n return createRdxDialogHandle<Payload>();\n}\n","import { NgModule } from '@angular/core';\nimport { RdxAlertDialogBackdrop } from './src/alert-dialog-backdrop';\nimport { RdxAlertDialogClose } from './src/alert-dialog-close';\nimport { RdxAlertDialogDescription } from './src/alert-dialog-description';\nimport { RdxAlertDialogPopup } from './src/alert-dialog-popup';\nimport { RdxAlertDialogPortal } from './src/alert-dialog-portal';\nimport { RdxAlertDialogPortalPresence } from './src/alert-dialog-portal-presence';\nimport { RdxAlertDialogRoot } from './src/alert-dialog-root';\nimport { RdxAlertDialogTitle } from './src/alert-dialog-title';\nimport { RdxAlertDialogTrigger } from './src/alert-dialog-trigger';\nimport { RdxAlertDialogViewport } from './src/alert-dialog-viewport';\n\nexport * from './src/alert-dialog-backdrop';\nexport * from './src/alert-dialog-close';\nexport * from './src/alert-dialog-description';\nexport * from './src/alert-dialog-handle';\nexport * from './src/alert-dialog-popup';\nexport * from './src/alert-dialog-portal';\nexport * from './src/alert-dialog-portal-presence';\nexport * from './src/alert-dialog-root';\nexport * from './src/alert-dialog-title';\nexport * from './src/alert-dialog-trigger';\nexport * from './src/alert-dialog-viewport';\n\nexport const alertDialogImports = [\n RdxAlertDialogRoot,\n RdxAlertDialogTrigger,\n RdxAlertDialogPortalPresence,\n RdxAlertDialogPortal,\n RdxAlertDialogBackdrop,\n RdxAlertDialogViewport,\n RdxAlertDialogPopup,\n RdxAlertDialogTitle,\n RdxAlertDialogDescription,\n RdxAlertDialogClose\n];\n\n@NgModule({\n imports: [...alertDialogImports],\n exports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G,kBAAkB,CAAC;AAChC,oBAAA,OAAO,EAAE,CAAC,GAAG,kBAAkB;AAClC,iBAAA;;;ACxCD;;AAEG;;;;"}
|
|
@@ -3,32 +3,48 @@ import { input, numberAttribute, ChangeDetectionStrategy, Component } from '@ang
|
|
|
3
3
|
|
|
4
4
|
class RdxArrow {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.width = input(10, ...(ngDevMode ?
|
|
7
|
-
this.height = input(5, ...(ngDevMode ?
|
|
6
|
+
this.width = input(10, { ...(ngDevMode ? { debugName: "width" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
7
|
+
this.height = input(5, { ...(ngDevMode ? { debugName: "height" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
8
8
|
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxArrow, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: RdxArrow, isStandalone: true, selector: "rdx-arrow", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
11
11
|
<ng-content>
|
|
12
|
-
<svg
|
|
13
|
-
|
|
12
|
+
<svg
|
|
13
|
+
[style.width.px]="width()"
|
|
14
|
+
[style.height.px]="height()"
|
|
15
|
+
style="display: block"
|
|
16
|
+
viewBox="0 0 30 10"
|
|
17
|
+
preserveAspectRatio="none"
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
focusable="false"
|
|
20
|
+
>
|
|
21
|
+
<polygon points="0,0 30,0 15,10" fill="currentColor" />
|
|
14
22
|
</svg>
|
|
15
23
|
</ng-content>
|
|
16
24
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
17
25
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxArrow, decorators: [{
|
|
19
27
|
type: Component,
|
|
20
28
|
args: [{
|
|
21
29
|
selector: 'rdx-arrow',
|
|
22
30
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
31
|
template: `
|
|
24
32
|
<ng-content>
|
|
25
|
-
<svg
|
|
26
|
-
|
|
33
|
+
<svg
|
|
34
|
+
[style.width.px]="width()"
|
|
35
|
+
[style.height.px]="height()"
|
|
36
|
+
style="display: block"
|
|
37
|
+
viewBox="0 0 30 10"
|
|
38
|
+
preserveAspectRatio="none"
|
|
39
|
+
aria-hidden="true"
|
|
40
|
+
focusable="false"
|
|
41
|
+
>
|
|
42
|
+
<polygon points="0,0 30,0 15,10" fill="currentColor" />
|
|
27
43
|
</svg>
|
|
28
44
|
</ng-content>
|
|
29
45
|
`
|
|
30
46
|
}]
|
|
31
|
-
}] });
|
|
47
|
+
}], propDecorators: { width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }] } });
|
|
32
48
|
|
|
33
49
|
/**
|
|
34
50
|
* Generated bundle index. Do not edit.
|