@elasticias/ui 1.0.14 → 1.0.15
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
package/types/elasticias-ui.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { PipeTransform, OnInit, OnChanges, TemplateRef, EventEmitter, AfterContentInit, OnDestroy, SimpleChanges, InjectionToken, AfterViewInit } from '@angular/core';
|
|
3
3
|
import { Menu } from 'primeng/menu';
|
|
4
4
|
import * as _elasticias_core from '@elasticias/core';
|
|
5
|
-
import { EfBuildPackage,
|
|
5
|
+
import { EfBuildPackage, EfModule, EfNavSection, EfNavItem, EfModuleId, EfToast, EfToastAction, EfThemeConfigService } from '@elasticias/core';
|
|
6
6
|
import * as i1 from 'primeng/tooltip';
|
|
7
7
|
import * as _elasticias_screens from '@elasticias/screens';
|
|
8
8
|
import { ScreenContext, EfDetailToolbarAction, EfSearchToolbarAction, EfDataCardColumn, EfDataCardSort, EfDateRange, EfDatePresetKey } from '@elasticias/screens';
|
|
@@ -1079,6 +1079,24 @@ declare class EfTooltipDirective {
|
|
|
1079
1079
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<EfTooltipDirective, "[efTooltip]", never, {}, {}, never, never, true, [{ directive: typeof i1.Tooltip; inputs: { "pTooltip": "efTooltip"; "tooltipPosition": "efTooltipPosition"; "tooltipDisabled": "efTooltipDisabled"; "tooltipStyleClass": "efTooltipStyleClass"; "tooltipEvent": "efTooltipEvent"; "showDelay": "efTooltipShowDelay"; "hideDelay": "efTooltipHideDelay"; "appendTo": "efTooltipAppendTo"; "autoHide": "efTooltipAutoHide"; "escape": "efTooltipEscape"; "life": "efTooltipLife"; }; outputs: {}; }]>;
|
|
1080
1080
|
}
|
|
1081
1081
|
|
|
1082
|
+
/**
|
|
1083
|
+
* The three tiers a shortcut can belong to, outer to inner: a Global
|
|
1084
|
+
* shortcut works anywhere in the app, a Screen shortcut works anywhere on
|
|
1085
|
+
* the current screen, a Row shortcut only while a row's menu is open.
|
|
1086
|
+
* `list()` returns groups in registration order, which is really "whatever
|
|
1087
|
+
* happened to construct first." This fixes the section order so it
|
|
1088
|
+
* always reads outer to inner regardless of what rendered when.
|
|
1089
|
+
*/
|
|
1090
|
+
/** One action and every key bound to it, which is what a reader wants: the
|
|
1091
|
+
* action once, its bindings beside it. */
|
|
1092
|
+
interface ShortcutActionView {
|
|
1093
|
+
labelKey: string;
|
|
1094
|
+
keys: string[];
|
|
1095
|
+
}
|
|
1096
|
+
interface ShortcutGroupView {
|
|
1097
|
+
group: string;
|
|
1098
|
+
actions: ShortcutActionView[];
|
|
1099
|
+
}
|
|
1082
1100
|
/**
|
|
1083
1101
|
* The keyboard-shortcuts reference: every registration currently sitting
|
|
1084
1102
|
* in `EfShortcutService`, grouped and rendered with the same `.kbd` chip
|
|
@@ -1098,14 +1116,16 @@ declare class EfShortcutsDialogComponent {
|
|
|
1098
1116
|
private readonly shortcutService;
|
|
1099
1117
|
/** Two-way open state. */
|
|
1100
1118
|
readonly visible: _angular_core.ModelSignal<boolean>;
|
|
1101
|
-
/** `list()`, reordered Global → Screen → Row
|
|
1102
|
-
*
|
|
1103
|
-
*
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
*
|
|
1107
|
-
*
|
|
1108
|
-
|
|
1119
|
+
/** `list()`, reordered Global → Screen → Row, with the bindings for one
|
|
1120
|
+
* action collapsed onto a single row.
|
|
1121
|
+
*
|
|
1122
|
+
* An action can be reachable by more than one key: opening this dialog
|
|
1123
|
+
* answers to both `?` and `mod+/`. Listing registrations verbatim
|
|
1124
|
+
* printed that action's name twice, once per binding, which reads as a
|
|
1125
|
+
* duplicate rather than as a choice. An unrecognised group (a future
|
|
1126
|
+
* tier this component does not know about) sorts last rather than
|
|
1127
|
+
* being dropped. */
|
|
1128
|
+
protected readonly groups: _angular_core.Signal<ShortcutGroupView[]>;
|
|
1109
1129
|
protected readonly closeAction: EfDialogAction[];
|
|
1110
1130
|
protected formatKeys(keys: string): string;
|
|
1111
1131
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EfShortcutsDialogComponent, never>;
|