osl-base-extended 13.0.0 → 13.1.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
|
@@ -47,6 +47,23 @@ declare class DeleteConfirmationData {
|
|
|
47
47
|
data?: any;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
declare class WarningDialog {
|
|
51
|
+
dialogRef: MatDialogRef<WarningDialog>;
|
|
52
|
+
data: WarningDialogData;
|
|
53
|
+
constructor(dialogRef: MatDialogRef<WarningDialog>, data: WarningDialogData);
|
|
54
|
+
confirm(): void;
|
|
55
|
+
cancel(): void;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WarningDialog, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WarningDialog, "warning-dialog", never, {}, {}, never, never, true, never>;
|
|
58
|
+
}
|
|
59
|
+
declare class WarningDialogData {
|
|
60
|
+
title: string;
|
|
61
|
+
message: string;
|
|
62
|
+
yesText: string;
|
|
63
|
+
noText: string;
|
|
64
|
+
data?: any;
|
|
65
|
+
}
|
|
66
|
+
|
|
50
67
|
declare class baseComponent {
|
|
51
68
|
private _injector;
|
|
52
69
|
protected showSuccess(message: any): void;
|
|
@@ -55,6 +72,7 @@ declare class baseComponent {
|
|
|
55
72
|
private showSnack;
|
|
56
73
|
protected openDialog(header?: string | TemplateRef<any>, formBody?: TemplateRef<any>, formFooter?: TemplateRef<any>, width?: string, data?: any, component?: any, isDraggable?: boolean): MatDialogRef<any>;
|
|
57
74
|
protected openDeleteDialog(message?: string, title?: string, confirmText?: string, cancelText?: string, data?: any): MatDialogRef<DeleteConfirmation>;
|
|
75
|
+
protected openWarningDialog(title: string, message: string, onYesClick?: () => void, onClose?: () => void, yesText?: string, noText?: string, data?: any): MatDialogRef<WarningDialog>;
|
|
58
76
|
protected isValidBeforeSave<T>(formElements: T[], model: any): string[];
|
|
59
77
|
protected isValidFormGrid(columns: {
|
|
60
78
|
key: string;
|
|
@@ -2471,5 +2489,5 @@ declare class ErrorDialog {
|
|
|
2471
2489
|
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorDialog, "error-dialog", never, {}, {}, never, never, true, never>;
|
|
2472
2490
|
}
|
|
2473
2491
|
|
|
2474
|
-
export { array_util_d as ArrayUtil, date_util_d as DateUtil, DeleteConfirmation, DeleteConfirmationData, Dialog, DialogWrapper, DirtyStateService, DynamicForm, ErrorDialog, FormStructureModule, Httpbase, number_util_d as NumberUtil, OSL_ATTACH_CALLER_IP, object_util_d as ObjectUtil, OslAutocomplete, OslAutocompleteLister, OslBaseExtended, OslButton, OslCheckbox, OslDatepicker, OslDatetimepicker, OslDocumentUploader, OslFileUpload, OslFormGrid, OslGrid, OslMenu, OslMenuTriggerFor, OslRadio, OslReportForm, OslReportGrid, OslSearchbar, OslSelect, OslSetup, OslSkeletonDirective, OslSkeletonModule, OslSkeletonThemeService, OslSlideToggle, OslTooltipDirective, OslUserLog, Oslinput, Osltextarea, storage_util_d as StorageUtil, string_util_d as StringUtil, UnsavedChangesDialog, validation_util_d as ValidationUtil, baseComponent, provideCallerIpHeader, unsavedChangesGuard };
|
|
2492
|
+
export { array_util_d as ArrayUtil, date_util_d as DateUtil, DeleteConfirmation, DeleteConfirmationData, Dialog, DialogWrapper, DirtyStateService, DynamicForm, ErrorDialog, FormStructureModule, Httpbase, number_util_d as NumberUtil, OSL_ATTACH_CALLER_IP, object_util_d as ObjectUtil, OslAutocomplete, OslAutocompleteLister, OslBaseExtended, OslButton, OslCheckbox, OslDatepicker, OslDatetimepicker, OslDocumentUploader, OslFileUpload, OslFormGrid, OslGrid, OslMenu, OslMenuTriggerFor, OslRadio, OslReportForm, OslReportGrid, OslSearchbar, OslSelect, OslSetup, OslSkeletonDirective, OslSkeletonModule, OslSkeletonThemeService, OslSlideToggle, OslTooltipDirective, OslUserLog, Oslinput, Osltextarea, storage_util_d as StorageUtil, string_util_d as StringUtil, UnsavedChangesDialog, validation_util_d as ValidationUtil, WarningDialog, WarningDialogData, baseComponent, provideCallerIpHeader, unsavedChangesGuard };
|
|
2475
2493
|
export type { ButtonSize, ButtonVariant, DateInputType, DragColumn, DragDropPayload, DragItem, ErrorDialogData, FlatRow, HttpResponse, InputType, InternalColumn, OslDisplayType, OslFileValue, OslFormGridColumn, OslFormGridFooterColumn, OslFormGridRowEvent, OslGridColumn, OslMenuAction, OslMenuPosition, OslPageEvent, OslPdfConfig, OslReportColumn, OslReportPageEvent, OslReportSortEvent, OslSavedDocument, OslSetupSaveEvent, OslSortEvent, PanelPageEvent, PanelSearchEvent, PasswordOptions, ReportGenerateType, SkeletonAnimation, SkeletonTheme, SkeletonType, TextareaResize, UnsavedChangesDialogData, UserLogMeta, elements, myParams, oslListerData };
|