@d4k-ui/nbx-inputs 21.0.0 → 21.0.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d4k-ui/nbx-inputs",
3
- "version": "21.0.0",
3
+ "version": "21.0.11",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.2.8",
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnDestroy, Signal, AfterContentInit, DestroyRef, OnInit, OnChanges, AfterViewInit, ElementRef, SimpleChanges, EnvironmentProviders } from '@angular/core';
2
+ import { OnDestroy, Signal, AfterContentInit, DestroyRef, OnInit, OnChanges, AfterViewInit, ElementRef, SimpleChanges } from '@angular/core';
3
3
  import { ValidationErrors, AbstractControl, FormControl, ControlValueAccessor, FormGroup } from '@angular/forms';
4
4
  import { NbComponentStatus, NbComponentSize } from '@d4k-ui/theme';
5
5
  import { OverlayConfig } from '@angular/cdk/overlay';
@@ -176,11 +176,12 @@ declare class NbxInputColorSelectComponent extends NbxControlValueAccessorBaseDi
176
176
  declare class NbxInputDatePickerComponent extends NbxControlValueAccessorBaseDirective<any> {
177
177
  readonly minDate: _angular_core.InputSignal<string | Date | null>;
178
178
  readonly maxDate: _angular_core.InputSignal<string | Date | null>;
179
+ readonly format: _angular_core.InputSignal<string | undefined>;
179
180
  readonly dateChanged: _angular_core.OutputEmitterRef<Date>;
180
181
  constructor();
181
182
  dateSelected(event: any): void;
182
183
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbxInputDatePickerComponent, never>;
183
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbxInputDatePickerComponent, "nbx-input-date-picker", never, { "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; }, { "dateChanged": "dateChanged"; }, never, ["*"], true, never>;
184
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbxInputDatePickerComponent, "nbx-input-date-picker", never, { "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "dateChanged": "dateChanged"; }, never, ["*"], true, never>;
184
185
  }
185
186
 
186
187
  interface DateRangeObject {
@@ -194,12 +195,13 @@ declare class NbxInputDateRangePickerComponent extends NbxControlValueAccessorBa
194
195
  private dateService;
195
196
  readonly minDate: _angular_core.InputSignal<Date | null>;
196
197
  readonly maxDate: _angular_core.InputSignal<Date | null>;
198
+ readonly format: _angular_core.InputSignal<string | undefined>;
197
199
  readonly dateRangeChanged: _angular_core.OutputEmitterRef<DateRangeObject | null>;
198
200
  protected inputControl: FormControl<any>;
199
201
  constructor();
200
202
  dateChanged(event: any): void;
201
203
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbxInputDateRangePickerComponent, never>;
202
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbxInputDateRangePickerComponent, "nbx-input-date-range-picker", never, { "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; }, { "dateRangeChanged": "dateRangeChanged"; }, never, ["*"], true, never>;
204
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbxInputDateRangePickerComponent, "nbx-input-date-range-picker", never, { "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "dateRangeChanged": "dateRangeChanged"; }, never, ["*"], true, never>;
203
205
  }
204
206
 
205
207
  /**
@@ -208,11 +210,13 @@ declare class NbxInputDateRangePickerComponent extends NbxControlValueAccessorBa
208
210
  declare class NbxInputDateTimePickerComponent extends NbxControlValueAccessorBaseDirective<any> {
209
211
  readonly minDate: _angular_core.InputSignal<string | Date | null>;
210
212
  readonly maxDate: _angular_core.InputSignal<string | Date | null>;
213
+ readonly format: _angular_core.InputSignal<string | undefined>;
214
+ readonly step: _angular_core.InputSignal<number>;
211
215
  readonly dateChanged: _angular_core.OutputEmitterRef<Date>;
212
216
  constructor();
213
217
  dateSelected(event: any): void;
214
218
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbxInputDateTimePickerComponent, never>;
215
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbxInputDateTimePickerComponent, "nbx-input-date-time-picker", never, { "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; }, { "dateChanged": "dateChanged"; }, never, ["*"], true, never>;
219
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbxInputDateTimePickerComponent, "nbx-input-date-time-picker", never, { "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; }, { "dateChanged": "dateChanged"; }, never, ["*"], true, never>;
216
220
  }
217
221
 
218
222
  declare class NbxInputMultiselectAutocompleteComponent extends NbxControlValueAccessorBaseDirective<(string | number)[]> implements AfterViewInit {
@@ -372,11 +376,5 @@ declare const NbxValidators: {
372
376
  email: (control: AbstractControl) => Record<string, any> | null;
373
377
  };
374
378
 
375
- /**
376
- * @deprecated not need to use it! All providers already provided in theme
377
- * @returns null
378
- */
379
- declare function provideNbxInputs(): EnvironmentProviders;
380
-
381
- export { IntOrFloatDirective, NbxClipboardDirective, NbxControlValueAccessorBaseDirective, NbxCustomTooltipComponent, NbxInputAutocompleteComponent, NbxInputColorSelectComponent, NbxInputDatePickerComponent, NbxInputDateRangePickerComponent, NbxInputDateTimePickerComponent, NbxInputErrorsComponent, NbxInputLabelComponent, NbxInputMultiselectAutocompleteComponent, NbxInputNumberComponent, NbxInputSelectComponent, NbxInputTextComponent, NbxInputTextareaComponent, NbxInputWrapperComponent, NbxValidators, NbxValidatorsErrorsMessage, filterAndSortOptionsBySearch, filterOptionsBySearch, getFilteredBySearchArray, getOnlyDirtyControlsValuesRecursive, getRandomId, isQueryIncludesInObject, markAllControlsAsDirty, provideNbxInputs, resizeObservable, sortOptionsBySearchIndex };
379
+ export { IntOrFloatDirective, NbxClipboardDirective, NbxControlValueAccessorBaseDirective, NbxCustomTooltipComponent, NbxInputAutocompleteComponent, NbxInputColorSelectComponent, NbxInputDatePickerComponent, NbxInputDateRangePickerComponent, NbxInputDateTimePickerComponent, NbxInputErrorsComponent, NbxInputLabelComponent, NbxInputMultiselectAutocompleteComponent, NbxInputNumberComponent, NbxInputSelectComponent, NbxInputTextComponent, NbxInputTextareaComponent, NbxInputWrapperComponent, NbxValidators, NbxValidatorsErrorsMessage, filterAndSortOptionsBySearch, filterOptionsBySearch, getFilteredBySearchArray, getOnlyDirtyControlsValuesRecursive, getRandomId, isQueryIncludesInObject, markAllControlsAsDirty, resizeObservable, sortOptionsBySearchIndex };
382
380
  export type { INbxControlContext, NbxInputLabelPositionType, NbxInputValidationMessages, NbxLabelInfoType, NbxNbxValidatorsErrorsMessageValue, NbxSelectOption };