osl-base-extended 2.0.1 → 2.0.3

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": "2.0.1",
3
+ "version": "2.0.3",
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
+ }
@@ -1,21 +1,21 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { TemplateRef, OnInit, OnChanges, EventEmitter, SimpleChanges, ChangeDetectorRef, OnDestroy, ElementRef, AfterViewInit, Renderer2, NgZone } from '@angular/core';
3
- import * as i24 from '@angular/material/dialog';
3
+ import * as i25 from '@angular/material/dialog';
4
4
  import { MatDialogRef } from '@angular/material/dialog';
5
5
  import { HttpHeaders, HttpClient } from '@angular/common/http';
6
- import * as i20 from '@angular/forms';
6
+ import * as i21 from '@angular/forms';
7
7
  import { FormControl } from '@angular/forms';
8
- import * as i30 from '@angular/cdk/drag-drop';
8
+ import * as i31 from '@angular/cdk/drag-drop';
9
9
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
10
- import * as i19 from '@angular/common';
11
- import * as i21 from '@angular/material/form-field';
12
- import * as i22 from '@angular/material/input';
13
- import * as i23 from '@angular/material/icon';
14
- import * as i25 from '@angular/material/button';
10
+ import * as i20 from '@angular/common';
11
+ import * as i22 from '@angular/material/form-field';
12
+ import * as i23 from '@angular/material/input';
13
+ import * as i24 from '@angular/material/icon';
14
+ import * as i26 from '@angular/material/button';
15
15
  import * as rxjs from 'rxjs';
16
- import * as i27 from '@angular/material/datepicker';
17
- import * as i28 from '@angular/material/menu';
18
- import * as i29 from '@angular/cdk/scrolling';
16
+ import * as i28 from '@angular/material/datepicker';
17
+ import * as i29 from '@angular/material/menu';
18
+ import * as i30 from '@angular/cdk/scrolling';
19
19
 
