osl-base-extended 2.0.3 → 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
|
@@ -16,6 +16,7 @@ import * as rxjs from 'rxjs';
|
|
|
16
16
|
import * as i28 from '@angular/material/datepicker';
|
|
17
17
|
import * as i29 from '@angular/material/menu';
|
|
18
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>;
|
|
@@ -293,6 +294,10 @@ interface elements {
|
|
|
293
294
|
maxDatetime?: string;
|
|
294
295
|
minDatetimeIf?: (model: any) => string;
|
|
295
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;
|
|
296
301
|
inline?: boolean;
|
|
297
302
|
labelPosition?: 'before' | 'after';
|
|
298
303
|
trueLabel?: string;
|
|
@@ -468,20 +473,25 @@ declare class OslDatetimepicker {
|
|
|
468
473
|
label: string;
|
|
469
474
|
required: boolean;
|
|
470
475
|
disabled: boolean;
|
|
471
|
-
|
|
476
|
+
dateModel: Date | null;
|
|
472
477
|
set model(val: string);
|
|
473
|
-
get model(): string;
|
|
474
478
|
placeholder: string;
|
|
475
|
-
|
|
476
|
-
|
|
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;
|
|
477
487
|
skeletonLoading: boolean;
|
|
478
488
|
skeletonTheme: 'light' | 'dark';
|
|
479
489
|
modelChange: EventEmitter<string>;
|
|
480
490
|
changeEv: EventEmitter<string>;
|
|
481
|
-
|
|
482
|
-
private
|
|
491
|
+
onDateChange(date: Date | null): void;
|
|
492
|
+
private _parseToDate;
|
|
483
493
|
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>;
|
|
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>;
|
|
485
495
|
}
|
|
486
496
|
|
|
487
497
|
declare class OslCheckbox implements OnChanges {
|
|
@@ -1215,7 +1225,7 @@ declare class OslSkeletonModule {
|
|
|
1215
1225
|
|
|
1216
1226
|
declare class FormStructureModule {
|
|
1217
1227
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormStructureModule, never>;
|
|
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]>;
|
|
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]>;
|
|
1219
1229
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormStructureModule>;
|
|
1220
1230
|
}
|
|
1221
1231
|
|