@meshmakers/shared-ui 3.3.560 → 3.3.580
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
|
@@ -216,6 +216,7 @@ declare class ListViewComponent extends CommandBaseService implements OnDestroy,
|
|
|
216
216
|
protected onContextMenu(dataItem: unknown, e: PointerEvent): void;
|
|
217
217
|
protected onContextMenuClosed(_event: ContextMenuPopupEvent): void;
|
|
218
218
|
protected onToolbarCommand(commandItem: CommandItem): Promise<void>;
|
|
219
|
+
protected onToolbarDropdownItemClick(childItem: CommandItem): Promise<void>;
|
|
219
220
|
private buildMenuItems;
|
|
220
221
|
protected getPdfPageText(pageNum: number, totalPages: number): string;
|
|
221
222
|
protected readonly moreVerticalIcon: SVGIcon$1;
|
|
@@ -920,6 +921,7 @@ declare class MessageDetailsDialogComponent implements OnInit {
|
|
|
920
921
|
|
|
921
922
|
declare class MessageDetailsDialogService {
|
|
922
923
|
private readonly windowService;
|
|
924
|
+
private readonly windowStateService;
|
|
923
925
|
/**
|
|
924
926
|
* Opens a resizable window to show message details with copy-to-clipboard functionality
|
|
925
927
|
*/
|
|
@@ -1058,6 +1060,7 @@ declare class EntitySelectInputComponent implements OnInit, OnDestroy, ControlVa
|
|
|
1058
1060
|
maxResults: number;
|
|
1059
1061
|
debounceMs: number;
|
|
1060
1062
|
prefix: string;
|
|
1063
|
+
set initialDisplayValue(value: string | undefined);
|
|
1061
1064
|
dialogDataSource?: EntitySelectDialogDataSource<any>;
|
|
1062
1065
|
dialogTitle: string;
|
|
1063
1066
|
multiSelect: boolean;
|
|
@@ -1106,7 +1109,7 @@ declare class EntitySelectInputComponent implements OnInit, OnDestroy, ControlVa
|
|
|
1106
1109
|
private selectEntity;
|
|
1107
1110
|
openAdvancedSearch(event?: Event): Promise<void>;
|
|
1108
1111
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntitySelectInputComponent, never>;
|
|
1109
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntitySelectInputComponent, "mm-entity-select-input", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minSearchLength": { "alias": "minSearchLength"; "required": false; }; "maxResults": { "alias": "maxResults"; "required": false; }; "debounceMs": { "alias": "debounceMs"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "dialogDataSource": { "alias": "dialogDataSource"; "required": false; }; "dialogTitle": { "alias": "dialogTitle"; "required": false; }; "multiSelect": { "alias": "multiSelect"; "required": false; }; "advancedSearchLabel": { "alias": "advancedSearchLabel"; "required": false; }; "dialogMessages": { "alias": "dialogMessages"; "required": false; }; "messages": { "alias": "messages"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "entitySelected": "entitySelected"; "entityCleared": "entityCleared"; "entitiesSelected": "entitiesSelected"; }, never, never, true, never>;
|
|
1112
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntitySelectInputComponent, "mm-entity-select-input", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minSearchLength": { "alias": "minSearchLength"; "required": false; }; "maxResults": { "alias": "maxResults"; "required": false; }; "debounceMs": { "alias": "debounceMs"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "initialDisplayValue": { "alias": "initialDisplayValue"; "required": false; }; "dialogDataSource": { "alias": "dialogDataSource"; "required": false; }; "dialogTitle": { "alias": "dialogTitle"; "required": false; }; "multiSelect": { "alias": "multiSelect"; "required": false; }; "advancedSearchLabel": { "alias": "advancedSearchLabel"; "required": false; }; "dialogMessages": { "alias": "dialogMessages"; "required": false; }; "messages": { "alias": "messages"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "entitySelected": "entitySelected"; "entityCleared": "entityCleared"; "entitiesSelected": "entitiesSelected"; }, never, never, true, never>;
|
|
1110
1113
|
}
|
|
1111
1114
|
|
|
1112
1115
|
declare class EntitySelectDialogComponent<T> implements OnInit, OnDestroy {
|
|
@@ -1148,6 +1151,7 @@ declare class EntitySelectDialogComponent<T> implements OnInit, OnDestroy {
|
|
|
1148
1151
|
|
|
1149
1152
|
declare class EntitySelectDialogService {
|
|
1150
1153
|
private readonly windowService;
|
|
1154
|
+
private readonly windowStateService;
|
|
1151
1155
|
/**
|
|
1152
1156
|
* Opens the entity select dialog
|
|
1153
1157
|
* @param dataSource The data source providing grid data and column definitions
|
|
@@ -1901,7 +1905,34 @@ declare class ImportStrategyDialogService {
|
|
|
1901
1905
|
static ɵprov: i0.ɵɵInjectableDeclaration<ImportStrategyDialogService>;
|
|
1902
1906
|
}
|
|
1903
1907
|
|
|
1908
|
+
interface WindowDimensions {
|
|
1909
|
+
width: number;
|
|
1910
|
+
height: number;
|
|
1911
|
+
}
|
|
1912
|
+
declare class WindowStateService {
|
|
1913
|
+
private readonly storageKey;
|
|
1914
|
+
private activeBackdrops;
|
|
1915
|
+
getDimensions(dialogKey: string): WindowDimensions | null;
|
|
1916
|
+
saveDimensions(dialogKey: string, dimensions: WindowDimensions): void;
|
|
1917
|
+
clearDimensions(dialogKey: string): void;
|
|
1918
|
+
resolveWindowSize(dialogKey: string, defaults: WindowDimensions): WindowDimensions;
|
|
1919
|
+
captureAndSave(dialogKey: string, windowElement: HTMLElement): void;
|
|
1920
|
+
/**
|
|
1921
|
+
* Applies modal behavior to a Kendo WindowRef: shows a dark backdrop overlay
|
|
1922
|
+
* that blocks interaction with the background, and removes it when the window closes.
|
|
1923
|
+
* Also captures and saves window dimensions on close.
|
|
1924
|
+
*/
|
|
1925
|
+
applyModalBehavior(dialogKey: string, windowRef: WindowRef): void;
|
|
1926
|
+
private showBackdrop;
|
|
1927
|
+
private hideBackdrop;
|
|
1928
|
+
private getOrCreateBackdropElement;
|
|
1929
|
+
private loadStates;
|
|
1930
|
+
private saveStates;
|
|
1931
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowStateService, never>;
|
|
1932
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WindowStateService>;
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1904
1935
|
declare function provideMmSharedUi(): EnvironmentProviders;
|
|
1905
1936
|
|
|
1906
|
-
export { BaseFormComponent, BaseTreeDetailComponent, ButtonTypes, BytesToSizePipe, CRON_PRESETS, ConfirmationService, ConfirmationWindowResult, CopyableTextComponent, CronBuilderComponent, CronHumanizerService, CronParserService, DEFAULT_CRON_BUILDER_CONFIG, DEFAULT_ENTITY_SELECT_DIALOG_MESSAGES, DEFAULT_ENTITY_SELECT_INPUT_MESSAGES, DEFAULT_LIST_VIEW_MESSAGES, DEFAULT_RESPONSIVE_COLSPAN, DEFAULT_TIME_RANGE_LABELS, DataSourceBase, DataSourceTyped, DialogType, EntitySelectDialogComponent, EntitySelectDialogService, EntitySelectInputComponent, FetchResultBase, FetchResultTyped, FileUploadResult, FileUploadService, FormTitleExtraDirective, HAS_UNSAVED_CHANGES, HOUR_INTERVALS, HierarchyDataSource, HierarchyDataSourceBase, ImportStrategyDialogComponent, ImportStrategyDialogResult, ImportStrategyDialogService, ImportStrategyDto, InputDialogComponent, InputService, ListViewComponent, MINUTE_INTERVALS, MessageDetailsDialogComponent, MessageDetailsDialogService, MessageListenerService, MmListViewDataBindingDirective, NotificationDisplayService, PascalCasePipe, ProgressValue, ProgressWindowComponent, ProgressWindowService, RELATIVE_WEEKS, SECOND_INTERVALS, SaveAsDialogComponent, SaveAsDialogService, TimeRangePickerComponent, TimeRangeUtils, TreeComponent, UnsavedChangesDirective, UnsavedChangesGuard, UploadFileDialogComponent, WEEKDAYS, WEEKDAY_ABBREVIATIONS, generateDayOfMonthOptions, generateHourOptions, generateMinuteOptions, provideMmSharedUi };
|
|
1907
|
-
export type { BaseFormConfig, BaseFormMessages, ColumnDefinition, ConfirmationButtonLabels, ConfirmationWindowData, ContextMenuType, CronBuilderConfig, CronFields, CronPreset, CronSchedule, CronValidationResult, DialogFetchOptions, DialogFetchResult, DropdownOption, EntitySelectDialogDataSource, EntitySelectDialogMessages, EntitySelectDialogOptions, EntitySelectDialogResult, EntitySelectInputMessages, FetchDataOptions, FetchResult, FileUploadData, HasUnsavedChanges, ListViewMessages, MessageDetailsDialogData, NameAvailabilityResult, NodeDroppedEvent, NodeInfo, ProgressWindowConfig, ProgressWindowData, ProgressWindowOptions, ProgressWindowResult, Quarter, RelativeTimeUnit, ResponsiveFormBreakPoint, SaveAsDialogDataSource, SaveAsDialogOptions, SaveAsDialogResult, ScheduleType, StatusFieldConfig, StatusIconMapping, StatusMapping, TableColumn, TimeRange, TimeRangeISO, TimeRangeOption, TimeRangePickerConfig, TimeRangePickerLabels, TimeRangeSelection, TimeRangeType, UnsavedChangesMessages, Weekday };
|
|
1937
|
+
export { BaseFormComponent, BaseTreeDetailComponent, ButtonTypes, BytesToSizePipe, CRON_PRESETS, ConfirmationService, ConfirmationWindowResult, CopyableTextComponent, CronBuilderComponent, CronHumanizerService, CronParserService, DEFAULT_CRON_BUILDER_CONFIG, DEFAULT_ENTITY_SELECT_DIALOG_MESSAGES, DEFAULT_ENTITY_SELECT_INPUT_MESSAGES, DEFAULT_LIST_VIEW_MESSAGES, DEFAULT_RESPONSIVE_COLSPAN, DEFAULT_TIME_RANGE_LABELS, DataSourceBase, DataSourceTyped, DialogType, EntitySelectDialogComponent, EntitySelectDialogService, EntitySelectInputComponent, FetchResultBase, FetchResultTyped, FileUploadResult, FileUploadService, FormTitleExtraDirective, HAS_UNSAVED_CHANGES, HOUR_INTERVALS, HierarchyDataSource, HierarchyDataSourceBase, ImportStrategyDialogComponent, ImportStrategyDialogResult, ImportStrategyDialogService, ImportStrategyDto, InputDialogComponent, InputService, ListViewComponent, MINUTE_INTERVALS, MessageDetailsDialogComponent, MessageDetailsDialogService, MessageListenerService, MmListViewDataBindingDirective, NotificationDisplayService, PascalCasePipe, ProgressValue, ProgressWindowComponent, ProgressWindowService, RELATIVE_WEEKS, SECOND_INTERVALS, SaveAsDialogComponent, SaveAsDialogService, TimeRangePickerComponent, TimeRangeUtils, TreeComponent, UnsavedChangesDirective, UnsavedChangesGuard, UploadFileDialogComponent, WEEKDAYS, WEEKDAY_ABBREVIATIONS, WindowStateService, generateDayOfMonthOptions, generateHourOptions, generateMinuteOptions, provideMmSharedUi };
|
|
1938
|
+
export type { BaseFormConfig, BaseFormMessages, ColumnDefinition, ConfirmationButtonLabels, ConfirmationWindowData, ContextMenuType, CronBuilderConfig, CronFields, CronPreset, CronSchedule, CronValidationResult, DialogFetchOptions, DialogFetchResult, DropdownOption, EntitySelectDialogDataSource, EntitySelectDialogMessages, EntitySelectDialogOptions, EntitySelectDialogResult, EntitySelectInputMessages, FetchDataOptions, FetchResult, FileUploadData, HasUnsavedChanges, ListViewMessages, MessageDetailsDialogData, NameAvailabilityResult, NodeDroppedEvent, NodeInfo, ProgressWindowConfig, ProgressWindowData, ProgressWindowOptions, ProgressWindowResult, Quarter, RelativeTimeUnit, ResponsiveFormBreakPoint, SaveAsDialogDataSource, SaveAsDialogOptions, SaveAsDialogResult, ScheduleType, StatusFieldConfig, StatusIconMapping, StatusMapping, TableColumn, TimeRange, TimeRangeISO, TimeRangeOption, TimeRangePickerConfig, TimeRangePickerLabels, TimeRangeSelection, TimeRangeType, UnsavedChangesMessages, Weekday, WindowDimensions };
|