20
20
  declare class OslBaseExtended {
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<OslBaseExtended, never>;
@@ -242,7 +242,7 @@ declare class DynamicForm implements OnInit, OnChanges {
242
242
  interface elements {
243
243
  columns: number;
244
244
  label: string;
245
- elementType: 'button' | 'checkbox' | 'textbox' | 'textarea' | 'radio' | 'select' | 'datepicker' | 'file-uploader' | 'autocomplete' | 'slide-toggle' | 'fieldset' | 'templateRef' | 'chips-input' | 'spacer';
245
+ elementType: 'button' | 'checkbox' | 'textbox' | 'textarea' | 'radio' | 'select' | 'datepicker' | 'datetimepicker' | 'file-uploader' | 'autocomplete' | 'slide-toggle' | 'fieldset' | 'templateRef' | 'chips-input' | 'spacer';
246
246
  key: string;
247
247
  /** Child elements rendered inside a fieldset. Only used when elementType is 'fieldset'. */
248
248
  rows?: elements[];
@@ -289,6 +289,10 @@ interface elements {
289
289
  dateType?: DateInputType;
290
290
  minDate?: string;
291
291
  maxDate?: string;
292
+ minDatetime?: string;
293
+ maxDatetime?: string;
294
+ minDatetimeIf?: (model: any) => string;
295
+ maxDatetimeIf?: (model: any) => string;
292
296
  inline?: boolean;
293
297
  labelPosition?: 'before' | 'after';
294
298
  trueLabel?: string;
@@ -460,6 +464,26 @@ declare class OslFileUpload {
460
464
  static ɵcmp: i0.ɵɵComponentDeclaration<OslFileUpload, "osl-file-upload", never, { "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "model"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "skeletonLoading": { "alias": "skeletonLoading"; "required": false; }; "skeletonTheme": { "alias": "skeletonTheme"; "required": false; }; }, { "modelChange": "modelChange"; "changeEv": "changeEv"; }, never, never, false, never>;
461
465
  }
462
466
 
467
+ declare class OslDatetimepicker {
468
+ label: string;
469
+ required: boolean;
470
+ disabled: boolean;
471
+ private _model;
472
+ set model(val: string);
473
+ get model(): string;
474
+ placeholder: string;
475
+ minDatetime: string;
476
+ maxDatetime: string;
477
+ skeletonLoading: boolean;
478
+ skeletonTheme: 'light' | 'dark';
479
+ modelChange: EventEmitter<string>;
480
+ changeEv: EventEmitter<string>;
481
+ onValueChange(val: string): void;
482
+ private _normalize;
483
+ static ɵfac: i0.ɵɵFactoryDeclaration<OslDatetimepicker, never>;
484
+ static ɵcmp: i0.ɵɵComponentDeclaration<OslDatetimepicker, "osl-datetimepicker", never, { "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "model"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minDatetime": { "alias": "minDatetime"; "required": false; }; "maxDatetime": { "alias": "maxDatetime"; "required": false; }; "skeletonLoading": { "alias": "skeletonLoading"; "required": false; }; "skeletonTheme": { "alias": "skeletonTheme"; "required": false; }; }, { "modelChange": "modelChange"; "changeEv": "changeEv"; }, never, never, false, never>;
485
+ }
486
+
463
487
  declare class OslCheckbox implements OnChanges {
464
488
  checkboxEl: ElementRef<HTMLInputElement>;
465
489
  label: string;
@@ -1191,7 +1215,7 @@ declare class OslSkeletonModule {
1191
1215
 
1192
1216
  declare class FormStructureModule {
1193
1217
  static ɵfac: i0.ɵɵFactoryDeclaration<FormStructureModule, never>;
1194
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormStructureModule, [typeof DynamicForm, typeof Oslinput, typeof Osltextarea, typeof OslSelect, typeof OslRadio, typeof OslSlideToggle, typeof OslAutocomplete, typeof OslFileUpload, typeof OslDatepicker, typeof OslCheckbox, typeof OslButton, typeof OslSetup, typeof OslSearchbar, typeof OslGrid, typeof OslFormGrid, typeof OslAutocompleteLister, typeof OslReportGrid, typeof OslReportForm], [typeof i19.NgTemplateOutlet, typeof i19.NgStyle, typeof i19.NgClass, typeof i19.DatePipe, typeof i19.DecimalPipe, typeof i19.UpperCasePipe, typeof i20.FormsModule, typeof i20.ReactiveFormsModule, typeof i21.MatFormFieldModule, typeof i22.MatInputModule, typeof i21.MatHint, typeof i23.MatIconModule, typeof i24.MatDialogModule, typeof i25.MatButtonModule, typeof OslSkeletonModule, typeof i27.MatDatepickerModule, typeof i28.MatMenuModule, typeof i29.ScrollingModule, typeof i30.DragDropModule], [typeof DynamicForm, typeof OslSetup, typeof OslGrid, typeof OslFormGrid, typeof Oslinput, typeof Osltextarea, typeof OslSelect, typeof OslRadio, typeof OslSlideToggle, typeof OslAutocomplete, typeof OslFileUpload, typeof OslDatepicker, typeof OslCheckbox, typeof OslButton, typeof OslSetup, typeof OslSearchbar, typeof OslAutocompleteLister, typeof OslReportGrid, typeof OslReportForm]>;
1218
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormStructureModule, [typeof DynamicForm, typeof Oslinput, typeof Osltextarea, typeof OslSelect, typeof OslRadio, typeof OslSlideToggle, typeof OslAutocomplete, typeof OslFileUpload, typeof OslDatepicker, typeof OslDatetimepicker, typeof OslCheckbox, typeof OslButton, typeof OslSetup, typeof OslSearchbar, typeof OslGrid, typeof OslFormGrid, typeof OslAutocompleteLister, typeof OslReportGrid, typeof OslReportForm], [typeof i20.NgTemplateOutlet, typeof i20.NgStyle, typeof i20.NgClass, typeof i20.DatePipe, typeof i20.DecimalPipe, typeof i20.UpperCasePipe, typeof i21.FormsModule, typeof i21.ReactiveFormsModule, typeof i22.MatFormFieldModule, typeof i23.MatInputModule, typeof i22.MatHint, typeof i24.MatIconModule, typeof i25.MatDialogModule, typeof i26.MatButtonModule, typeof OslSkeletonModule, typeof i28.MatDatepickerModule, typeof i29.MatMenuModule, typeof i30.ScrollingModule, typeof i31.DragDropModule], [typeof DynamicForm, typeof OslSetup, typeof OslGrid, typeof OslFormGrid, typeof Oslinput, typeof Osltextarea, typeof OslSelect, typeof OslRadio, typeof OslSlideToggle, typeof OslAutocomplete, typeof OslFileUpload, typeof OslDatepicker, typeof OslDatetimepicker, typeof OslCheckbox, typeof OslButton, typeof OslSetup, typeof OslSearchbar, typeof OslAutocompleteLister, typeof OslReportGrid, typeof OslReportForm]>;
1195
1219
  static ɵinj: i0.ɵɵInjectorDeclaration<FormStructureModule>;
1196
1220
  }
1197
1221
 
@@ -2057,5 +2081,5 @@ declare namespace validation_util_d {
2057
2081
  export type { validation_util_d_PasswordOptions as PasswordOptions };
2058
2082
  }
2059
2083
 
2060
- export { array_util_d as ArrayUtil, date_util_d as DateUtil, DeleteConfirmation, DeleteConfirmationData, Dialog, DialogWrapper, DynamicForm, FormStructureModule, Httpbase, number_util_d as NumberUtil, object_util_d as ObjectUtil, OslAutocomplete, OslAutocompleteLister, OslBaseExtended, OslButton, OslCheckbox, OslDatepicker, OslFileUpload, OslFormGrid, OslGrid, OslRadio, OslReportForm, OslReportGrid, OslSearchbar, OslSelect, OslSetup, OslSkeletonDirective, OslSkeletonModule, OslSkeletonThemeService, OslSlideToggle, Oslinput, Osltextarea, storage_util_d as StorageUtil, string_util_d as StringUtil, validation_util_d as ValidationUtil, baseComponent };
2084
+ export { array_util_d as ArrayUtil, date_util_d as DateUtil, DeleteConfirmation, DeleteConfirmationData, Dialog, DialogWrapper, DynamicForm, FormStructureModule, Httpbase, number_util_d as NumberUtil, object_util_d as ObjectUtil, OslAutocomplete, OslAutocompleteLister, OslBaseExtended, OslButton, OslCheckbox, OslDatepicker, OslDatetimepicker, OslFileUpload, OslFormGrid, OslGrid, OslRadio, OslReportForm, OslReportGrid, OslSearchbar, OslSelect, OslSetup, OslSkeletonDirective, OslSkeletonModule, OslSkeletonThemeService, OslSlideToggle, Oslinput, Osltextarea, storage_util_d as StorageUtil, string_util_d as StringUtil, validation_util_d as ValidationUtil, baseComponent };
2061
2085
  export type { ButtonSize, ButtonVariant, DateInputType, FlatRow, HttpResponse, InputType, InternalColumn, OslDisplayType, OslFormGridColumn, OslFormGridFooterColumn, OslFormGridRowEvent, OslGridColumn, OslMenuAction, OslPageEvent, OslPdfConfig, OslReportColumn, OslReportPageEvent, OslReportSortEvent, OslSetupSaveEvent, OslSortEvent, PasswordOptions, ReportGenerateType, SkeletonAnimation, SkeletonTheme, SkeletonType, TextareaResize, elements, myParams, oslListerData };