@meshmakers/shared-ui 3.5.110 → 3.5.130

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": "@meshmakers/shared-ui",
3
- "version": "3.5.110",
3
+ "version": "3.5.130",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.0.0",
6
6
  "@angular/core": "^22.0.0",
@@ -2415,6 +2415,43 @@ declare class DangerConfirmationWindowComponent extends DialogContentBase {
2415
2415
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<DangerConfirmationWindowComponent, "mm-danger-confirmation-window", never, {}, {}, never, never, true, never>;
2416
2416
  }
2417
2417
 
2418
+ /**
2419
+ * CSS class of every dialog action row. The look behind it (right-aligned, 34 px buttons, token
2420
+ * gap, danger-styled destructive confirm) is defined once in the octo-ui styles
2421
+ * (`runtime-browser/styles/_dialog-actions.scss`); hand-made footers (`<div class="mm-dialog-actions">`)
2422
+ * use the same class and need no CSS of their own.
2423
+ */
2424
+ declare const MM_DIALOG_ACTIONS_CLASS = "mm-dialog-actions";
2425
+ /**
2426
+ * The one action layout of every dialog (AB#6464, Studio action guideline §2.2 / §2.4).
2427
+ *
2428
+ * Importing the directive is all a component has to do: it matches every `<kendo-dialog-actions>`
2429
+ * of that component's template, switches Kendo's default `stretched` layout (every button as wide
2430
+ * as the dialog allows, Cancel and confirm look like twins) to `end` and stamps
2431
+ * {@link MM_DIALOG_ACTIONS_CLASS}, so the shared styles apply.
2432
+ *
2433
+ * Button order is the caller's: dismissing buttons first (Cancel), the confirming action last,
2434
+ * labelled verb + object; a destructive confirm uses `themeColor="error"` and is rendered as a
2435
+ * danger fill by the shared styles.
2436
+ *
2437
+ * ```ts
2438
+ * @Component({ imports: [DialogActionsComponent, MmDialogActionsDirective, ButtonComponent], ... })
2439
+ * ```
2440
+ * ```html
2441
+ * <kendo-dialog-actions>
2442
+ * <button kendoButton>Cancel</button>
2443
+ * <button kendoButton themeColor="error">Delete adapter</button>
2444
+ * </kendo-dialog-actions>
2445
+ * ```
2446
+ */
2447
+ declare class MmDialogActionsDirective implements OnInit {
2448
+ private readonly actions;
2449
+ constructor();
2450
+ ngOnInit(): void;
2451
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MmDialogActionsDirective, never>;
2452
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MmDialogActionsDirective, "kendo-dialog-actions", never, {}, {}, never, never, true, never>;
2453
+ }
2454
+
2418
2455
  /**
2419
2456
  * Guard that prevents navigation when a component has unsaved changes.
2420
2457
  * The component must implement the HasUnsavedChanges interface.
@@ -3659,5 +3696,5 @@ declare function liveMessages<K extends string>(keys: Readonly<Record<K, string>
3659
3696
 
3660
3697
  declare function provideMmSharedUi(): EnvironmentProviders;
3661
3698
 
3662
- export { ActionButtonComponent, BaseFormComponent, BaseTreeDetailComponent, ButtonTypes, BytesToSizePipe, CRON_PRESETS, ConfirmationService, ConfirmationWindowComponent, ConfirmationWindowResult, CopyableTextComponent, CronBuilderComponent, CronHumanizerService, CronParserService, DANGER_CONFIRM_ENVIRONMENT, DANGER_CONFIRM_FALLBACK_WORD, DANGER_CONFIRM_SAFE_FOCUS, DEFAULT_CONFIRMATION_WINDOW_MESSAGES, DEFAULT_CRON_BUILDER_CONFIG, DEFAULT_DANGER_CONFIRMATION_MESSAGES, DEFAULT_EMPTY_STATE_RETRY_LABEL, DEFAULT_ENTITY_SELECT_DIALOG_MESSAGES, DEFAULT_ENTITY_SELECT_INPUT_MESSAGES, DEFAULT_INPUT_DIALOG_MESSAGES, DEFAULT_LIST_VIEW_MESSAGES, DEFAULT_MESSAGE_DETAILS_DIALOG_MESSAGES, DEFAULT_NOTIFICATION_DISPLAY_MESSAGES, DEFAULT_PROGRESS_WINDOW_MESSAGES, DEFAULT_RESPONSIVE_COLSPAN, DEFAULT_ROW_ACTIONS_MESSAGES, DEFAULT_SAVE_AS_DIALOG_MESSAGES, DEFAULT_TIME_RANGE_LABELS, DangerConfirmationResult, DangerConfirmationWindowComponent, DataSourceBase, DataSourceTyped, DialogType, EmptyStateComponent, EntitySelectDialogComponent, EntitySelectDialogService, EntitySelectInputComponent, FetchResultBase, FetchResultTyped, FileUploadResult, FileUploadService, FormTitleExtraDirective, HAS_UNSAVED_CHANGES, HOUR_INTERVALS, HierarchyDataSource, HierarchyDataSourceBase, ImportStrategyDialogComponent, ImportStrategyDialogResult, ImportStrategyDialogService, ImportStrategyDto, InputDialogComponent, InputService, ListStateService, ListViewComponent, ListViewFiltersDirective, MINUTE_INTERVALS, MM_ACTION_ICONS, MM_LANGUAGE, MM_ROW_ACTIONS_MAX_INLINE, MM_ROW_ACTIONS_MESSAGES, MM_TRANSLATE, MM_TRANSLATE_DEFAULTS, MessageDetailsDialogComponent, MessageDetailsDialogService, MessageListenerService, MmListViewDataBindingDirective, MmTranslatePipe, NOTIFICATION_DISPLAY_OPTIONS, NotificationDisplayService, OCTOBOT_ASSET_BASE_URL, OCTOBOT_FORCE_STILL, OCTOBOT_LOOP_MS, OCTOBOT_SIZE_PX, OctoBotComponent, PascalCasePipe, ProgressValue, ProgressWindowComponent, ProgressWindowService, RELATIVE_WEEKS, RowActionsComponent, SECOND_INTERVALS, SaveAsDialogComponent, SaveAsDialogService, TimeRangePickerComponent, TimeRangeUtils, TreeComponent, UnsavedChangesDirective, UnsavedChangesGuard, UploadFileDialogComponent, WEEKDAYS, WEEKDAY_ABBREVIATIONS, WindowStateService, actionAccessibleName, actionTooltip, applyDangerConfirmEnvironment, dangerConfirmNameMatches, dangerConfirmTypingToken, generateDayOfMonthOptions, generateHourOptions, generateMinuteOptions, injectMmLanguage, injectMmT, interpolateMm, isActionDisabled, isActionVisible, liveMessages, lookupMmTable, messagesFromTranslate, provideMmSharedUi, provideMmTranslateDefaults, resolveListRowAction, resolveListRowLabel, resolveListViewMessages, resolveMmTranslation, resolveRowActionsMessages, sameAction, splitRowActions };
3699
+ export { ActionButtonComponent, BaseFormComponent, BaseTreeDetailComponent, ButtonTypes, BytesToSizePipe, CRON_PRESETS, ConfirmationService, ConfirmationWindowComponent, ConfirmationWindowResult, CopyableTextComponent, CronBuilderComponent, CronHumanizerService, CronParserService, DANGER_CONFIRM_ENVIRONMENT, DANGER_CONFIRM_FALLBACK_WORD, DANGER_CONFIRM_SAFE_FOCUS, DEFAULT_CONFIRMATION_WINDOW_MESSAGES, DEFAULT_CRON_BUILDER_CONFIG, DEFAULT_DANGER_CONFIRMATION_MESSAGES, DEFAULT_EMPTY_STATE_RETRY_LABEL, DEFAULT_ENTITY_SELECT_DIALOG_MESSAGES, DEFAULT_ENTITY_SELECT_INPUT_MESSAGES, DEFAULT_INPUT_DIALOG_MESSAGES, DEFAULT_LIST_VIEW_MESSAGES, DEFAULT_MESSAGE_DETAILS_DIALOG_MESSAGES, DEFAULT_NOTIFICATION_DISPLAY_MESSAGES, DEFAULT_PROGRESS_WINDOW_MESSAGES, DEFAULT_RESPONSIVE_COLSPAN, DEFAULT_ROW_ACTIONS_MESSAGES, DEFAULT_SAVE_AS_DIALOG_MESSAGES, DEFAULT_TIME_RANGE_LABELS, DangerConfirmationResult, DangerConfirmationWindowComponent, DataSourceBase, DataSourceTyped, DialogType, EmptyStateComponent, EntitySelectDialogComponent, EntitySelectDialogService, EntitySelectInputComponent, FetchResultBase, FetchResultTyped, FileUploadResult, FileUploadService, FormTitleExtraDirective, HAS_UNSAVED_CHANGES, HOUR_INTERVALS, HierarchyDataSource, HierarchyDataSourceBase, ImportStrategyDialogComponent, ImportStrategyDialogResult, ImportStrategyDialogService, ImportStrategyDto, InputDialogComponent, InputService, ListStateService, ListViewComponent, ListViewFiltersDirective, MINUTE_INTERVALS, MM_ACTION_ICONS, MM_DIALOG_ACTIONS_CLASS, MM_LANGUAGE, MM_ROW_ACTIONS_MAX_INLINE, MM_ROW_ACTIONS_MESSAGES, MM_TRANSLATE, MM_TRANSLATE_DEFAULTS, MessageDetailsDialogComponent, MessageDetailsDialogService, MessageListenerService, MmDialogActionsDirective, MmListViewDataBindingDirective, MmTranslatePipe, NOTIFICATION_DISPLAY_OPTIONS, NotificationDisplayService, OCTOBOT_ASSET_BASE_URL, OCTOBOT_FORCE_STILL, OCTOBOT_LOOP_MS, OCTOBOT_SIZE_PX, OctoBotComponent, PascalCasePipe, ProgressValue, ProgressWindowComponent, ProgressWindowService, RELATIVE_WEEKS, RowActionsComponent, SECOND_INTERVALS, SaveAsDialogComponent, SaveAsDialogService, TimeRangePickerComponent, TimeRangeUtils, TreeComponent, UnsavedChangesDirective, UnsavedChangesGuard, UploadFileDialogComponent, WEEKDAYS, WEEKDAY_ABBREVIATIONS, WindowStateService, actionAccessibleName, actionTooltip, applyDangerConfirmEnvironment, dangerConfirmNameMatches, dangerConfirmTypingToken, generateDayOfMonthOptions, generateHourOptions, generateMinuteOptions, injectMmLanguage, injectMmT, interpolateMm, isActionDisabled, isActionVisible, liveMessages, lookupMmTable, messagesFromTranslate, provideMmSharedUi, provideMmTranslateDefaults, resolveListRowAction, resolveListRowLabel, resolveListViewMessages, resolveMmTranslation, resolveRowActionsMessages, sameAction, splitRowActions };
3663
3700
  export type { BadgeMapping, BadgeMappingTable, BaseFormConfig, BaseFormMessages, BooleanIconMapping, ColumnDefinition, ConfirmationButtonLabels, ConfirmationWindowData, ConfirmationWindowMessages, ContextMenuType, CronBuilderConfig, CronFields, CronPreset, CronSchedule, CronValidationResult, DangerConfirmEnvironment, DangerConfirmationMessages, DangerConfirmationOptions, DialogFetchOptions, DialogFetchResult, DropdownOption, EmptyStateVariant, EntitySelectDialogDataSource, EntitySelectDialogMessages, EntitySelectDialogOptions, EntitySelectDialogResult, EntitySelectInputMessages, FetchAgainOptions, FetchDataOptions, FetchResult, FileUploadData, HasUnsavedChanges, InputDialogMessages, ListViewCommand, ListViewMessages, MessageDetailsDialogData, MessageDetailsDialogMessages, MessageLookup, MmAction, MmActionContext, MmActionDisplay, MmActionEvent, MmActionIconName, MmActionLink, MmListEmptyContext, MmListEmptyState, MmListRowAction, MmListRowActionEvent, MmTranslate, MmTranslateFn, MmTranslateParams, MmTranslationTable, NameAvailabilityResult, NodeDroppedEvent, NodeInfo, NotificationDisplayMessages, NotificationDisplayOptions, OctoBotAnimation, OctoBotLoading, OctoBotSize, PersistedListState, ProgressWindowConfig, ProgressWindowData, ProgressWindowMessages, ProgressWindowOptions, ProgressWindowResult, Quarter, RelativeTimeUnit, ResolvedListRowAction, ResponsiveFormBreakPoint, RowActionsMessages, RowActionsView, RowClassFn, SaveAsDialogDataSource, SaveAsDialogMessages, SaveAsDialogOptions, SaveAsDialogResult, ScheduleType, StatusFieldConfig, StatusIconMapping, StatusMapping, TableColumn, TimeRange, TimeRangeISO, TimeRangeOption, TimeRangePickerConfig, TimeRangePickerLabels, TimeRangeSelection, TimeRangeType, TimeRangeZone, UnsavedChangesMessages, Weekday, WindowDimensions };