osl-base-extended 10.9.0 → 11.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osl-base-extended",
3
- "version": "10.9.0",
3
+ "version": "11.2.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.0",
6
6
  "@angular/core": "^21.2.0"
@@ -25,4 +25,4 @@
25
25
  "module": "fesm2022/osl-base-extended.mjs",
26
26
  "typings": "types/osl-base-extended.d.ts",
27
27
  "type": "module"
28
- }
28
+ }
@@ -5,6 +5,8 @@ import { MatDialogRef } from '@angular/material/dialog';
5
5
  import { HttpHeaders, HttpClient } from '@angular/common/http';
6
6
  import * as i34 from '@angular/cdk/drag-drop';
7
7
  import { DragConstrainPosition, CdkDragDrop, CdkDragStart, CdkDragEnd, CdkDragEnter, CdkDragExit } from '@angular/cdk/drag-drop';
8
+ import * as i32 from '@angular/material/datepicker';
9
+ import { MatDatepicker } from '@angular/material/datepicker';
8
10
  import * as i24 from '@angular/forms';
9
11
  import { FormControl } from '@angular/forms';
10
12
  import * as _angular_platform_browser from '@angular/platform-browser';
@@ -17,7 +19,6 @@ import * as i26 from '@angular/material/input';
17
19
  import * as i27 from '@angular/material/icon';
18
20
  import * as i29 from '@angular/material/button';
19
21
  import * as rxjs from 'rxjs';
20
- import * as i32 from '@angular/material/datepicker';
21
22
  import * as i33 from '@angular/material/menu';
22
23
  import * as i35 from '@angular/material/tooltip';
23
24
  import * as i37 from '@angular/cdk/portal';
@@ -195,14 +196,14 @@ declare class Oslinput implements OnInit, OnChanges {
195
196
  static ɵcmp: i0.ɵɵComponentDeclaration<Oslinput, "osl-input", never, { "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "model"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "suffixRef": { "alias": "suffixRef"; "required": false; }; "skeletonLoading": { "alias": "skeletonLoading"; "required": false; }; "skeletonTheme": { "alias": "skeletonTheme"; "required": false; }; "onlyChars": { "alias": "onlyChars"; "required": false; }; "isCapitalize": { "alias": "isCapitalize"; "required": false; }; "decimalPortion": { "alias": "decimalPortion"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; }, { "modelChange": "modelChange"; "changeEv": "changeEv"; }, never, never, false, never>;
196
197
  }
197
198
 
198
- type DateInputType = 'date' | 'datetime-local' | 'time' | 'month' | 'week';
199
+ type DateInputType = 'date' | 'datetime-local' | 'time' | 'month' | 'week' | 'year';
199
200
  declare class OslDatepicker {
200
201
  label: string;
201
202
  required: boolean;
202
203
  disabled: boolean;
203
204
  dateValue: Date | null;
204
205
  private _model;
205
- set model(val: string);
206
+ set model(val: string | Date | null | undefined);
206
207
  get model(): string;
207
208
  dateType: DateInputType;
208
209
  placeholder: string;
@@ -219,6 +220,7 @@ declare class OslDatepicker {
219
220
  modelChange: EventEmitter<string>;
220
221
  changeEv: EventEmitter<string>;
221
222
  onDateChange(date: Date | null): void;
223
+ onYearSelected(normalizedYear: Date, datepicker: MatDatepicker<Date>): void;
222
224
  private _toDate;
223
225
  private _toString;
224
226
  static ɵfac: i0.ɵɵFactoryDeclaration<OslDatepicker, never>;