osl-base-extended 2.0.2 → 2.0.4
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,21 +1,22 @@
|
|
|
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
|
|
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
|
|
6
|
+
import * as i21 from '@angular/forms';
|
|
7
7
|
import { FormControl } from '@angular/forms';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i31 from '@angular/cdk/drag-drop';
|
|
9
9
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
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
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
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
|
+
import * as i32 from '@ngxmc/datetime-picker';
|
|
19
20
|
|
|
20
21
|
declare class OslBaseExtended {
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<OslBaseExtended, never>;
|
|
@@ -242,7 +243,7 @@ declare class DynamicForm implements OnInit, OnChanges {
|
|
|
242
243
|
interface elements {
|
|
243
244
|
columns: number;
|
|
244
245
|
label: string;
|
|
245
|
-
elementType: 'button' | 'checkbox' | 'textbox' | 'textarea' | 'radio' | 'select' | 'datepicker' | 'file-uploader' | 'autocomplete' | 'slide-toggle' | 'fieldset' | 'templateRef' | 'chips-input' | 'spacer';
|
|
246
|
+
elementType: 'button' | 'checkbox' | 'textbox' | 'textarea' | 'radio' | 'select' | 'datepicker' | 'datetimepicker' | 'file-uploader' | 'autocomplete' | 'slide-toggle' | 'fieldset' | 'templateRef' | 'chips-input' | 'spacer';
|
|
246
247
|
key: string;
|
|
247
248
|
/** Child elements rendered inside a fieldset. Only used when elementType is 'fieldset'. */
|
|
248
249
|
rows?: elements[];
|
|
@@ -289,6 +290,14 @@ interface elements {
|
|
|
289
290
|
dateType?: DateInputType;
|
|
290
291
|
minDate?: string;
|
|
291
292
|
maxDate?: string;
|
|
293
|
+
minDatetime?: string;
|
|
294
|
+
maxDatetime?: string;
|
|
295
|
+
minDatetimeIf?: (model: any) => string;
|
|
296
|
+
maxDatetimeIf?: (model: any) => string;
|
|
297
|
+
/** Output format tokens: YYYY MM DD HH mm ss. Default: 'YYYY-MM-DDTHH:mm' */
|
|
298
|
+
datetimepickerFormat?: string;
|
|
299
|
+
datetimepickerShowSeconds?: boolean;
|
|
300
|
+
datetimepickerEnableMeridian?: boolean;
|
|
292
301
|
inline?: boolean;
|
|
293
302
|
labelPosition?: 'before' | 'after';
|
|
294
303
|
trueLabel?: string;
|
|
@@ -460,6 +469,31 @@ declare class OslFileUpload {
|
|
|
460
469
|
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
470
|
}
|
|
462
471
|
|
|
472
|
+
declare class OslDatetimepicker {
|
|
473
|
+
label: string;
|
|
474
|
+
required: boolean;
|
|
475
|
+
disabled: boolean;
|
|
476
|
+
dateModel: Date | null;
|
|
477
|
+
set model(val: string);
|
|
478
|
+
placeholder: string;
|
|
479
|
+
minDate: Date | null;
|
|
480
|
+
maxDate: Date | null;
|
|
481
|
+
set minDatetime(val: string);
|
|
482
|
+
set maxDatetime(val: string);
|
|
483
|
+
/** Output format for the emitted string value. Uses date.util tokens: YYYY, MM, DD, HH, mm, ss */
|
|
484
|
+
format: string;
|
|
485
|
+
showSeconds: boolean;
|
|
486
|
+
enableMeridian: boolean;
|
|
487
|
+
skeletonLoading: boolean;
|
|
488
|
+
skeletonTheme: 'light' | 'dark';
|
|
489
|
+
modelChange: EventEmitter<string>;
|
|
490
|
+
changeEv: EventEmitter<string>;
|
|
491
|
+
onDateChange(date: Date | null): void;
|
|
492
|
+
private _parseToDate;
|
|
493
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OslDatetimepicker, never>;
|
|
494
|
+
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; }; "format": { "alias": "format"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "enableMeridian": { "alias": "enableMeridian"; "required": false; }; "skeletonLoading": { "alias": "skeletonLoading"; "required": false; }; "skeletonTheme": { "alias": "skeletonTheme"; "required": false; }; }, { "modelChange": "modelChange"; "changeEv": "changeEv"; }, never, never, false, never>;
|
|
495
|
+
}
|
|
496
|
+
|
|
463
497
|
declare class OslCheckbox implements OnChanges {
|
|
464
498
|
checkboxEl: ElementRef<HTMLInputElement>;
|
|
465
499
|
label: string;
|
|
@@ -1191,7 +1225,7 @@ declare class OslSkeletonModule {
|
|
|
1191
1225
|
|
|
1192
1226
|
declare class FormStructureModule {
|
|
1193
1227
|
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
|
|
1228
|
+
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 i32.NgxMatDatetimepicker, typeof i32.NgxMatDatepickerInput, typeof i32.NgxMatDatepickerToggle], [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
1229
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormStructureModule>;
|
|
1196
1230
|
}
|
|
1197
1231
|
|
|
@@ -2057,5 +2091,5 @@ declare namespace validation_util_d {
|
|
|
2057
2091
|
export type { validation_util_d_PasswordOptions as PasswordOptions };
|
|
2058
2092
|
}
|
|
2059
2093
|
|
|
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 };
|
|
2094
|
+
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
2095
|
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 };
|