@radix-ng/primitives 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/radix-ng-primitives-accordion.mjs +35 -27
- package/fesm2022/radix-ng-primitives-accordion.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-alert-dialog.mjs +34 -34
- package/fesm2022/radix-ng-primitives-arrow.mjs +3 -3
- package/fesm2022/radix-ng-primitives-aspect-ratio.mjs +5 -4
- package/fesm2022/radix-ng-primitives-aspect-ratio.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-autocomplete.mjs +175 -125
- package/fesm2022/radix-ng-primitives-autocomplete.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-avatar.mjs +25 -19
- package/fesm2022/radix-ng-primitives-avatar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-button.mjs +11 -7
- package/fesm2022/radix-ng-primitives-button.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-calendar.mjs +140 -90
- package/fesm2022/radix-ng-primitives-calendar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-checkbox.mjs +61 -40
- package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-collapsible.mjs +35 -24
- package/fesm2022/radix-ng-primitives-collapsible.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-combobox.mjs +278 -177
- package/fesm2022/radix-ng-primitives-combobox.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-composite.mjs +76 -35
- package/fesm2022/radix-ng-primitives-composite.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-config.mjs +7 -5
- package/fesm2022/radix-ng-primitives-config.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-context-menu.mjs +48 -22
- package/fesm2022/radix-ng-primitives-context-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-core.mjs +44 -28
- package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-cropper.mjs +73 -45
- package/fesm2022/radix-ng-primitives-cropper.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-date-field.mjs +70 -40
- package/fesm2022/radix-ng-primitives-date-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dialog.mjs +93 -67
- package/fesm2022/radix-ng-primitives-dialog.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-direction-provider.mjs +5 -4
- package/fesm2022/radix-ng-primitives-direction-provider.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dismissable-layer.mjs +20 -16
- package/fesm2022/radix-ng-primitives-dismissable-layer.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-drawer.mjs +107 -81
- package/fesm2022/radix-ng-primitives-drawer.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-editable.mjs +53 -39
- package/fesm2022/radix-ng-primitives-editable.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-field.mjs +69 -42
- package/fesm2022/radix-ng-primitives-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-fieldset.mjs +8 -7
- package/fesm2022/radix-ng-primitives-fieldset.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-floating-focus-manager.mjs +77 -40
- package/fesm2022/radix-ng-primitives-floating-focus-manager.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-focus-guards.mjs +3 -3
- package/fesm2022/radix-ng-primitives-focus-scope.mjs +7 -5
- package/fesm2022/radix-ng-primitives-focus-scope.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-form.mjs +25 -16
- package/fesm2022/radix-ng-primitives-form.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-input.mjs +41 -22
- package/fesm2022/radix-ng-primitives-input.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-label.mjs +7 -5
- package/fesm2022/radix-ng-primitives-label.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-menu.mjs +274 -154
- package/fesm2022/radix-ng-primitives-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-menubar.mjs +35 -17
- package/fesm2022/radix-ng-primitives-menubar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-meter.mjs +41 -30
- package/fesm2022/radix-ng-primitives-meter.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-navigation-menu.mjs +220 -183
- package/fesm2022/radix-ng-primitives-navigation-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-number-field.mjs +87 -59
- package/fesm2022/radix-ng-primitives-number-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-pagination.mjs +48 -38
- package/fesm2022/radix-ng-primitives-pagination.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-popover.mjs +150 -107
- package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-popper.mjs +79 -47
- package/fesm2022/radix-ng-primitives-popper.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-portal.mjs +20 -13
- package/fesm2022/radix-ng-primitives-portal.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-presence.mjs +3 -3
- package/fesm2022/radix-ng-primitives-preview-card.mjs +119 -74
- package/fesm2022/radix-ng-primitives-preview-card.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-progress.mjs +43 -31
- package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-radio.mjs +177 -168
- package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-scroll-area.mjs +54 -38
- package/fesm2022/radix-ng-primitives-scroll-area.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-select.mjs +595 -102
- package/fesm2022/radix-ng-primitives-select.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-separator.mjs +7 -5
- package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-slider.mjs +101 -63
- package/fesm2022/radix-ng-primitives-slider.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-stepper.mjs +53 -39
- package/fesm2022/radix-ng-primitives-stepper.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-switch.mjs +44 -25
- package/fesm2022/radix-ng-primitives-switch.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tabs.mjs +72 -47
- package/fesm2022/radix-ng-primitives-tabs.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-time-field.mjs +72 -41
- package/fesm2022/radix-ng-primitives-time-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toast.mjs +75 -56
- package/fesm2022/radix-ng-primitives-toast.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle-group.mjs +29 -19
- package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle.mjs +16 -11
- package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toolbar.mjs +38 -30
- package/fesm2022/radix-ng-primitives-toolbar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tooltip.mjs +118 -63
- package/fesm2022/radix-ng-primitives-tooltip.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-visually-hidden.mjs +31 -20
- package/fesm2022/radix-ng-primitives-visually-hidden.mjs.map +1 -1
- package/package.json +2 -2
- package/types/radix-ng-primitives-autocomplete.d.ts +3 -1
- package/types/radix-ng-primitives-combobox.d.ts +28 -9
- package/types/radix-ng-primitives-composite.d.ts +2 -0
- package/types/radix-ng-primitives-context-menu.d.ts +2 -0
- package/types/radix-ng-primitives-dialog.d.ts +6 -3
- package/types/radix-ng-primitives-floating-focus-manager.d.ts +11 -0
- package/types/radix-ng-primitives-menu.d.ts +47 -15
- package/types/radix-ng-primitives-menubar.d.ts +6 -1
- package/types/radix-ng-primitives-navigation-menu.d.ts +8 -6
- package/types/radix-ng-primitives-popover.d.ts +12 -4
- package/types/radix-ng-primitives-preview-card.d.ts +18 -5
- package/types/radix-ng-primitives-radio.d.ts +100 -65
- package/types/radix-ng-primitives-select.d.ts +186 -391
- package/types/radix-ng-primitives-switch.d.ts +3 -2
- package/types/radix-ng-primitives-tooltip.d.ts +17 -3
|
@@ -35,7 +35,8 @@ function injectRdxTooltipConfig() {
|
|
|
35
35
|
* opens, sibling tooltips open instantly until `timeout` ms after the last close.
|
|
36
36
|
*/
|
|
37
37
|
function createTooltipInstantController(timeout, destroyRef) {
|
|
38
|
-
const instant = signal(false,
|
|
38
|
+
const instant = signal(false, /* @ts-ignore */
|
|
39
|
+
...(ngDevMode ? [{ debugName: "instant" }] : /* istanbul ignore next */ []));
|
|
39
40
|
const timer = useTimeoutFn(() => instant.set(false), timeout, { immediate: false }, destroyRef);
|
|
40
41
|
return {
|
|
41
42
|
isInstant: instant.asReadonly(),
|
|
@@ -112,10 +113,10 @@ class RdxTooltipProvider {
|
|
|
112
113
|
this.timeout = input(this.defaultConfig.timeout, { ...(ngDevMode ? { debugName: "timeout" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
113
114
|
this.instant = createTooltipInstantController(() => this.timeout(), this.destroyRef);
|
|
114
115
|
}
|
|
115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
116
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipProvider, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
117
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.2", type: RdxTooltipProvider, isStandalone: true, selector: "[rdxTooltipProvider]", inputs: { delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null }, closeDelay: { classPropertyName: "closeDelay", publicName: "closeDelay", isSignal: true, isRequired: false, transformFunction: null }, timeout: { classPropertyName: "timeout", publicName: "timeout", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideRdxTooltipProviderContext(providerContext)], exportAs: ["rdxTooltipProvider"], ngImport: i0 }); }
|
|
117
118
|
}
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipProvider, decorators: [{
|
|
119
120
|
type: Directive,
|
|
120
121
|
args: [{
|
|
121
122
|
selector: '[rdxTooltipProvider]',
|
|
@@ -145,7 +146,8 @@ class RdxTooltip {
|
|
|
145
146
|
/**
|
|
146
147
|
* Whether the tooltip is currently open.
|
|
147
148
|
*/
|
|
148
|
-
this.open = model(false,
|
|
149
|
+
this.open = model(false, /* @ts-ignore */
|
|
150
|
+
...(ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []));
|
|
149
151
|
/**
|
|
150
152
|
* Whether the tooltip is initially open. Uncontrolled.
|
|
151
153
|
*/
|
|
@@ -167,7 +169,8 @@ class RdxTooltip {
|
|
|
167
169
|
/**
|
|
168
170
|
* Determines which axis the tooltip should track the cursor on.
|
|
169
171
|
*/
|
|
170
|
-
this.trackCursorAxis = input('none',
|
|
172
|
+
this.trackCursorAxis = input('none', /* @ts-ignore */
|
|
173
|
+
...(ngDevMode ? [{ debugName: "trackCursorAxis" }] : /* istanbul ignore next */ []));
|
|
171
174
|
/**
|
|
172
175
|
* When `true`, the tooltip will not open.
|
|
173
176
|
*/
|
|
@@ -175,34 +178,55 @@ class RdxTooltip {
|
|
|
175
178
|
/**
|
|
176
179
|
* Associates this root with detached trigger elements.
|
|
177
180
|
*/
|
|
178
|
-
this.handle = input(
|
|
181
|
+
this.handle = input(/* @ts-ignore */
|
|
182
|
+
...(ngDevMode ? [undefined, { debugName: "handle" }] : /* istanbul ignore next */ []));
|
|
179
183
|
/**
|
|
180
184
|
* Event handler called when the open state changes.
|
|
181
185
|
*/
|
|
182
186
|
this.onOpenChange = output();
|
|
183
187
|
this.contentId = injectId('rdx-tooltip-content-');
|
|
184
|
-
this.trigger = signal(undefined,
|
|
185
|
-
|
|
186
|
-
this.
|
|
187
|
-
|
|
188
|
-
this.
|
|
189
|
-
|
|
190
|
-
this.
|
|
188
|
+
this.trigger = signal(undefined, /* @ts-ignore */
|
|
189
|
+
...(ngDevMode ? [{ debugName: "trigger" }] : /* istanbul ignore next */ []));
|
|
190
|
+
this.triggers = signal([], /* @ts-ignore */
|
|
191
|
+
...(ngDevMode ? [{ debugName: "triggers" }] : /* istanbul ignore next */ []));
|
|
192
|
+
this.payload = signal(undefined, /* @ts-ignore */
|
|
193
|
+
...(ngDevMode ? [{ debugName: "payload" }] : /* istanbul ignore next */ []));
|
|
194
|
+
this.cursorPosition = signal(undefined, /* @ts-ignore */
|
|
195
|
+
...(ngDevMode ? [{ debugName: "cursorPosition" }] : /* istanbul ignore next */ []));
|
|
196
|
+
this.openChangeReason = signal('none', /* @ts-ignore */
|
|
197
|
+
...(ngDevMode ? [{ debugName: "openChangeReason" }] : /* istanbul ignore next */ []));
|
|
198
|
+
this.preventUnmountOnClose = signal(false, /* @ts-ignore */
|
|
199
|
+
...(ngDevMode ? [{ debugName: "preventUnmountOnClose" }] : /* istanbul ignore next */ []));
|
|
200
|
+
this.openedInstant = signal(false, /* @ts-ignore */
|
|
201
|
+
...(ngDevMode ? [{ debugName: "openedInstant" }] : /* istanbul ignore next */ []));
|
|
202
|
+
this.openedInstantType = signal(undefined, /* @ts-ignore */
|
|
203
|
+
...(ngDevMode ? [{ debugName: "openedInstantType" }] : /* istanbul ignore next */ []));
|
|
191
204
|
this.suppressNextOpenChangeEmit = false;
|
|
192
205
|
/** Local instant window used when this tooltip is not inside a provider. */
|
|
193
206
|
this.localInstant = createTooltipInstantController(() => this.defaultConfig.timeout, this.destroyRef);
|
|
194
207
|
this.instantGroup = this.provider ?? this.localInstant;
|
|
195
208
|
/** Per-trigger overrides set by the active trigger, taking precedence over the root/provider. */
|
|
196
|
-
this.triggerDelay = signal(undefined,
|
|
197
|
-
|
|
198
|
-
this.
|
|
209
|
+
this.triggerDelay = signal(undefined, /* @ts-ignore */
|
|
210
|
+
...(ngDevMode ? [{ debugName: "triggerDelay" }] : /* istanbul ignore next */ []));
|
|
211
|
+
this.triggerCloseDelay = signal(undefined, /* @ts-ignore */
|
|
212
|
+
...(ngDevMode ? [{ debugName: "triggerCloseDelay" }] : /* istanbul ignore next */ []));
|
|
213
|
+
this.resolvedDelay = computed(() => this.triggerDelay() ?? this.delay() ?? this.provider?.delay() ?? this.defaultConfig.delay, /* @ts-ignore */
|
|
214
|
+
...(ngDevMode ? [{ debugName: "resolvedDelay" }] : /* istanbul ignore next */ []));
|
|
199
215
|
this.resolvedCloseDelay = computed(() => this.triggerCloseDelay() ??
|
|
200
216
|
this.closeDelay() ??
|
|
201
217
|
this.provider?.closeDelay() ??
|
|
202
|
-
this.defaultConfig.closeDelay,
|
|
218
|
+
this.defaultConfig.closeDelay, /* @ts-ignore */
|
|
219
|
+
...(ngDevMode ? [{ debugName: "resolvedCloseDelay" }] : /* istanbul ignore next */ []));
|
|
203
220
|
/** Whether the most recent open happened without the delay. */
|
|
204
221
|
this.instant = this.openedInstant.asReadonly();
|
|
205
|
-
|
|
222
|
+
/**
|
|
223
|
+
* Reason the open/close was instant (Base UI `data-instant`). Cursor tracking takes precedence
|
|
224
|
+
* while open — the popup follows the cursor, so its position updates can never be transitioned.
|
|
225
|
+
*/
|
|
226
|
+
this.instantType = computed(() => this.open() && this.trackCursorAxis() !== 'none' ? 'tracking-cursor' : this.openedInstantType(), /* @ts-ignore */
|
|
227
|
+
...(ngDevMode ? [{ debugName: "instantType" }] : /* istanbul ignore next */ []));
|
|
228
|
+
this.present = computed(() => this.open() || this.preventUnmountOnClose(), /* @ts-ignore */
|
|
229
|
+
...(ngDevMode ? [{ debugName: "present" }] : /* istanbul ignore next */ []));
|
|
206
230
|
this.virtualAnchor = computed(() => {
|
|
207
231
|
const axis = this.trackCursorAxis();
|
|
208
232
|
const element = this.trigger();
|
|
@@ -225,7 +249,8 @@ class RdxTooltip {
|
|
|
225
249
|
return { width, height, x, y, top: y, left: x, right: x + width, bottom: y + height };
|
|
226
250
|
}
|
|
227
251
|
};
|
|
228
|
-
},
|
|
252
|
+
}, /* @ts-ignore */
|
|
253
|
+
...(ngDevMode ? [{ debugName: "virtualAnchor" }] : /* istanbul ignore next */ []));
|
|
229
254
|
this.openTimer = useTimeoutFn(() => this.applyOpen(false, this.trigger(), this.payload(), 'trigger-hover'), () => this.resolvedDelay(), { immediate: false }, this.destroyRef);
|
|
230
255
|
this.closeTimer = useTimeoutFn(() => this.applyClose(), () => this.resolvedCloseDelay(), { immediate: false }, this.destroyRef);
|
|
231
256
|
effect(() => {
|
|
@@ -261,6 +286,7 @@ class RdxTooltip {
|
|
|
261
286
|
else {
|
|
262
287
|
this.instantGroup.onClose();
|
|
263
288
|
this.openedInstant.set(false);
|
|
289
|
+
this.openedInstantType.set(undefined);
|
|
264
290
|
}
|
|
265
291
|
}, { defer: true });
|
|
266
292
|
}
|
|
@@ -364,7 +390,11 @@ class RdxTooltip {
|
|
|
364
390
|
if (payload !== undefined) {
|
|
365
391
|
this.payload.set(payload);
|
|
366
392
|
}
|
|
367
|
-
|
|
393
|
+
const isInstant = instant || this.instantGroup.isInstant();
|
|
394
|
+
this.openedInstant.set(isInstant);
|
|
395
|
+
// `'focus'` for a focus/imperative open; `'delay'` for a hover open within the skip-delay
|
|
396
|
+
// instant window. A normal delayed open is animated, so no instant type.
|
|
397
|
+
this.openedInstantType.set(isInstant ? (reason === 'trigger-focus' ? 'focus' : 'delay') : undefined);
|
|
368
398
|
this.preventUnmountOnClose.set(false);
|
|
369
399
|
this.openChangeReason.set(reason);
|
|
370
400
|
this.open.set(true);
|
|
@@ -381,18 +411,22 @@ class RdxTooltip {
|
|
|
381
411
|
}
|
|
382
412
|
this.suppressNextOpenChangeEmit = true;
|
|
383
413
|
this.preventUnmountOnClose.set(change.shouldPreventUnmountOnClose());
|
|
384
|
-
this.
|
|
414
|
+
const isInstant = this.instantGroup.isInstant();
|
|
415
|
+
this.openedInstant.set(isInstant);
|
|
416
|
+
// Escape / outside-press close instantly as `'dismiss'`; a close within the instant window is
|
|
417
|
+
// `'delay'`; an ordinary close is animated.
|
|
418
|
+
this.openedInstantType.set(reason === 'escape-key' || reason === 'outside-press' ? 'dismiss' : isInstant ? 'delay' : undefined);
|
|
385
419
|
this.openChangeReason.set(reason);
|
|
386
420
|
this.open.set(false);
|
|
387
421
|
}
|
|
388
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
389
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
422
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltip, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
423
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.2", type: RdxTooltip, isStandalone: true, selector: "[rdxTooltip]", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, defaultOpen: { classPropertyName: "defaultOpen", publicName: "defaultOpen", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null }, closeDelay: { classPropertyName: "closeDelay", publicName: "closeDelay", isSignal: true, isRequired: false, transformFunction: null }, disableHoverablePopup: { classPropertyName: "disableHoverablePopup", publicName: "disableHoverablePopup", isSignal: true, isRequired: false, transformFunction: null }, trackCursorAxis: { classPropertyName: "trackCursorAxis", publicName: "trackCursorAxis", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, handle: { classPropertyName: "handle", publicName: "handle", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", onOpenChange: "onOpenChange" }, providers: [
|
|
390
424
|
provideRdxTooltipContext(context),
|
|
391
425
|
provideFloatingTree(),
|
|
392
426
|
provideFloatingRootContext(() => inject(RdxTooltip).floatingContext)
|
|
393
427
|
], exportAs: ["rdxTooltip"], hostDirectives: [{ directive: i1.RdxPopper }], ngImport: i0 }); }
|
|
394
428
|
}
|
|
395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltip, decorators: [{
|
|
396
430
|
type: Directive,
|
|
397
431
|
args: [{
|
|
398
432
|
selector: '[rdxTooltip]',
|
|
@@ -411,6 +445,7 @@ function contextFor(root) {
|
|
|
411
445
|
isOpen: root.open,
|
|
412
446
|
present: root.present,
|
|
413
447
|
instant: root.instant,
|
|
448
|
+
instantType: root.instantType,
|
|
414
449
|
disabled: root.disabled,
|
|
415
450
|
disableHoverablePopup: root.disableHoverablePopup,
|
|
416
451
|
trackCursorAxis: root.trackCursorAxis,
|
|
@@ -435,17 +470,20 @@ class RdxTooltipArrow {
|
|
|
435
470
|
constructor() {
|
|
436
471
|
this.rootContext = injectRdxTooltipContext();
|
|
437
472
|
this.wrapper = inject(RdxPopperContentWrapper, { optional: true });
|
|
438
|
-
this.side = computed(() => this.wrapper?.placedSide(),
|
|
439
|
-
|
|
440
|
-
this.
|
|
473
|
+
this.side = computed(() => this.wrapper?.placedSide(), /* @ts-ignore */
|
|
474
|
+
...(ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []));
|
|
475
|
+
this.align = computed(() => this.wrapper?.placedAlign(), /* @ts-ignore */
|
|
476
|
+
...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
|
|
477
|
+
this.uncentered = computed(() => this.wrapper?.arrowUncentered() ?? false, /* @ts-ignore */
|
|
478
|
+
...(ngDevMode ? [{ debugName: "uncentered" }] : /* istanbul ignore next */ []));
|
|
441
479
|
this.isVisuallyHidden = !!inject(RdxVisuallyHiddenDirective, {
|
|
442
480
|
optional: true
|
|
443
481
|
});
|
|
444
482
|
}
|
|
445
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
446
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
483
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipArrow, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
484
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.2", type: RdxTooltipArrow, isStandalone: true, selector: "[rdxTooltipArrow]", host: { properties: { "hidden": "isVisuallyHidden", "attr.data-open": "rootContext.isOpen() ? \"\" : undefined", "attr.data-closed": "rootContext.isOpen() ? undefined : \"\"", "attr.data-instant": "rootContext.instantType()", "attr.data-side": "side()", "attr.data-align": "align()", "attr.data-uncentered": "uncentered() ? \"\" : undefined" } }, hostDirectives: [{ directive: i1.RdxPopperArrow }], ngImport: i0 }); }
|
|
447
485
|
}
|
|
448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipArrow, decorators: [{
|
|
449
487
|
type: Directive,
|
|
450
488
|
args: [{
|
|
451
489
|
selector: '[rdxTooltipArrow]',
|
|
@@ -454,6 +492,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
454
492
|
'[hidden]': 'isVisuallyHidden',
|
|
455
493
|
'[attr.data-open]': 'rootContext.isOpen() ? "" : undefined',
|
|
456
494
|
'[attr.data-closed]': 'rootContext.isOpen() ? undefined : ""',
|
|
495
|
+
'[attr.data-instant]': 'rootContext.instantType()',
|
|
457
496
|
'[attr.data-side]': 'side()',
|
|
458
497
|
'[attr.data-align]': 'align()',
|
|
459
498
|
'[attr.data-uncentered]': 'uncentered() ? "" : undefined'
|
|
@@ -468,13 +507,15 @@ class RdxTooltipPopup {
|
|
|
468
507
|
constructor() {
|
|
469
508
|
this.rootContext = injectRdxTooltipContext();
|
|
470
509
|
this.wrapper = inject(RdxPopperContentWrapper, { optional: true });
|
|
471
|
-
this.side = computed(() => this.wrapper?.placedSide(),
|
|
472
|
-
|
|
510
|
+
this.side = computed(() => this.wrapper?.placedSide(), /* @ts-ignore */
|
|
511
|
+
...(ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []));
|
|
512
|
+
this.align = computed(() => this.wrapper?.placedAlign(), /* @ts-ignore */
|
|
513
|
+
...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
|
|
473
514
|
}
|
|
474
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
475
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
515
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipPopup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
516
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.2", type: RdxTooltipPopup, isStandalone: true, selector: "[rdxTooltipPopup]", host: { attributes: { "role": "tooltip" }, properties: { "id": "rootContext.contentId", "attr.data-open": "rootContext.isOpen() ? \"\" : undefined", "attr.data-closed": "rootContext.isOpen() ? undefined : \"\"", "attr.data-instant": "rootContext.instantType()", "attr.data-side": "side()", "attr.data-align": "align()" } }, hostDirectives: [{ directive: i1.RdxPopperContent }], ngImport: i0 }); }
|
|
476
517
|
}
|
|
477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipPopup, decorators: [{
|
|
478
519
|
type: Directive,
|
|
479
520
|
args: [{
|
|
480
521
|
selector: '[rdxTooltipPopup]',
|
|
@@ -484,7 +525,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
484
525
|
'[id]': 'rootContext.contentId',
|
|
485
526
|
'[attr.data-open]': 'rootContext.isOpen() ? "" : undefined',
|
|
486
527
|
'[attr.data-closed]': 'rootContext.isOpen() ? undefined : ""',
|
|
487
|
-
'[attr.data-instant]': 'rootContext.
|
|
528
|
+
'[attr.data-instant]': 'rootContext.instantType()',
|
|
488
529
|
'[attr.data-side]': 'side()',
|
|
489
530
|
'[attr.data-align]': 'align()'
|
|
490
531
|
}
|
|
@@ -500,10 +541,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
500
541
|
* with `[container]`.
|
|
501
542
|
*/
|
|
502
543
|
class RdxTooltipPortal {
|
|
503
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
504
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
544
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
545
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.2", type: RdxTooltipPortal, isStandalone: true, selector: "ng-template[rdxTooltipPortal]", providers: [provideRdxPresenceContext(() => ({ present: injectRdxTooltipContext().present }))], exportAs: ["rdxTooltipPortal"], hostDirectives: [{ directive: i1$1.RdxPortalPresence, inputs: ["container", "container"] }], ngImport: i0 }); }
|
|
505
546
|
}
|
|
506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipPortal, decorators: [{
|
|
507
548
|
type: Directive,
|
|
508
549
|
args: [{
|
|
509
550
|
selector: 'ng-template[rdxTooltipPortal]',
|
|
@@ -525,10 +566,10 @@ class RdxTooltipPortalMisuseGuard {
|
|
|
525
566
|
'rdxTooltipPortalPresence has been removed.', 'components/tooltip');
|
|
526
567
|
}
|
|
527
568
|
}
|
|
528
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
529
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
569
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipPortalMisuseGuard, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
570
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.2", type: RdxTooltipPortalMisuseGuard, isStandalone: true, selector: "[rdxTooltipPortal]:not(ng-template)", ngImport: i0 }); }
|
|
530
571
|
}
|
|
531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
572
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipPortalMisuseGuard, decorators: [{
|
|
532
573
|
type: Directive,
|
|
533
574
|
args: [{
|
|
534
575
|
selector: '[rdxTooltipPortal]:not(ng-template)'
|
|
@@ -561,8 +602,10 @@ class RdxTooltipPositioner extends RdxPopperContentWrapper {
|
|
|
561
602
|
* Event handler called when a `pointerdown` event happens outside of the popup. Can be prevented.
|
|
562
603
|
*/
|
|
563
604
|
this.pointerDownOutside = output();
|
|
564
|
-
this.triggerEl = signal(null,
|
|
565
|
-
|
|
605
|
+
this.triggerEl = signal(null, /* @ts-ignore */
|
|
606
|
+
...(ngDevMode ? [{ debugName: "triggerEl" }] : /* istanbul ignore next */ []));
|
|
607
|
+
this.containerEl = signal(null, /* @ts-ignore */
|
|
608
|
+
...(ngDevMode ? [{ debugName: "containerEl" }] : /* istanbul ignore next */ []));
|
|
566
609
|
this.graceArea = useGraceArea(this.triggerEl, this.containerEl, 300);
|
|
567
610
|
this.afterNextRender = afterNextRender(() => {
|
|
568
611
|
this.triggerEl.set(this.rootContext.trigger() ?? null);
|
|
@@ -606,13 +649,13 @@ class RdxTooltipPositioner extends RdxPopperContentWrapper {
|
|
|
606
649
|
// pointer-events: none so the pointer always passes through to the trigger underneath.
|
|
607
650
|
effect(() => this.nonInteractive.set(this.rootContext.trackCursorAxis() !== 'none'));
|
|
608
651
|
}
|
|
609
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
610
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
652
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipPositioner, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
653
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.2", type: RdxTooltipPositioner, isStandalone: true, selector: "[rdxTooltipPositioner]", outputs: { escapeKeyDown: "escapeKeyDown", pointerDownOutside: "pointerDownOutside" }, host: { properties: { "attr.data-open": "rootContext.isOpen() ? \"\" : undefined", "attr.data-closed": "rootContext.isOpen() ? undefined : \"\"" } }, providers: [
|
|
611
654
|
...provideRdxPopperContentWrapper(RdxTooltipPositioner),
|
|
612
655
|
provideRdxPopperContentConfig({ side: 'top', arrowPadding: 5, collisionPadding: 5 })
|
|
613
656
|
], usesInheritance: true, hostDirectives: [{ directive: i1$2.RdxFloatingNodeRegistration }], ngImport: i0 }); }
|
|
614
657
|
}
|
|
615
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipPositioner, decorators: [{
|
|
616
659
|
type: Directive,
|
|
617
660
|
args: [{
|
|
618
661
|
selector: '[rdxTooltipPositioner]',
|
|
@@ -667,15 +710,18 @@ class RdxTooltipTrigger {
|
|
|
667
710
|
/**
|
|
668
711
|
* Associates this trigger with a detached tooltip root.
|
|
669
712
|
*/
|
|
670
|
-
this.handle = input(
|
|
713
|
+
this.handle = input(/* @ts-ignore */
|
|
714
|
+
...(ngDevMode ? [undefined, { debugName: "handle" }] : /* istanbul ignore next */ []));
|
|
671
715
|
/**
|
|
672
716
|
* Data associated with this trigger while it is active.
|
|
673
717
|
*/
|
|
674
|
-
this.payload = input(
|
|
718
|
+
this.payload = input(/* @ts-ignore */
|
|
719
|
+
...(ngDevMode ? [undefined, { debugName: "payload" }] : /* istanbul ignore next */ []));
|
|
675
720
|
/**
|
|
676
721
|
* ID used to identify this trigger when opening a detached tooltip imperatively.
|
|
677
722
|
*/
|
|
678
|
-
this.id = input(
|
|
723
|
+
this.id = input(/* @ts-ignore */
|
|
724
|
+
...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
679
725
|
/**
|
|
680
726
|
* Whether the tooltip should close when the trigger is clicked.
|
|
681
727
|
* @defaultValue true
|
|
@@ -695,12 +741,16 @@ class RdxTooltipTrigger {
|
|
|
695
741
|
*/
|
|
696
742
|
this.closeDelay = input(undefined, { ...(ngDevMode ? { debugName: "closeDelay" } : /* istanbul ignore next */ {}), transform: (value) => (value == null ? undefined : numberAttribute(value)) });
|
|
697
743
|
this.userOnPointerDown = input(undefined, { ...(ngDevMode ? { debugName: "userOnPointerDown" } : /* istanbul ignore next */ {}), alias: 'rdxOnPointerDown' });
|
|
698
|
-
this.triggerId = computed(() => this.id() ?? this.generatedId,
|
|
699
|
-
|
|
744
|
+
this.triggerId = computed(() => this.id() ?? this.generatedId, /* @ts-ignore */
|
|
745
|
+
...(ngDevMode ? [{ debugName: "triggerId" }] : /* istanbul ignore next */ []));
|
|
746
|
+
this.rootContext = computed(() => this.handle()?.context() ?? this.parentRootContext, /* @ts-ignore */
|
|
747
|
+
...(ngDevMode ? [{ debugName: "rootContext" }] : /* istanbul ignore next */ []));
|
|
700
748
|
/** Disabled if either the root or this trigger is disabled. */
|
|
701
|
-
this.isDisabled = computed(() => (this.rootContext()?.disabled() ?? false) || this.disabled(),
|
|
749
|
+
this.isDisabled = computed(() => (this.rootContext()?.disabled() ?? false) || this.disabled(), /* @ts-ignore */
|
|
750
|
+
...(ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []));
|
|
702
751
|
/** Whether this specific trigger is the active anchor of an open tooltip. */
|
|
703
|
-
this.isOpen = computed(() => this.rootContext()?.isOpen() === true && this.rootContext()?.trigger() === this.elementRef.nativeElement,
|
|
752
|
+
this.isOpen = computed(() => this.rootContext()?.isOpen() === true && this.rootContext()?.trigger() === this.elementRef.nativeElement, /* @ts-ignore */
|
|
753
|
+
...(ngDevMode ? [{ debugName: "isOpen" }] : /* istanbul ignore next */ []));
|
|
704
754
|
this.triggerInteraction = createRdxTriggerInteraction({
|
|
705
755
|
trigger: () => this.elementRef.nativeElement,
|
|
706
756
|
activeTrigger: () => this.rootContext()?.trigger(),
|
|
@@ -708,9 +758,12 @@ class RdxTooltipTrigger {
|
|
|
708
758
|
disabled: () => this.isDisabled(),
|
|
709
759
|
contentId: () => this.rootContext()?.contentId
|
|
710
760
|
});
|
|
711
|
-
this.isPointerDown = signal(false,
|
|
712
|
-
|
|
713
|
-
this.
|
|
761
|
+
this.isPointerDown = signal(false, /* @ts-ignore */
|
|
762
|
+
...(ngDevMode ? [{ debugName: "isPointerDown" }] : /* istanbul ignore next */ []));
|
|
763
|
+
this.hasPointerMoveOpened = signal(false, /* @ts-ignore */
|
|
764
|
+
...(ngDevMode ? [{ debugName: "hasPointerMoveOpened" }] : /* istanbul ignore next */ []));
|
|
765
|
+
this.isNestedTriggerHovered = signal(false, /* @ts-ignore */
|
|
766
|
+
...(ngDevMode ? [{ debugName: "isNestedTriggerHovered" }] : /* istanbul ignore next */ []));
|
|
714
767
|
effect((onCleanup) => {
|
|
715
768
|
const handle = this.handle();
|
|
716
769
|
if (handle) {
|
|
@@ -831,10 +884,10 @@ class RdxTooltipTrigger {
|
|
|
831
884
|
}
|
|
832
885
|
return nestedTriggerHovered;
|
|
833
886
|
}
|
|
834
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
835
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
887
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
888
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.2", type: RdxTooltipTrigger, isStandalone: true, selector: "[rdxTooltipTrigger]", inputs: { handle: { classPropertyName: "handle", publicName: "handle", isSignal: true, isRequired: false, transformFunction: null }, payload: { classPropertyName: "payload", publicName: "payload", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, closeOnClick: { classPropertyName: "closeOnClick", publicName: "closeOnClick", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null }, closeDelay: { classPropertyName: "closeDelay", publicName: "closeDelay", isSignal: true, isRequired: false, transformFunction: null }, userOnPointerDown: { classPropertyName: "userOnPointerDown", publicName: "rdxOnPointerDown", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "type": "button", "data-grace-area-trigger": "''" }, listeners: { "pointerenter": "handlePointerEnter($event)", "pointermove": "handlePointerMove($event)", "pointerleave": "handlePointerLeave()", "mouseover": "handleMouseOver($event)", "mouseleave": "handleMouseLeave()", "pointerdown": "handlePointerDown($event)", "focus": "handleFocus($event)", "blur": "handleBlur($event)", "click": "handleClick($event)" }, properties: { "id": "triggerId()", "attr.aria-describedby": "isOpen() ? rootContext()?.contentId : undefined", "attr.data-popup-open": "triggerInteraction.dataPopupOpen()", "attr.data-trigger-disabled": "triggerInteraction.disabled() ? \"\" : undefined", "attr.data-rdx-tooltip-trigger": "isDisabled() ? undefined : \"\"" } }, hostDirectives: [{ directive: i1.RdxPopperAnchor }], ngImport: i0 }); }
|
|
836
889
|
}
|
|
837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxTooltipTrigger, decorators: [{
|
|
838
891
|
type: Directive,
|
|
839
892
|
args: [{
|
|
840
893
|
selector: '[rdxTooltipTrigger]',
|
|
@@ -862,10 +915,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
862
915
|
|
|
863
916
|
class RdxTooltipHandle {
|
|
864
917
|
constructor() {
|
|
865
|
-
this.rootContext = signal(undefined,
|
|
918
|
+
this.rootContext = signal(undefined, /* @ts-ignore */
|
|
919
|
+
...(ngDevMode ? [{ debugName: "rootContext" }] : /* istanbul ignore next */ []));
|
|
866
920
|
this.triggers = new Map();
|
|
867
921
|
this.rootTriggerCleanups = new Map();
|
|
868
|
-
this.isOpen = computed(() => this.rootContext()?.isOpen() ?? false,
|
|
922
|
+
this.isOpen = computed(() => this.rootContext()?.isOpen() ?? false, /* @ts-ignore */
|
|
923
|
+
...(ngDevMode ? [{ debugName: "isOpen" }] : /* istanbul ignore next */ []));
|
|
869
924
|
}
|
|
870
925
|
open(triggerId) {
|
|
871
926
|
const trigger = this.triggers.get(triggerId);
|