@radix-ng/primitives 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aspect-ratio/README.md +1 -1
- package/fesm2022/radix-ng-primitives-accordion.mjs +40 -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 +11 -35
- 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 +92 -35
- 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 +63 -46
- package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-collapsible.mjs +37 -25
- 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 +50 -33
- 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 +76 -50
- 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 +26 -17
- 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 +11 -8
- 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 +93 -61
- 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 +73 -46
- package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-radio.mjs +58 -40
- package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-scroll-area.mjs +57 -41
- 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 +11 -15
- package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-slider.mjs +101 -64
- 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 +25 -20
- package/fesm2022/radix-ng-primitives-switch.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tabs.mjs +76 -51
- 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 +39 -23
- package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle.mjs +36 -36
- package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toolbar.mjs +52 -31
- 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-accordion.d.ts +1 -0
- package/types/radix-ng-primitives-aspect-ratio.d.ts +10 -23
- package/types/radix-ng-primitives-autocomplete.d.ts +3 -1
- package/types/radix-ng-primitives-avatar.d.ts +51 -25
- package/types/radix-ng-primitives-checkbox.d.ts +26 -98
- package/types/radix-ng-primitives-combobox.d.ts +28 -9
- 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-field.d.ts +33 -207
- package/types/radix-ng-primitives-floating-focus-manager.d.ts +11 -0
- package/types/radix-ng-primitives-form.d.ts +24 -33
- package/types/radix-ng-primitives-label.d.ts +3 -2
- 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-number-field.d.ts +1 -1
- 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-progress.d.ts +59 -121
- package/types/radix-ng-primitives-radio.d.ts +0 -1
- package/types/radix-ng-primitives-select.d.ts +186 -391
- package/types/radix-ng-primitives-separator.d.ts +0 -7
- package/types/radix-ng-primitives-toggle-group.d.ts +7 -3
- package/types/radix-ng-primitives-toggle.d.ts +8 -8
- package/types/radix-ng-primitives-toolbar.d.ts +2 -0
- package/types/radix-ng-primitives-tooltip.d.ts +17 -3
|
@@ -122,7 +122,8 @@ function toValidatedNumber(value, options) {
|
|
|
122
122
|
*/
|
|
123
123
|
function createPressAndHold(options) {
|
|
124
124
|
const destroyRef = inject(DestroyRef);
|
|
125
|
-
const isPressing = signal(false,
|
|
125
|
+
const isPressing = signal(false, /* @ts-ignore */
|
|
126
|
+
...(ngDevMode ? [{ debugName: "isPressing" }] : /* istanbul ignore next */ []));
|
|
126
127
|
let startEvent = null;
|
|
127
128
|
let startX = 0;
|
|
128
129
|
let startY = 0;
|
|
@@ -221,9 +222,11 @@ class RdxNumberFieldButton {
|
|
|
221
222
|
/** @ignore Disabled for display/focus purposes (own state, root disabled, or bound reached). */
|
|
222
223
|
this.buttonDisabled = computed(() => this.disabled() ||
|
|
223
224
|
this.rootContext.isDisabled() ||
|
|
224
|
-
(this.isIncrement ? this.rootContext.isIncrementDisabled() : this.rootContext.isDecrementDisabled()),
|
|
225
|
+
(this.isIncrement ? this.rootContext.isIncrementDisabled() : this.rootContext.isDecrementDisabled()), /* @ts-ignore */
|
|
226
|
+
...(ngDevMode ? [{ debugName: "buttonDisabled" }] : /* istanbul ignore next */ []));
|
|
225
227
|
/** @ignore Disabled for interaction purposes (also blocked while read-only). */
|
|
226
|
-
this.interactionDisabled = computed(() => this.buttonDisabled() || this.rootContext.readonly(),
|
|
228
|
+
this.interactionDisabled = computed(() => this.buttonDisabled() || this.rootContext.readonly(), /* @ts-ignore */
|
|
229
|
+
...(ngDevMode ? [{ debugName: "interactionDisabled" }] : /* istanbul ignore next */ []));
|
|
227
230
|
const root = this.rootContext;
|
|
228
231
|
this.press = createPressAndHold({
|
|
229
232
|
disabled: () => this.interactionDisabled(),
|
|
@@ -280,19 +283,23 @@ class RdxNumberFieldButton {
|
|
|
280
283
|
root.setValue(parsed, this.pressReason, event, this.direction);
|
|
281
284
|
}
|
|
282
285
|
}
|
|
283
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
284
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
286
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldButton, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
287
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.2", type: RdxNumberFieldButton, isStandalone: true, inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "type": "button", "tabindex": "-1" }, listeners: { "click": "onClick($event)", "pointerdown": "onPointerDown($event)", "contextmenu": "$event.preventDefault()" }, properties: { "attr.aria-controls": "rootContext.id()", "attr.disabled": "interactionDisabled() ? \"\" : undefined", "attr.data-disabled": "buttonDisabled() ? \"\" : undefined", "attr.data-readonly": "rootContext.readonly() ? \"\" : undefined", "attr.data-pressed": "press.isPressing() ? \"\" : undefined", "style.user-select": "\"none\"", "style.-webkit-user-select": "\"none\"" } }, ngImport: i0 }); }
|
|
285
288
|
}
|
|
286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldButton, decorators: [{
|
|
287
290
|
type: Directive,
|
|
288
291
|
args: [{
|
|
289
292
|
host: {
|
|
290
293
|
type: 'button',
|
|
291
294
|
tabindex: '-1',
|
|
292
295
|
'[attr.aria-controls]': 'rootContext.id()',
|
|
293
|
-
|
|
294
|
-
|
|
296
|
+
// Read-only blocks interaction too, so the button is natively disabled (Base UI passes
|
|
297
|
+
// `disabled: disabled || readOnly` to useButton). `aria-readonly` is intentionally NOT set —
|
|
298
|
+
// it isn't a valid state for `role=button`. `data-disabled` stays tied to the true disabled
|
|
299
|
+
// state so styling can tell disabled apart from read-only (`data-readonly`).
|
|
300
|
+
'[attr.disabled]': 'interactionDisabled() ? "" : undefined',
|
|
295
301
|
'[attr.data-disabled]': 'buttonDisabled() ? "" : undefined',
|
|
302
|
+
'[attr.data-readonly]': 'rootContext.readonly() ? "" : undefined',
|
|
296
303
|
'[attr.data-pressed]': 'press.isPressing() ? "" : undefined',
|
|
297
304
|
'[style.user-select]': '"none"',
|
|
298
305
|
'[style.-webkit-user-select]': '"none"',
|
|
@@ -313,10 +320,10 @@ class RdxNumberFieldDecrement extends RdxNumberFieldButton {
|
|
|
313
320
|
super(...arguments);
|
|
314
321
|
this.isIncrement = false;
|
|
315
322
|
}
|
|
316
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
317
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
323
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldDecrement, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
324
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.2", type: RdxNumberFieldDecrement, isStandalone: true, selector: "button[rdxNumberFieldDecrement]", host: { attributes: { "aria-label": "Decrease" } }, exportAs: ["rdxNumberFieldDecrement"], usesInheritance: true, ngImport: i0 }); }
|
|
318
325
|
}
|
|
319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldDecrement, decorators: [{
|
|
320
327
|
type: Directive,
|
|
321
328
|
args: [{
|
|
322
329
|
selector: 'button[rdxNumberFieldDecrement]',
|
|
@@ -336,10 +343,10 @@ class RdxNumberFieldGroup {
|
|
|
336
343
|
constructor() {
|
|
337
344
|
this.rootContext = injectNumberFieldRootContext();
|
|
338
345
|
}
|
|
339
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
340
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
347
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.2", type: RdxNumberFieldGroup, isStandalone: true, selector: "div[rdxNumberFieldGroup]", host: { attributes: { "role": "group" }, properties: { "attr.data-disabled": "rootContext.isDisabled() ? \"\" : undefined", "attr.data-readonly": "rootContext.readonly() ? \"\" : undefined", "attr.data-required": "rootContext.required() ? \"\" : undefined", "attr.data-scrubbing": "rootContext.isScrubbing() ? \"\" : undefined" } }, exportAs: ["rdxNumberFieldGroup"], ngImport: i0 }); }
|
|
341
348
|
}
|
|
342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldGroup, decorators: [{
|
|
343
350
|
type: Directive,
|
|
344
351
|
args: [{
|
|
345
352
|
selector: 'div[rdxNumberFieldGroup]',
|
|
@@ -381,10 +388,10 @@ class RdxNumberFieldHiddenInput {
|
|
|
381
388
|
root.setValue(parsedValue, 'none', event);
|
|
382
389
|
root.commitValue(root.lastChangedValue ?? root.currentValue());
|
|
383
390
|
}
|
|
384
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
385
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
391
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldHiddenInput, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
392
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.2", type: RdxNumberFieldHiddenInput, isStandalone: true, selector: "input[rdxNumberFieldHiddenInput]", host: { attributes: { "type": "number", "tabindex": "-1", "aria-hidden": "true" }, listeners: { "focus": "onFocus()", "change": "onChange($event)" }, properties: { "attr.name": "rootContext.name()", "attr.form": "rootContext.form()", "value": "rootContext.currentValue() ?? \"\"", "attr.min": "rootContext.min()", "attr.max": "rootContext.max()", "attr.step": "rootContext.step()", "disabled": "rootContext.isDisabled()", "attr.required": "rootContext.required() ? \"\" : undefined" }, styleAttribute: "transform: translateX(-100%); position: absolute; overflow: hidden; pointer-events: none; opacity: 0; margin: 0;" }, exportAs: ["rdxNumberFieldHiddenInput"], ngImport: i0 }); }
|
|
386
393
|
}
|
|
387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldHiddenInput, decorators: [{
|
|
388
395
|
type: Directive,
|
|
389
396
|
args: [{
|
|
390
397
|
selector: 'input[rdxNumberFieldHiddenInput]',
|
|
@@ -418,10 +425,10 @@ class RdxNumberFieldIncrement extends RdxNumberFieldButton {
|
|
|
418
425
|
super(...arguments);
|
|
419
426
|
this.isIncrement = true;
|
|
420
427
|
}
|
|
421
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
422
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
428
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldIncrement, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
429
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.2", type: RdxNumberFieldIncrement, isStandalone: true, selector: "button[rdxNumberFieldIncrement]", host: { attributes: { "aria-label": "Increase" } }, exportAs: ["rdxNumberFieldIncrement"], usesInheritance: true, ngImport: i0 }); }
|
|
423
430
|
}
|
|
424
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldIncrement, decorators: [{
|
|
425
432
|
type: Directive,
|
|
426
433
|
args: [{
|
|
427
434
|
selector: 'button[rdxNumberFieldIncrement]',
|
|
@@ -581,10 +588,10 @@ class RdxNumberFieldInput {
|
|
|
581
588
|
reason: 'wheel'
|
|
582
589
|
});
|
|
583
590
|
}
|
|
584
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
585
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
591
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldInput, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
592
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.2", type: RdxNumberFieldInput, isStandalone: true, selector: "input[rdxNumberFieldInput]", host: { attributes: { "type": "text", "autocomplete": "off", "autocorrect": "off", "spellcheck": "false", "aria-roledescription": "Number field" }, listeners: { "focus": "onFocus($event)", "blur": "onBlur($event)", "input": "onInput($event)", "beforeinput": "onBeforeInput($event)", "keydown": "onKeydown($event)", "paste": "onPaste($event)", "wheel": "onWheel($event)" }, properties: { "id": "rootContext.id()", "value": "rootContext.inputValue()", "attr.inputmode": "rootContext.inputMode()", "attr.aria-invalid": "rootContext.required() && rootContext.currentValue() === null ? \"true\" : undefined", "disabled": "rootContext.isDisabled()", "attr.readonly": "rootContext.readonly() ? \"\" : undefined", "required": "rootContext.required()", "attr.data-disabled": "rootContext.isDisabled() ? \"\" : undefined", "attr.data-readonly": "rootContext.readonly() ? \"\" : undefined", "attr.data-required": "rootContext.required() ? \"\" : undefined" } }, exportAs: ["rdxNumberFieldInput"], ngImport: i0 }); }
|
|
586
593
|
}
|
|
587
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
594
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldInput, decorators: [{
|
|
588
595
|
type: Directive,
|
|
589
596
|
args: [{
|
|
590
597
|
selector: 'input[rdxNumberFieldInput]',
|
|
@@ -648,7 +655,8 @@ class RdxNumberFieldRoot {
|
|
|
648
655
|
/** @ignore */
|
|
649
656
|
this.cva = injectControlValueAccessor();
|
|
650
657
|
/** The id of the input element. */
|
|
651
|
-
this.id = input(injectId('rdx-number-field-'),
|
|
658
|
+
this.id = input(injectId('rdx-number-field-'), /* @ts-ignore */
|
|
659
|
+
...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
652
660
|
/** The minimum value of the field. */
|
|
653
661
|
this.min = input(undefined, { ...(ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {}), transform: numberOrUndefined });
|
|
654
662
|
/** The maximum value of the field. */
|
|
@@ -685,9 +693,11 @@ class RdxNumberFieldRoot {
|
|
|
685
693
|
*/
|
|
686
694
|
this.allowWheelScrub = input(false, { ...(ngDevMode ? { debugName: "allowWheelScrub" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
687
695
|
/** Options used to format the input value (forwarded to `Intl.NumberFormat`). */
|
|
688
|
-
this.format = input(
|
|
696
|
+
this.format = input(/* @ts-ignore */
|
|
697
|
+
...(ngDevMode ? [undefined, { debugName: "format" }] : /* istanbul ignore next */ []));
|
|
689
698
|
/** The locale used to parse and format the value. */
|
|
690
|
-
this.locale = input('en',
|
|
699
|
+
this.locale = input('en', /* @ts-ignore */
|
|
700
|
+
...(ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []));
|
|
691
701
|
/**
|
|
692
702
|
* When `true`, the user cannot interact with the field.
|
|
693
703
|
* @default false
|
|
@@ -704,13 +714,17 @@ class RdxNumberFieldRoot {
|
|
|
704
714
|
*/
|
|
705
715
|
this.required = input(false, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
706
716
|
/** Name of the hidden input rendered by `[rdxNumberFieldHiddenInput]`, for form submission. */
|
|
707
|
-
this.name = input(
|
|
717
|
+
this.name = input(/* @ts-ignore */
|
|
718
|
+
...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
|
|
708
719
|
/** Id of the form the hidden input belongs to. Useful when it is rendered outside the form. */
|
|
709
|
-
this.form = input(
|
|
720
|
+
this.form = input(/* @ts-ignore */
|
|
721
|
+
...(ngDevMode ? [undefined, { debugName: "form" }] : /* istanbul ignore next */ []));
|
|
710
722
|
/** The uncontrolled value of the field when it is initially rendered. */
|
|
711
|
-
this.defaultValue = input(
|
|
723
|
+
this.defaultValue = input(/* @ts-ignore */
|
|
724
|
+
...(ngDevMode ? [undefined, { debugName: "defaultValue" }] : /* istanbul ignore next */ []));
|
|
712
725
|
/** The controlled value of the field. Use with `(onValueChange)` or two-way `[(value)]`. */
|
|
713
|
-
this.value = model(null,
|
|
726
|
+
this.value = model(null, /* @ts-ignore */
|
|
727
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
714
728
|
/** Emitted when the value changes (during interaction or programmatically). */
|
|
715
729
|
this.onValueChange = output();
|
|
716
730
|
/**
|
|
@@ -719,11 +733,14 @@ class RdxNumberFieldRoot {
|
|
|
719
733
|
*/
|
|
720
734
|
this.onValueCommitted = output();
|
|
721
735
|
/** @ignore The formatted text shown in the input element. */
|
|
722
|
-
this.inputValue = signal('',
|
|
736
|
+
this.inputValue = signal('', /* @ts-ignore */
|
|
737
|
+
...(ngDevMode ? [{ debugName: "inputValue" }] : /* istanbul ignore next */ []));
|
|
723
738
|
/** @ignore Whether a scrub gesture is in progress. */
|
|
724
|
-
this.isScrubbing = signal(false,
|
|
739
|
+
this.isScrubbing = signal(false, /* @ts-ignore */
|
|
740
|
+
...(ngDevMode ? [{ debugName: "isScrubbing" }] : /* istanbul ignore next */ []));
|
|
725
741
|
/** @ignore The native input element, registered by `[rdxNumberFieldInput]`. */
|
|
726
|
-
this.inputEl = signal(undefined,
|
|
742
|
+
this.inputEl = signal(undefined, /* @ts-ignore */
|
|
743
|
+
...(ngDevMode ? [{ debugName: "inputEl" }] : /* istanbul ignore next */ []));
|
|
727
744
|
/**
|
|
728
745
|
* @ignore Gate that prevents the formatted value from overwriting in-progress typing.
|
|
729
746
|
* Plain field (not a signal): it is toggled imperatively inside event handlers.
|
|
@@ -734,32 +751,40 @@ class RdxNumberFieldRoot {
|
|
|
734
751
|
/** @ignore Whether a programmatic change is awaiting a commit. */
|
|
735
752
|
this.hasPendingCommit = false;
|
|
736
753
|
/** @ignore */
|
|
737
|
-
this.isDisabled = computed(() => !!this.cva.disabled(),
|
|
754
|
+
this.isDisabled = computed(() => !!this.cva.disabled(), /* @ts-ignore */
|
|
755
|
+
...(ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []));
|
|
738
756
|
this.formatter = useNumberFormatter(this.locale, this.format);
|
|
739
757
|
this.parser = useNumberParser(this.locale, this.format);
|
|
740
758
|
/** @ignore The current numeric value (`null` when empty). */
|
|
741
|
-
this.currentValue = computed(() => this.cva.value() ?? null,
|
|
759
|
+
this.currentValue = computed(() => this.cva.value() ?? null, /* @ts-ignore */
|
|
760
|
+
...(ngDevMode ? [{ debugName: "currentValue" }] : /* istanbul ignore next */ []));
|
|
742
761
|
/** @ignore */
|
|
743
|
-
this.minWithDefault = computed(() => this.min() ?? Number.MIN_SAFE_INTEGER,
|
|
762
|
+
this.minWithDefault = computed(() => this.min() ?? Number.MIN_SAFE_INTEGER, /* @ts-ignore */
|
|
763
|
+
...(ngDevMode ? [{ debugName: "minWithDefault" }] : /* istanbul ignore next */ []));
|
|
744
764
|
/** @ignore */
|
|
745
|
-
this.maxWithDefault = computed(() => this.max() ?? Number.MAX_SAFE_INTEGER,
|
|
765
|
+
this.maxWithDefault = computed(() => this.max() ?? Number.MAX_SAFE_INTEGER, /* @ts-ignore */
|
|
766
|
+
...(ngDevMode ? [{ debugName: "maxWithDefault" }] : /* istanbul ignore next */ []));
|
|
746
767
|
/** @ignore */
|
|
747
|
-
this.minWithZeroDefault = computed(() => this.min() ?? 0,
|
|
768
|
+
this.minWithZeroDefault = computed(() => this.min() ?? 0, /* @ts-ignore */
|
|
769
|
+
...(ngDevMode ? [{ debugName: "minWithZeroDefault" }] : /* istanbul ignore next */ []));
|
|
748
770
|
/** @ignore Whether incrementing further is a no-op (value already at max). */
|
|
749
771
|
this.isIncrementDisabled = computed(() => {
|
|
750
772
|
const value = this.currentValue();
|
|
751
773
|
return value != null && value >= this.maxWithDefault();
|
|
752
|
-
},
|
|
774
|
+
}, /* @ts-ignore */
|
|
775
|
+
...(ngDevMode ? [{ debugName: "isIncrementDisabled" }] : /* istanbul ignore next */ []));
|
|
753
776
|
/** @ignore Whether decrementing further is a no-op (value already at min). */
|
|
754
777
|
this.isDecrementDisabled = computed(() => {
|
|
755
778
|
const value = this.currentValue();
|
|
756
779
|
return value != null && value <= this.minWithDefault();
|
|
757
|
-
},
|
|
780
|
+
}, /* @ts-ignore */
|
|
781
|
+
...(ngDevMode ? [{ debugName: "isDecrementDisabled" }] : /* istanbul ignore next */ []));
|
|
758
782
|
/** @ignore Software-keyboard hint based on whether the format allows fractional digits. */
|
|
759
783
|
this.inputMode = computed(() => {
|
|
760
784
|
const hasDecimals = (this.formatter().resolvedOptions().maximumFractionDigits ?? 0) > 0;
|
|
761
785
|
return hasDecimals ? 'decimal' : 'numeric';
|
|
762
|
-
},
|
|
786
|
+
}, /* @ts-ignore */
|
|
787
|
+
...(ngDevMode ? [{ debugName: "inputMode" }] : /* istanbul ignore next */ []));
|
|
763
788
|
// Apply the uncontrolled initial value once it is provided.
|
|
764
789
|
effect(() => {
|
|
765
790
|
const dv = this.defaultValue();
|
|
@@ -878,10 +903,10 @@ class RdxNumberFieldRoot {
|
|
|
878
903
|
this.value.set(value);
|
|
879
904
|
this.cva.setValue(value);
|
|
880
905
|
}
|
|
881
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
882
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
906
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldRoot, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
907
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.2", type: RdxNumberFieldRoot, isStandalone: true, selector: "div[rdxNumberFieldRoot]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, smallStep: { classPropertyName: "smallStep", publicName: "smallStep", isSignal: true, isRequired: false, transformFunction: null }, largeStep: { classPropertyName: "largeStep", publicName: "largeStep", isSignal: true, isRequired: false, transformFunction: null }, snapOnStep: { classPropertyName: "snapOnStep", publicName: "snapOnStep", isSignal: true, isRequired: false, transformFunction: null }, allowOutOfRange: { classPropertyName: "allowOutOfRange", publicName: "allowOutOfRange", isSignal: true, isRequired: false, transformFunction: null }, allowWheelScrub: { classPropertyName: "allowWheelScrub", publicName: "allowWheelScrub", isSignal: true, isRequired: false, transformFunction: null }, format: { classPropertyName: "format", publicName: "format", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: false, transformFunction: null }, defaultValue: { classPropertyName: "defaultValue", publicName: "defaultValue", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", onValueChange: "onValueChange", onValueCommitted: "onValueCommitted" }, host: { attributes: { "role": "group" }, properties: { "attr.data-disabled": "isDisabled() ? \"\" : undefined", "attr.data-readonly": "readonly() ? \"\" : undefined", "attr.data-required": "required() ? \"\" : undefined", "attr.data-scrubbing": "isScrubbing() ? \"\" : undefined" } }, providers: [provideNumberFieldRootContext(() => inject(RdxNumberFieldRoot))], exportAs: ["rdxNumberFieldRoot"], hostDirectives: [{ directive: i1.RdxControlValueAccessor, inputs: ["value", "value", "disabled", "disabled"] }], ngImport: i0 }); }
|
|
883
908
|
}
|
|
884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldRoot, decorators: [{
|
|
885
910
|
type: Directive,
|
|
886
911
|
args: [{
|
|
887
912
|
selector: 'div[rdxNumberFieldRoot]',
|
|
@@ -954,7 +979,8 @@ class RdxNumberFieldScrubArea {
|
|
|
954
979
|
* The direction the cursor must move to change the value.
|
|
955
980
|
* @default 'horizontal'
|
|
956
981
|
*/
|
|
957
|
-
this.direction = input('horizontal',
|
|
982
|
+
this.direction = input('horizontal', /* @ts-ignore */
|
|
983
|
+
...(ngDevMode ? [{ debugName: "direction" }] : /* istanbul ignore next */ []));
|
|
958
984
|
/**
|
|
959
985
|
* How many pixels the cursor must move before the value changes. Higher is less sensitive.
|
|
960
986
|
* @default 2
|
|
@@ -964,10 +990,14 @@ class RdxNumberFieldScrubArea {
|
|
|
964
990
|
* If set, the distance the cursor may move from the scrub area center before it loops back.
|
|
965
991
|
*/
|
|
966
992
|
this.teleportDistance = input(undefined, { ...(ngDevMode ? { debugName: "teleportDistance" } : /* istanbul ignore next */ {}), transform: numberOrUndefined });
|
|
967
|
-
this.isScrubbing = signal(false,
|
|
968
|
-
|
|
969
|
-
this.
|
|
970
|
-
|
|
993
|
+
this.isScrubbing = signal(false, /* @ts-ignore */
|
|
994
|
+
...(ngDevMode ? [{ debugName: "isScrubbing" }] : /* istanbul ignore next */ []));
|
|
995
|
+
this.isTouchInput = signal(false, /* @ts-ignore */
|
|
996
|
+
...(ngDevMode ? [{ debugName: "isTouchInput" }] : /* istanbul ignore next */ []));
|
|
997
|
+
this.isPointerLockDenied = signal(false, /* @ts-ignore */
|
|
998
|
+
...(ngDevMode ? [{ debugName: "isPointerLockDenied" }] : /* istanbul ignore next */ []));
|
|
999
|
+
this.cursorEl = signal(null, /* @ts-ignore */
|
|
1000
|
+
...(ngDevMode ? [{ debugName: "cursorEl" }] : /* istanbul ignore next */ []));
|
|
971
1001
|
this.scrubAreaEl = inject(ElementRef).nativeElement;
|
|
972
1002
|
this.isScrubbingRef = false;
|
|
973
1003
|
this.didMove = false;
|
|
@@ -981,7 +1011,8 @@ class RdxNumberFieldScrubArea {
|
|
|
981
1011
|
isPointerLockDenied: this.isPointerLockDenied.asReadonly(),
|
|
982
1012
|
registerCursor: (el) => this.cursorEl.set(el)
|
|
983
1013
|
};
|
|
984
|
-
this.canScrub = computed(() => !this.rootContext.isDisabled() && !this.rootContext.readonly(),
|
|
1014
|
+
this.canScrub = computed(() => !this.rootContext.isDisabled() && !this.rootContext.readonly(), /* @ts-ignore */
|
|
1015
|
+
...(ngDevMode ? [{ debugName: "canScrub" }] : /* istanbul ignore next */ []));
|
|
985
1016
|
const root = this.rootContext;
|
|
986
1017
|
// Register global listeners only while actively scrubbing.
|
|
987
1018
|
effect((onCleanup) => {
|
|
@@ -1145,10 +1176,10 @@ class RdxNumberFieldScrubArea {
|
|
|
1145
1176
|
cursor.style.transform = `translate3d(${x}px,${y}px,0) scale(${1 / this.visualScale})`;
|
|
1146
1177
|
}
|
|
1147
1178
|
}
|
|
1148
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1149
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1179
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldScrubArea, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1180
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.2", type: RdxNumberFieldScrubArea, isStandalone: true, selector: "[rdxNumberFieldScrubArea]", inputs: { direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, pixelSensitivity: { classPropertyName: "pixelSensitivity", publicName: "pixelSensitivity", isSignal: true, isRequired: false, transformFunction: null }, teleportDistance: { classPropertyName: "teleportDistance", publicName: "teleportDistance", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "presentation" }, listeners: { "pointerdown": "onPointerDown($event)", "touchstart": "onTouchStart($event)" }, properties: { "style.touch-action": "\"none\"", "style.user-select": "\"none\"", "style.-webkit-user-select": "\"none\"", "attr.data-disabled": "rootContext.isDisabled() ? \"\" : undefined", "attr.data-readonly": "rootContext.readonly() ? \"\" : undefined", "attr.data-scrubbing": "isScrubbing() ? \"\" : undefined" } }, providers: [provideNumberFieldScrubAreaContext(() => inject(RdxNumberFieldScrubArea).context)], exportAs: ["rdxNumberFieldScrubArea"], ngImport: i0 }); }
|
|
1150
1181
|
}
|
|
1151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldScrubArea, decorators: [{
|
|
1152
1183
|
type: Directive,
|
|
1153
1184
|
args: [{
|
|
1154
1185
|
selector: '[rdxNumberFieldScrubArea]',
|
|
@@ -1187,14 +1218,15 @@ class RdxNumberFieldScrubAreaCursor {
|
|
|
1187
1218
|
this.shouldRender = computed(() => this.scrubContext.isScrubbing() &&
|
|
1188
1219
|
!isWebKitBrowser() &&
|
|
1189
1220
|
!this.scrubContext.isTouchInput() &&
|
|
1190
|
-
!this.scrubContext.isPointerLockDenied(),
|
|
1221
|
+
!this.scrubContext.isPointerLockDenied(), /* @ts-ignore */
|
|
1222
|
+
...(ngDevMode ? [{ debugName: "shouldRender" }] : /* istanbul ignore next */ []));
|
|
1191
1223
|
this.scrubContext.registerCursor(this.elementRef.nativeElement);
|
|
1192
1224
|
inject(DestroyRef).onDestroy(() => this.scrubContext.registerCursor(null));
|
|
1193
1225
|
}
|
|
1194
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1195
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldScrubAreaCursor, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1227
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.2", type: RdxNumberFieldScrubAreaCursor, isStandalone: true, selector: "[rdxNumberFieldScrubAreaCursor]", host: { attributes: { "role": "presentation" }, properties: { "style.position": "\"fixed\"", "style.top.px": "0", "style.left.px": "0", "style.pointer-events": "\"none\"", "style.opacity": "shouldRender() ? \"1\" : \"0\"" } }, exportAs: ["rdxNumberFieldScrubAreaCursor"], hostDirectives: [{ directive: i1$1.RdxPortal }], ngImport: i0 }); }
|
|
1196
1228
|
}
|
|
1197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldScrubAreaCursor, decorators: [{
|
|
1198
1230
|
type: Directive,
|
|
1199
1231
|
args: [{
|
|
1200
1232
|
selector: '[rdxNumberFieldScrubAreaCursor]',
|
|
@@ -1222,8 +1254,8 @@ const _imports = [
|
|
|
1222
1254
|
RdxNumberFieldScrubAreaCursor
|
|
1223
1255
|
];
|
|
1224
1256
|
class RdxNumberFieldModule {
|
|
1225
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1226
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1257
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1258
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldModule, imports: [RdxNumberFieldRoot,
|
|
1227
1259
|
RdxNumberFieldGroup,
|
|
1228
1260
|
RdxNumberFieldInput,
|
|
1229
1261
|
RdxNumberFieldHiddenInput,
|
|
@@ -1238,9 +1270,9 @@ class RdxNumberFieldModule {
|
|
|
1238
1270
|
RdxNumberFieldDecrement,
|
|
1239
1271
|
RdxNumberFieldScrubArea,
|
|
1240
1272
|
RdxNumberFieldScrubAreaCursor] }); }
|
|
1241
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1273
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldModule }); }
|
|
1242
1274
|
}
|
|
1243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RdxNumberFieldModule, decorators: [{
|
|
1244
1276
|
type: NgModule,
|
|
1245
1277
|
args: [{
|
|
1246
1278
|
imports: [..._imports],
|