@radix-ng/primitives 0.50.0 → 0.51.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 +41 -40
- package/fesm2022/radix-ng-primitives-accordion.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-alert-dialog.mjs +22 -22
- package/fesm2022/radix-ng-primitives-alert-dialog.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-arrow.mjs +6 -6
- 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 +22 -22
- package/fesm2022/radix-ng-primitives-avatar.mjs.map +1 -1
- 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 +51 -41
- package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-collapsible.mjs +28 -28
- package/fesm2022/radix-ng-primitives-collapsible.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-collection.mjs +89 -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 +36 -36
- package/fesm2022/radix-ng-primitives-context-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-core.mjs +33 -24
- package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-cropper.mjs +54 -53
- package/fesm2022/radix-ng-primitives-cropper.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-date-field.mjs +48 -47
- package/fesm2022/radix-ng-primitives-date-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dialog.mjs +34 -34
- package/fesm2022/radix-ng-primitives-dialog.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dismissable-layer.mjs +31 -33
- package/fesm2022/radix-ng-primitives-dismissable-layer.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +41 -43
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-editable.mjs +20 -20
- package/fesm2022/radix-ng-primitives-editable.mjs.map +1 -1
- 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 +7 -7
- package/fesm2022/radix-ng-primitives-focus-scope.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-hover-card.mjs +69 -77
- package/fesm2022/radix-ng-primitives-hover-card.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-label.mjs +7 -7
- package/fesm2022/radix-ng-primitives-label.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-menu.mjs +65 -70
- package/fesm2022/radix-ng-primitives-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-menubar.mjs +31 -31
- package/fesm2022/radix-ng-primitives-menubar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-navigation-menu.mjs +113 -105
- package/fesm2022/radix-ng-primitives-navigation-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-number-field.mjs +48 -47
- 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 +67 -71
- package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-popper.mjs +61 -56
- package/fesm2022/radix-ng-primitives-popper.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-portal.mjs +7 -7
- package/fesm2022/radix-ng-primitives-portal.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-presence.mjs +4 -4
- package/fesm2022/radix-ng-primitives-presence.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-progress.mjs +16 -16
- package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-radio.mjs +38 -37
- package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-roving-focus.mjs +38 -34
- package/fesm2022/radix-ng-primitives-roving-focus.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-select.mjs +41 -43
- package/fesm2022/radix-ng-primitives-select.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-select2.mjs +897 -0
- package/fesm2022/radix-ng-primitives-select2.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-separator.mjs +11 -17
- package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-slider.mjs +88 -84
- package/fesm2022/radix-ng-primitives-slider.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-stepper.mjs +55 -53
- package/fesm2022/radix-ng-primitives-stepper.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-switch.mjs +22 -30
- package/fesm2022/radix-ng-primitives-switch.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tabs.mjs +38 -38
- package/fesm2022/radix-ng-primitives-tabs.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-time-field.mjs +63 -78
- package/fesm2022/radix-ng-primitives-time-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle-group.mjs +24 -24
- package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle.mjs +11 -11
- package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toolbar.mjs +31 -29
- package/fesm2022/radix-ng-primitives-toolbar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tooltip.mjs +69 -77
- package/fesm2022/radix-ng-primitives-tooltip.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tooltip2.mjs +57 -62
- package/fesm2022/radix-ng-primitives-tooltip2.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-visually-hidden.mjs +31 -31
- package/fesm2022/radix-ng-primitives-visually-hidden.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives.mjs.map +1 -1
- package/package.json +63 -54
- package/select2/README.md +3 -0
- package/{accordion/index.d.ts → types/radix-ng-primitives-accordion.d.ts} +61 -60
- package/{calendar/index.d.ts → types/radix-ng-primitives-calendar.d.ts} +1 -1
- package/{checkbox/index.d.ts → types/radix-ng-primitives-checkbox.d.ts} +31 -27
- package/{collapsible/index.d.ts → types/radix-ng-primitives-collapsible.d.ts} +20 -19
- package/types/radix-ng-primitives-collection.d.ts +40 -0
- package/{core/index.d.ts → types/radix-ng-primitives-core.d.ts} +6 -2
- package/{cropper/index.d.ts → types/radix-ng-primitives-cropper.d.ts} +4 -3
- package/{date-field/index.d.ts → types/radix-ng-primitives-date-field.d.ts} +4 -4
- package/{dialog/index.d.ts → types/radix-ng-primitives-dialog.d.ts} +2 -1
- package/{hover-card/index.d.ts → types/radix-ng-primitives-hover-card.d.ts} +3 -4
- package/{menu/index.d.ts → types/radix-ng-primitives-menu.d.ts} +1 -1
- package/{navigation-menu/index.d.ts → types/radix-ng-primitives-navigation-menu.d.ts} +47 -46
- package/{number-field/index.d.ts → types/radix-ng-primitives-number-field.d.ts} +13 -12
- package/{popover/index.d.ts → types/radix-ng-primitives-popover.d.ts} +3 -4
- package/{popper/index.d.ts → types/radix-ng-primitives-popper.d.ts} +1 -0
- package/{progress/index.d.ts → types/radix-ng-primitives-progress.d.ts} +2 -1
- package/{radio/index.d.ts → types/radix-ng-primitives-radio.d.ts} +1 -1
- package/{roving-focus/index.d.ts → types/radix-ng-primitives-roving-focus.d.ts} +8 -6
- package/types/radix-ng-primitives-select2.d.ts +511 -0
- package/{slider/index.d.ts → types/radix-ng-primitives-slider.d.ts} +4 -4
- package/{stepper/index.d.ts → types/radix-ng-primitives-stepper.d.ts} +17 -16
- package/{switch/index.d.ts → types/radix-ng-primitives-switch.d.ts} +3 -2
- package/{tabs/index.d.ts → types/radix-ng-primitives-tabs.d.ts} +7 -6
- package/{time-field/index.d.ts → types/radix-ng-primitives-time-field.d.ts} +4 -4
- package/{toggle-group/index.d.ts → types/radix-ng-primitives-toggle-group.d.ts} +12 -11
- package/{tooltip/index.d.ts → types/radix-ng-primitives-tooltip.d.ts} +3 -4
- package/{tooltip2/index.d.ts → types/radix-ng-primitives-tooltip2.d.ts} +4 -4
- /package/{alert-dialog/index.d.ts → types/radix-ng-primitives-alert-dialog.d.ts} +0 -0
- /package/{arrow/index.d.ts → types/radix-ng-primitives-arrow.d.ts} +0 -0
- /package/{aspect-ratio/index.d.ts → types/radix-ng-primitives-aspect-ratio.d.ts} +0 -0
- /package/{avatar/index.d.ts → types/radix-ng-primitives-avatar.d.ts} +0 -0
- /package/{config/index.d.ts → types/radix-ng-primitives-config.d.ts} +0 -0
- /package/{context-menu/index.d.ts → types/radix-ng-primitives-context-menu.d.ts} +0 -0
- /package/{dismissable-layer/index.d.ts → types/radix-ng-primitives-dismissable-layer.d.ts} +0 -0
- /package/{dropdown-menu/index.d.ts → types/radix-ng-primitives-dropdown-menu.d.ts} +0 -0
- /package/{editable/index.d.ts → types/radix-ng-primitives-editable.d.ts} +0 -0
- /package/{focus-guards/index.d.ts → types/radix-ng-primitives-focus-guards.d.ts} +0 -0
- /package/{focus-scope/index.d.ts → types/radix-ng-primitives-focus-scope.d.ts} +0 -0
- /package/{label/index.d.ts → types/radix-ng-primitives-label.d.ts} +0 -0
- /package/{menubar/index.d.ts → types/radix-ng-primitives-menubar.d.ts} +0 -0
- /package/{pagination/index.d.ts → types/radix-ng-primitives-pagination.d.ts} +0 -0
- /package/{portal/index.d.ts → types/radix-ng-primitives-portal.d.ts} +0 -0
- /package/{presence/index.d.ts → types/radix-ng-primitives-presence.d.ts} +0 -0
- /package/{select/index.d.ts → types/radix-ng-primitives-select.d.ts} +0 -0
- /package/{separator/index.d.ts → types/radix-ng-primitives-separator.d.ts} +0 -0
- /package/{toggle/index.d.ts → types/radix-ng-primitives-toggle.d.ts} +0 -0
- /package/{toolbar/index.d.ts → types/radix-ng-primitives-toolbar.d.ts} +0 -0
- /package/{visually-hidden/index.d.ts → types/radix-ng-primitives-visually-hidden.d.ts} +0 -0
- /package/{index.d.ts → types/radix-ng-primitives.d.ts} +0 -0
|
@@ -53,53 +53,49 @@ class RdxHoverCardContentDirective {
|
|
|
53
53
|
/** @ignore */
|
|
54
54
|
this.connectedOverlay = inject(CdkConnectedOverlay);
|
|
55
55
|
/** @ignore */
|
|
56
|
-
this.name = computed(() => `rdx-hover-card-trigger-${this.rootDirective.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : []));
|
|
56
|
+
this.name = computed(() => `rdx-hover-card-trigger-${this.rootDirective.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
57
57
|
/**
|
|
58
58
|
* The preferred side of the trigger to render against when open. Will be reversed when collisions occur and avoidCollisions is enabled.
|
|
59
59
|
* @group Props
|
|
60
60
|
* @defaultValue top
|
|
61
61
|
*/
|
|
62
|
-
this.side = input(RdxPositionSide.Top, ...(ngDevMode ? [{ debugName: "side" }] : []));
|
|
62
|
+
this.side = input(RdxPositionSide.Top, ...(ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []));
|
|
63
63
|
/**
|
|
64
64
|
* The distance in pixels from the trigger.
|
|
65
65
|
* @group Props
|
|
66
66
|
* @defaultValue undefined
|
|
67
67
|
*/
|
|
68
|
-
this.sideOffset = input(NaN, ...(ngDevMode ?
|
|
69
|
-
transform: numberAttribute
|
|
70
|
-
}]));
|
|
68
|
+
this.sideOffset = input(NaN, { ...(ngDevMode ? { debugName: "sideOffset" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
71
69
|
/**
|
|
72
70
|
* The preferred alignment against the trigger. May change when collisions occur.
|
|
73
71
|
* @group Props
|
|
74
72
|
* @defaultValue center
|
|
75
73
|
*/
|
|
76
|
-
this.align = input(RdxPositionAlign.Center, ...(ngDevMode ? [{ debugName: "align" }] : []));
|
|
74
|
+
this.align = input(RdxPositionAlign.Center, ...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
|
|
77
75
|
/**
|
|
78
76
|
* An offset in pixels from the "start" or "end" alignment options.
|
|
79
77
|
* @group Props
|
|
80
78
|
* @defaultValue undefined
|
|
81
79
|
*/
|
|
82
|
-
this.alignOffset = input(NaN, ...(ngDevMode ?
|
|
83
|
-
transform: numberAttribute
|
|
84
|
-
}]));
|
|
80
|
+
this.alignOffset = input(NaN, { ...(ngDevMode ? { debugName: "alignOffset" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
85
81
|
/**
|
|
86
82
|
* Whether to add some alternate positions of the content.
|
|
87
83
|
* @group Props
|
|
88
84
|
* @defaultValue false
|
|
89
85
|
*/
|
|
90
|
-
this.alternatePositionsDisabled = input(false, ...(ngDevMode ?
|
|
86
|
+
this.alternatePositionsDisabled = input(false, { ...(ngDevMode ? { debugName: "alternatePositionsDisabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
91
87
|
/**
|
|
92
88
|
* Whether to prevent `onOverlayEscapeKeyDown` handler from calling.
|
|
93
89
|
* @group Props
|
|
94
90
|
* @defaultValue false
|
|
95
91
|
*/
|
|
96
|
-
this.onOverlayEscapeKeyDownDisabled = input(false, ...(ngDevMode ?
|
|
92
|
+
this.onOverlayEscapeKeyDownDisabled = input(false, { ...(ngDevMode ? { debugName: "onOverlayEscapeKeyDownDisabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
97
93
|
/**
|
|
98
94
|
* Whether to prevent `onOverlayOutsideClick` handler from calling.
|
|
99
95
|
* @group Props
|
|
100
96
|
* @defaultValue false
|
|
101
97
|
*/
|
|
102
|
-
this.onOverlayOutsideClickDisabled = input(false, ...(ngDevMode ?
|
|
98
|
+
this.onOverlayOutsideClickDisabled = input(false, { ...(ngDevMode ? { debugName: "onOverlayOutsideClickDisabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
103
99
|
/**
|
|
104
100
|
* Event handler called when the escape key is down.
|
|
105
101
|
* It can be prevented by setting `onOverlayEscapeKeyDownDisabled` input to `true`.
|
|
@@ -123,7 +119,7 @@ class RdxHoverCardContentDirective {
|
|
|
123
119
|
*/
|
|
124
120
|
this.onClosed = output();
|
|
125
121
|
/** @ingore */
|
|
126
|
-
this.positions = computed(() => this.computePositions(), ...(ngDevMode ? [{ debugName: "positions" }] : []));
|
|
122
|
+
this.positions = computed(() => this.computePositions(), ...(ngDevMode ? [{ debugName: "positions" }] : /* istanbul ignore next */ []));
|
|
127
123
|
this.onOriginChangeEffect();
|
|
128
124
|
this.onPositionChangeEffect();
|
|
129
125
|
}
|
|
@@ -307,16 +303,16 @@ class RdxHoverCardContentDirective {
|
|
|
307
303
|
[input]: new SimpleChange(previousValue, currentValue, firstChange)
|
|
308
304
|
});
|
|
309
305
|
}
|
|
310
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
311
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
306
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
307
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.9", type: RdxHoverCardContentDirective, isStandalone: true, selector: "[rdxHoverCardContent]", inputs: { side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, sideOffset: { classPropertyName: "sideOffset", publicName: "sideOffset", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, alignOffset: { classPropertyName: "alignOffset", publicName: "alignOffset", isSignal: true, isRequired: false, transformFunction: null }, alternatePositionsDisabled: { classPropertyName: "alternatePositionsDisabled", publicName: "alternatePositionsDisabled", isSignal: true, isRequired: false, transformFunction: null }, onOverlayEscapeKeyDownDisabled: { classPropertyName: "onOverlayEscapeKeyDownDisabled", publicName: "onOverlayEscapeKeyDownDisabled", isSignal: true, isRequired: false, transformFunction: null }, onOverlayOutsideClickDisabled: { classPropertyName: "onOverlayOutsideClickDisabled", publicName: "onOverlayOutsideClickDisabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onOverlayEscapeKeyDown: "onOverlayEscapeKeyDown", onOverlayOutsideClick: "onOverlayOutsideClick", onOpen: "onOpen", onClosed: "onClosed" }, hostDirectives: [{ directive: i1.CdkConnectedOverlay }], ngImport: i0 }); }
|
|
312
308
|
}
|
|
313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardContentDirective, decorators: [{
|
|
314
310
|
type: Directive,
|
|
315
311
|
args: [{
|
|
316
312
|
selector: '[rdxHoverCardContent]',
|
|
317
313
|
hostDirectives: [CdkConnectedOverlay]
|
|
318
314
|
}]
|
|
319
|
-
}], ctorParameters: () => [] });
|
|
315
|
+
}], ctorParameters: () => [], propDecorators: { side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }], sideOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "sideOffset", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], alignOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "alignOffset", required: false }] }], alternatePositionsDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "alternatePositionsDisabled", required: false }] }], onOverlayEscapeKeyDownDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "onOverlayEscapeKeyDownDisabled", required: false }] }], onOverlayOutsideClickDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "onOverlayOutsideClickDisabled", required: false }] }], onOverlayEscapeKeyDown: [{ type: i0.Output, args: ["onOverlayEscapeKeyDown"] }], onOverlayOutsideClick: [{ type: i0.Output, args: ["onOverlayOutsideClick"] }], onOpen: [{ type: i0.Output, args: ["onOpen"] }], onClosed: [{ type: i0.Output, args: ["onClosed"] }] } });
|
|
320
316
|
|
|
321
317
|
class RdxHoverCardTriggerDirective {
|
|
322
318
|
constructor() {
|
|
@@ -327,7 +323,7 @@ class RdxHoverCardTriggerDirective {
|
|
|
327
323
|
/** @ignore */
|
|
328
324
|
this.overlayOrigin = inject(CdkOverlayOrigin);
|
|
329
325
|
/** @ignore */
|
|
330
|
-
this.name = computed(() => `rdx-hover-card-trigger-${this.rootDirective.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : []));
|
|
326
|
+
this.name = computed(() => `rdx-hover-card-trigger-${this.rootDirective.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
331
327
|
}
|
|
332
328
|
/** @ignore */
|
|
333
329
|
pointerenter() {
|
|
@@ -349,10 +345,10 @@ class RdxHoverCardTriggerDirective {
|
|
|
349
345
|
click() {
|
|
350
346
|
this.rootDirective.handleClose();
|
|
351
347
|
}
|
|
352
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
353
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
348
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
349
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxHoverCardTriggerDirective, isStandalone: true, selector: "[rdxHoverCardTrigger]", host: { listeners: { "pointerenter": "pointerenter()", "pointerleave": "pointerleave()", "focus": "focus()", "blur": "blur()", "click": "click()" }, properties: { "attr.id": "name()", "attr.aria-haspopup": "\"dialog\"", "attr.aria-expanded": "rootDirective.isOpen()", "attr.aria-controls": "rootDirective.contentDirective().name()", "attr.data-state": "rootDirective.state()" } }, hostDirectives: [{ directive: i1.CdkOverlayOrigin }], ngImport: i0 }); }
|
|
354
350
|
}
|
|
355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardTriggerDirective, decorators: [{
|
|
356
352
|
type: Directive,
|
|
357
353
|
args: [{
|
|
358
354
|
selector: '[rdxHoverCardTrigger]',
|
|
@@ -490,10 +486,10 @@ class RdxCdkEventService {
|
|
|
490
486
|
}
|
|
491
487
|
this.onDestroyCallbacks.add(destroyClickDomRootEventListener);
|
|
492
488
|
}
|
|
493
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
494
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
489
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxCdkEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
490
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxCdkEventService }); }
|
|
495
491
|
}
|
|
496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxCdkEventService, decorators: [{
|
|
497
493
|
type: Injectable
|
|
498
494
|
}], ctorParameters: () => [] });
|
|
499
495
|
const RdxCdkEventServiceToken = new InjectionToken('RdxCdkEventServiceToken');
|
|
@@ -529,81 +525,77 @@ let nextId = 0;
|
|
|
529
525
|
class RdxHoverCardRootDirective {
|
|
530
526
|
constructor() {
|
|
531
527
|
/** @ignore */
|
|
532
|
-
this.uniqueId = signal(++nextId, ...(ngDevMode ? [{ debugName: "uniqueId" }] : []));
|
|
528
|
+
this.uniqueId = signal(++nextId, ...(ngDevMode ? [{ debugName: "uniqueId" }] : /* istanbul ignore next */ []));
|
|
533
529
|
/** @ignore */
|
|
534
|
-
this.name = computed(() => `rdx-hover-card-root-${this.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : []));
|
|
530
|
+
this.name = computed(() => `rdx-hover-card-root-${this.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
535
531
|
/**
|
|
536
532
|
* The anchor directive that comes from outside the hover-card rootDirective
|
|
537
533
|
* @group Props
|
|
538
534
|
* @defaultValue undefined
|
|
539
535
|
*/
|
|
540
|
-
this.anchor = input(void 0, ...(ngDevMode ? [{ debugName: "anchor" }] : []));
|
|
536
|
+
this.anchor = input(void 0, ...(ngDevMode ? [{ debugName: "anchor" }] : /* istanbul ignore next */ []));
|
|
541
537
|
/**
|
|
542
538
|
* The open state of the hover-card when it is initially rendered. Use when you do not need to control its open state.
|
|
543
539
|
* @group Props
|
|
544
540
|
* @defaultValue false
|
|
545
541
|
*/
|
|
546
|
-
this.defaultOpen = input(false, ...(ngDevMode ?
|
|
542
|
+
this.defaultOpen = input(false, { ...(ngDevMode ? { debugName: "defaultOpen" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
547
543
|
/**
|
|
548
544
|
* The controlled state of the hover-card. `open` input takes precedence over `defaultOpen` input.
|
|
549
545
|
* @group Props
|
|
550
546
|
* @defaultValue undefined
|
|
551
547
|
*/
|
|
552
|
-
this.open = input(void 0, ...(ngDevMode ?
|
|
548
|
+
this.open = input(void 0, { ...(ngDevMode ? { debugName: "open" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
553
549
|
/**
|
|
554
550
|
* The delay in milliseconds before the hover-card opens.
|
|
555
551
|
* @group Props
|
|
556
552
|
* @defaultValue 500
|
|
557
553
|
*/
|
|
558
|
-
this.openDelay = input(500, ...(ngDevMode ?
|
|
559
|
-
transform: numberAttribute
|
|
560
|
-
}]));
|
|
554
|
+
this.openDelay = input(500, { ...(ngDevMode ? { debugName: "openDelay" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
561
555
|
/**
|
|
562
556
|
* The delay in milliseconds before the hover-card closes.
|
|
563
557
|
* @group Props
|
|
564
558
|
* @defaultValue 200
|
|
565
559
|
*/
|
|
566
|
-
this.closeDelay = input(200, ...(ngDevMode ?
|
|
567
|
-
transform: numberAttribute
|
|
568
|
-
}]));
|
|
560
|
+
this.closeDelay = input(200, { ...(ngDevMode ? { debugName: "closeDelay" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
569
561
|
/**
|
|
570
562
|
* Whether to control the state of the hover-card from outside. Use in conjunction with `open` input.
|
|
571
563
|
* @group Props
|
|
572
564
|
* @defaultValue undefined
|
|
573
565
|
*/
|
|
574
|
-
this.externalControl = input(void 0, ...(ngDevMode ?
|
|
566
|
+
this.externalControl = input(void 0, { ...(ngDevMode ? { debugName: "externalControl" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
575
567
|
/**
|
|
576
568
|
* Whether to take into account CSS opening/closing animations.
|
|
577
569
|
* @group Props
|
|
578
570
|
* @defaultValue false
|
|
579
571
|
*/
|
|
580
|
-
this.cssAnimation = input(false, ...(ngDevMode ?
|
|
572
|
+
this.cssAnimation = input(false, { ...(ngDevMode ? { debugName: "cssAnimation" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
581
573
|
/**
|
|
582
574
|
* Whether to take into account CSS opening animations. `cssAnimation` input must be set to 'true'
|
|
583
575
|
* @group Props
|
|
584
576
|
* @defaultValue false
|
|
585
577
|
*/
|
|
586
|
-
this.cssOpeningAnimation = input(false, ...(ngDevMode ?
|
|
578
|
+
this.cssOpeningAnimation = input(false, { ...(ngDevMode ? { debugName: "cssOpeningAnimation" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
587
579
|
/**
|
|
588
580
|
* Whether to take into account CSS closing animations. `cssAnimation` input must be set to 'true'
|
|
589
581
|
* @group Props
|
|
590
582
|
* @defaultValue false
|
|
591
583
|
*/
|
|
592
|
-
this.cssClosingAnimation = input(false, ...(ngDevMode ?
|
|
584
|
+
this.cssClosingAnimation = input(false, { ...(ngDevMode ? { debugName: "cssClosingAnimation" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
593
585
|
/** @ignore */
|
|
594
|
-
this.cssAnimationStatus = signal(null, ...(ngDevMode ? [{ debugName: "cssAnimationStatus" }] : []));
|
|
586
|
+
this.cssAnimationStatus = signal(null, ...(ngDevMode ? [{ debugName: "cssAnimationStatus" }] : /* istanbul ignore next */ []));
|
|
595
587
|
/** @ignore */
|
|
596
588
|
this.contentDirective = contentChild.required(RdxHoverCardContentDirective);
|
|
597
589
|
/** @ignore */
|
|
598
590
|
this.triggerDirective = contentChild.required(RdxHoverCardTriggerDirective);
|
|
599
591
|
/** @ignore */
|
|
600
|
-
this.arrowDirective = contentChild(RdxHoverCardArrowToken, ...(ngDevMode ? [{ debugName: "arrowDirective" }] : []));
|
|
592
|
+
this.arrowDirective = contentChild(RdxHoverCardArrowToken, ...(ngDevMode ? [{ debugName: "arrowDirective" }] : /* istanbul ignore next */ []));
|
|
601
593
|
/** @ignore */
|
|
602
|
-
this.closeDirective = contentChild(RdxHoverCardCloseToken, ...(ngDevMode ? [{ debugName: "closeDirective" }] : []));
|
|
594
|
+
this.closeDirective = contentChild(RdxHoverCardCloseToken, ...(ngDevMode ? [{ debugName: "closeDirective" }] : /* istanbul ignore next */ []));
|
|
603
595
|
/** @ignore */
|
|
604
|
-
this.contentAttributesComponent = contentChild(RdxHoverCardContentAttributesToken, ...(ngDevMode ? [{ debugName: "contentAttributesComponent" }] : []));
|
|
596
|
+
this.contentAttributesComponent = contentChild(RdxHoverCardContentAttributesToken, ...(ngDevMode ? [{ debugName: "contentAttributesComponent" }] : /* istanbul ignore next */ []));
|
|
605
597
|
/** @ignore */
|
|
606
|
-
this.internalAnchorDirective = contentChild(RdxHoverCardAnchorToken, ...(ngDevMode ? [{ debugName: "internalAnchorDirective" }] : []));
|
|
598
|
+
this.internalAnchorDirective = contentChild(RdxHoverCardAnchorToken, ...(ngDevMode ? [{ debugName: "internalAnchorDirective" }] : /* istanbul ignore next */ []));
|
|
607
599
|
/** @ignore */
|
|
608
600
|
this.viewContainerRef = inject(ViewContainerRef);
|
|
609
601
|
/** @ignore */
|
|
@@ -611,13 +603,13 @@ class RdxHoverCardRootDirective {
|
|
|
611
603
|
/** @ignore */
|
|
612
604
|
this.destroyRef = inject(DestroyRef);
|
|
613
605
|
/** @ignore */
|
|
614
|
-
this.state = signal(RdxHoverCardState.CLOSED, ...(ngDevMode ? [{ debugName: "state" }] : []));
|
|
606
|
+
this.state = signal(RdxHoverCardState.CLOSED, ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
|
|
615
607
|
/** @ignore */
|
|
616
|
-
this.attachDetachEvent = signal(RdxHoverCardAttachDetachEvent.DETACH, ...(ngDevMode ? [{ debugName: "attachDetachEvent" }] : []));
|
|
608
|
+
this.attachDetachEvent = signal(RdxHoverCardAttachDetachEvent.DETACH, ...(ngDevMode ? [{ debugName: "attachDetachEvent" }] : /* istanbul ignore next */ []));
|
|
617
609
|
/** @ignore */
|
|
618
|
-
this.isFirstDefaultOpen = signal(false, ...(ngDevMode ? [{ debugName: "isFirstDefaultOpen" }] : []));
|
|
610
|
+
this.isFirstDefaultOpen = signal(false, ...(ngDevMode ? [{ debugName: "isFirstDefaultOpen" }] : /* istanbul ignore next */ []));
|
|
619
611
|
/** @ignore */
|
|
620
|
-
this.anchorDirective = computed(() => this.internalAnchorDirective() ?? this.anchor(), ...(ngDevMode ? [{ debugName: "anchorDirective" }] : []));
|
|
612
|
+
this.anchorDirective = computed(() => this.internalAnchorDirective() ?? this.anchor(), ...(ngDevMode ? [{ debugName: "anchorDirective" }] : /* istanbul ignore next */ []));
|
|
621
613
|
/** @ignore */
|
|
622
614
|
this.actionSubject$ = new Subject();
|
|
623
615
|
/** @ignore */
|
|
@@ -847,7 +839,7 @@ class RdxHoverCardRootDirective {
|
|
|
847
839
|
}
|
|
848
840
|
this.handleOpen();
|
|
849
841
|
});
|
|
850
|
-
}, ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
842
|
+
}, ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
|
|
851
843
|
}
|
|
852
844
|
/** @ignore */
|
|
853
845
|
actionSubscription() {
|
|
@@ -872,16 +864,16 @@ class RdxHoverCardRootDirective {
|
|
|
872
864
|
}), takeUntilDestroyed())
|
|
873
865
|
.subscribe();
|
|
874
866
|
}
|
|
875
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
876
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
867
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
868
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.9", type: RdxHoverCardRootDirective, isStandalone: true, selector: "[rdxHoverCardRoot]", inputs: { anchor: { classPropertyName: "anchor", publicName: "anchor", isSignal: true, isRequired: false, transformFunction: null }, defaultOpen: { classPropertyName: "defaultOpen", publicName: "defaultOpen", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, openDelay: { classPropertyName: "openDelay", publicName: "openDelay", isSignal: true, isRequired: false, transformFunction: null }, closeDelay: { classPropertyName: "closeDelay", publicName: "closeDelay", isSignal: true, isRequired: false, transformFunction: null }, externalControl: { classPropertyName: "externalControl", publicName: "externalControl", isSignal: true, isRequired: false, transformFunction: null }, cssAnimation: { classPropertyName: "cssAnimation", publicName: "cssAnimation", isSignal: true, isRequired: false, transformFunction: null }, cssOpeningAnimation: { classPropertyName: "cssOpeningAnimation", publicName: "cssOpeningAnimation", isSignal: true, isRequired: false, transformFunction: null }, cssClosingAnimation: { classPropertyName: "cssClosingAnimation", publicName: "cssClosingAnimation", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "contentDirective", first: true, predicate: RdxHoverCardContentDirective, descendants: true, isSignal: true }, { propertyName: "triggerDirective", first: true, predicate: RdxHoverCardTriggerDirective, descendants: true, isSignal: true }, { propertyName: "arrowDirective", first: true, predicate: RdxHoverCardArrowToken, descendants: true, isSignal: true }, { propertyName: "closeDirective", first: true, predicate: RdxHoverCardCloseToken, descendants: true, isSignal: true }, { propertyName: "contentAttributesComponent", first: true, predicate: RdxHoverCardContentAttributesToken, descendants: true, isSignal: true }, { propertyName: "internalAnchorDirective", first: true, predicate: RdxHoverCardAnchorToken, descendants: true, isSignal: true }], exportAs: ["rdxHoverCardRoot"], ngImport: i0 }); }
|
|
877
869
|
}
|
|
878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardRootDirective, decorators: [{
|
|
879
871
|
type: Directive,
|
|
880
872
|
args: [{
|
|
881
873
|
selector: '[rdxHoverCardRoot]',
|
|
882
874
|
exportAs: 'rdxHoverCardRoot'
|
|
883
875
|
}]
|
|
884
|
-
}], ctorParameters: () => [] });
|
|
876
|
+
}], ctorParameters: () => [], propDecorators: { anchor: [{ type: i0.Input, args: [{ isSignal: true, alias: "anchor", required: false }] }], defaultOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultOpen", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], openDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "openDelay", required: false }] }], closeDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeDelay", required: false }] }], externalControl: [{ type: i0.Input, args: [{ isSignal: true, alias: "externalControl", required: false }] }], cssAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssAnimation", required: false }] }], cssOpeningAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssOpeningAnimation", required: false }] }], cssClosingAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssClosingAnimation", required: false }] }], contentDirective: [{ type: i0.ContentChild, args: [i0.forwardRef(() => RdxHoverCardContentDirective), { isSignal: true }] }], triggerDirective: [{ type: i0.ContentChild, args: [i0.forwardRef(() => RdxHoverCardTriggerDirective), { isSignal: true }] }], arrowDirective: [{ type: i0.ContentChild, args: [i0.forwardRef(() => RdxHoverCardArrowToken), { isSignal: true }] }], closeDirective: [{ type: i0.ContentChild, args: [i0.forwardRef(() => RdxHoverCardCloseToken), { isSignal: true }] }], contentAttributesComponent: [{ type: i0.ContentChild, args: [i0.forwardRef(() => RdxHoverCardContentAttributesToken), { isSignal: true }] }], internalAnchorDirective: [{ type: i0.ContentChild, args: [i0.forwardRef(() => RdxHoverCardAnchorToken), { isSignal: true }] }] } });
|
|
885
877
|
|
|
886
878
|
function injectHoverCardRoot(optional = false) {
|
|
887
879
|
isDevMode() && assertInInjectionContext(injectHoverCardRoot);
|
|
@@ -903,7 +895,7 @@ class RdxHoverCardAnchorDirective {
|
|
|
903
895
|
/** @ignore */
|
|
904
896
|
this.document = injectDocument();
|
|
905
897
|
/** @ignore */
|
|
906
|
-
this.name = computed(() => `rdx-hover-card-external-anchor-${this.rootDirective?.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : []));
|
|
898
|
+
this.name = computed(() => `rdx-hover-card-external-anchor-${this.rootDirective?.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
907
899
|
}
|
|
908
900
|
/** @ignore */
|
|
909
901
|
click() {
|
|
@@ -925,15 +917,15 @@ class RdxHoverCardAnchorDirective {
|
|
|
925
917
|
});
|
|
926
918
|
this.rootDirective?.triggerDirective().elementRef.nativeElement.dispatchEvent(clickEvent);
|
|
927
919
|
}
|
|
928
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
929
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
920
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
921
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxHoverCardAnchorDirective, isStandalone: true, selector: "[rdxHoverCardAnchor]", host: { attributes: { "type": "button" }, listeners: { "click": "click()" }, properties: { "attr.id": "name()", "attr.aria-haspopup": "\"dialog\"" } }, providers: [
|
|
930
922
|
{
|
|
931
923
|
provide: RdxHoverCardAnchorToken,
|
|
932
924
|
useExisting: forwardRef(() => RdxHoverCardAnchorDirective)
|
|
933
925
|
}
|
|
934
926
|
], exportAs: ["rdxHoverCardAnchor"], hostDirectives: [{ directive: i1.CdkOverlayOrigin }], ngImport: i0 }); }
|
|
935
927
|
}
|
|
936
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardAnchorDirective, decorators: [{
|
|
937
929
|
type: Directive,
|
|
938
930
|
args: [{
|
|
939
931
|
selector: '[rdxHoverCardAnchor]',
|
|
@@ -970,13 +962,13 @@ class RdxHoverCardArrowDirective {
|
|
|
970
962
|
* @group Props
|
|
971
963
|
* @defaultValue 10
|
|
972
964
|
*/
|
|
973
|
-
this.width = input(RDX_POSITIONING_DEFAULTS.arrow.width, ...(ngDevMode ?
|
|
965
|
+
this.width = input(RDX_POSITIONING_DEFAULTS.arrow.width, { ...(ngDevMode ? { debugName: "width" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
974
966
|
/**
|
|
975
967
|
* The height of the arrow in pixels.
|
|
976
968
|
* @group Props
|
|
977
969
|
* @defaultValue 5
|
|
978
970
|
*/
|
|
979
|
-
this.height = input(RDX_POSITIONING_DEFAULTS.arrow.height, ...(ngDevMode ?
|
|
971
|
+
this.height = input(RDX_POSITIONING_DEFAULTS.arrow.height, { ...(ngDevMode ? { debugName: "height" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
980
972
|
/** @ignore */
|
|
981
973
|
this.arrowSvgElement = computed(() => {
|
|
982
974
|
const width = this.width();
|
|
@@ -990,9 +982,9 @@ class RdxHoverCardArrowDirective {
|
|
|
990
982
|
this.renderer.setAttribute(svgElement, 'preserveAspectRatio', 'none');
|
|
991
983
|
this.renderer.appendChild(svgElement, polygonElement);
|
|
992
984
|
return svgElement;
|
|
993
|
-
}, ...(ngDevMode ? [{ debugName: "arrowSvgElement" }] : []));
|
|
985
|
+
}, ...(ngDevMode ? [{ debugName: "arrowSvgElement" }] : /* istanbul ignore next */ []));
|
|
994
986
|
/** @ignore */
|
|
995
|
-
this.currentArrowSvgElement = signal(void 0, ...(ngDevMode ? [{ debugName: "currentArrowSvgElement" }] : []));
|
|
987
|
+
this.currentArrowSvgElement = signal(void 0, ...(ngDevMode ? [{ debugName: "currentArrowSvgElement" }] : /* istanbul ignore next */ []));
|
|
996
988
|
/** @ignore */
|
|
997
989
|
this.position = toSignal(this.rootDirective.contentDirective().positionChange());
|
|
998
990
|
afterNextRender({
|
|
@@ -1052,15 +1044,15 @@ class RdxHoverCardArrowDirective {
|
|
|
1052
1044
|
});
|
|
1053
1045
|
});
|
|
1054
1046
|
}
|
|
1055
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1056
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1047
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardArrowDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1048
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.9", type: RdxHoverCardArrowDirective, isStandalone: true, selector: "[rdxHoverCardArrow]", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
1057
1049
|
{
|
|
1058
1050
|
provide: RdxHoverCardArrowToken,
|
|
1059
1051
|
useExisting: forwardRef(() => RdxHoverCardArrowDirective)
|
|
1060
1052
|
}
|
|
1061
1053
|
], ngImport: i0 }); }
|
|
1062
1054
|
}
|
|
1063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1055
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardArrowDirective, decorators: [{
|
|
1064
1056
|
type: Directive,
|
|
1065
1057
|
args: [{
|
|
1066
1058
|
selector: '[rdxHoverCardArrow]',
|
|
@@ -1071,7 +1063,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
|
|
|
1071
1063
|
}
|
|
1072
1064
|
]
|
|
1073
1065
|
}]
|
|
1074
|
-
}], ctorParameters: () => [] });
|
|
1066
|
+
}], ctorParameters: () => [], propDecorators: { width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }] } });
|
|
1075
1067
|
|
|
1076
1068
|
/**
|
|
1077
1069
|
* TODO: to be removed? But it seems to be useful when controlled from outside
|
|
@@ -1095,15 +1087,15 @@ class RdxHoverCardCloseDirective {
|
|
|
1095
1087
|
});
|
|
1096
1088
|
});
|
|
1097
1089
|
}
|
|
1098
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1099
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1090
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1091
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxHoverCardCloseDirective, isStandalone: true, selector: "[rdxHoverCardClose]", host: { attributes: { "type": "button" }, listeners: { "click": "rootDirective.handleClose(true)" } }, providers: [
|
|
1100
1092
|
{
|
|
1101
1093
|
provide: RdxHoverCardCloseToken,
|
|
1102
1094
|
useExisting: forwardRef(() => RdxHoverCardCloseDirective)
|
|
1103
1095
|
}
|
|
1104
1096
|
], ngImport: i0 }); }
|
|
1105
1097
|
}
|
|
1106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1098
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardCloseDirective, decorators: [{
|
|
1107
1099
|
type: Directive,
|
|
1108
1100
|
args: [{
|
|
1109
1101
|
selector: '[rdxHoverCardClose]',
|
|
@@ -1125,9 +1117,9 @@ class RdxHoverCardContentAttributesComponent {
|
|
|
1125
1117
|
/** @ignore */
|
|
1126
1118
|
this.rootDirective = injectHoverCardRoot();
|
|
1127
1119
|
/** @ignore */
|
|
1128
|
-
this.name = computed(() => `rdx-hover-card-content-attributes-${this.rootDirective.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : []));
|
|
1120
|
+
this.name = computed(() => `rdx-hover-card-content-attributes-${this.rootDirective.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
1129
1121
|
/** @ignore */
|
|
1130
|
-
this.disableAnimation = computed(() => !this.canAnimate(), ...(ngDevMode ? [{ debugName: "disableAnimation" }] : []));
|
|
1122
|
+
this.disableAnimation = computed(() => !this.canAnimate(), ...(ngDevMode ? [{ debugName: "disableAnimation" }] : /* istanbul ignore next */ []));
|
|
1131
1123
|
}
|
|
1132
1124
|
/** @ignore */
|
|
1133
1125
|
onAnimationStart(_) {
|
|
@@ -1163,8 +1155,8 @@ class RdxHoverCardContentAttributesComponent {
|
|
|
1163
1155
|
((this.rootDirective.cssOpeningAnimation() && this.rootDirective.state() === RdxHoverCardState.OPEN) ||
|
|
1164
1156
|
(this.rootDirective.cssClosingAnimation() && this.rootDirective.state() === RdxHoverCardState.CLOSED)));
|
|
1165
1157
|
}
|
|
1166
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1167
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1158
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardContentAttributesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1159
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: RdxHoverCardContentAttributesComponent, isStandalone: true, selector: "[rdxHoverCardContentAttributes]", host: { listeners: { "animationstart": "onAnimationStart($event)", "animationend": "onAnimationEnd($event)", "pointerenter": "pointerenter()", "pointerleave": "pointerleave()", "focus": "focus()", "blur": "blur()" }, properties: { "attr.role": "\"dialog\"", "attr.id": "name()", "attr.data-state": "rootDirective.state()", "attr.data-side": "rootDirective.contentDirective().side()", "attr.data-align": "rootDirective.contentDirective().align()", "style": "disableAnimation() ? {animation: \"none !important\"} : null" } }, providers: [
|
|
1168
1160
|
{
|
|
1169
1161
|
provide: RdxHoverCardContentAttributesToken,
|
|
1170
1162
|
useExisting: forwardRef(() => RdxHoverCardContentAttributesComponent)
|
|
@@ -1173,7 +1165,7 @@ class RdxHoverCardContentAttributesComponent {
|
|
|
1173
1165
|
<ng-content />
|
|
1174
1166
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1175
1167
|
}
|
|
1176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardContentAttributesComponent, decorators: [{
|
|
1177
1169
|
type: Component,
|
|
1178
1170
|
args: [{
|
|
1179
1171
|
selector: '[rdxHoverCardContentAttributes]',
|
|
@@ -1214,8 +1206,8 @@ const _imports = [
|
|
|
1214
1206
|
RdxHoverCardContentAttributesComponent
|
|
1215
1207
|
];
|
|
1216
1208
|
class RdxHoverCardModule {
|
|
1217
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1218
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1209
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1210
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardModule, imports: [RdxHoverCardArrowDirective,
|
|
1219
1211
|
RdxHoverCardCloseDirective,
|
|
1220
1212
|
RdxHoverCardContentDirective,
|
|
1221
1213
|
RdxHoverCardTriggerDirective,
|
|
@@ -1228,9 +1220,9 @@ class RdxHoverCardModule {
|
|
|
1228
1220
|
RdxHoverCardRootDirective,
|
|
1229
1221
|
RdxHoverCardAnchorDirective,
|
|
1230
1222
|
RdxHoverCardContentAttributesComponent] }); }
|
|
1231
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1223
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardModule }); }
|
|
1232
1224
|
}
|
|
1233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxHoverCardModule, decorators: [{
|
|
1234
1226
|
type: NgModule,
|
|
1235
1227
|
args: [{
|
|
1236
1228
|
imports: [..._imports],
|