@elasticias/ui 1.0.9 → 1.0.11

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": "@elasticias/ui",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.0.0",
6
6
  "@angular/core": "^21.0.0",
@@ -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 { EfModule, EfNavSection, EfNavItem, EfModuleId, EfToast, EfToastAction, EfThemeConfigService } from '@elasticias/core';
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';
@@ -981,6 +981,83 @@ declare class EfBuildStampComponent {
981
981
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<EfBuildStampComponent, "ef-build-stamp", never, { "owner": { "alias": "owner"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
982
982
  }
983
983
 
984
+ /**
985
+ * The server half of the deployment, as an app fetches it from its own API.
986
+ * Every field is optional: the dialog renders the group only for what it was
987
+ * given, so an app with no such endpoint simply omits the input.
988
+ */
989
+ interface EfAboutServer {
990
+ /** Hosting environment — may differ from the build's own environment. */
991
+ environment?: string;
992
+ /** Runtime description, e.g. `.NET 10.0.6`. */
993
+ runtime?: string;
994
+ /** Version of the API itself. */
995
+ version?: string;
996
+ /** Shared framework assemblies loaded by the API. */
997
+ packages?: EfBuildPackage[];
998
+ }
999
+ /**
1000
+ * "About this app" — which build is running and what shared packages it
1001
+ * was compiled against.
1002
+ *
1003
+ * Reads `EF_BUILD_INFO` optionally and renders the build rows only when the
1004
+ * app provided it, so a consumer that wired no stamp still gets a usable
1005
+ * dialog with its product identity.
1006
+ *
1007
+ * It is deliberately a dialog rather than a screen: the information is
1008
+ * consulted (to paste a commit into an issue, to check which release a
1009
+ * tenant is on) and dismissed, never navigated to.
1010
+ *
1011
+ * ```html
1012
+ * <ef-about-dialog [(visible)]="aboutOpen" product="Crescilio" [edition]="tenantName()" />
1013
+ * ```
1014
+ */
1015
+ declare class EfAboutDialogComponent {
1016
+ /** Two-way open state. */
1017
+ readonly visible: _angular_core.ModelSignal<boolean>;
1018
+ /** Product name, shown large under the mark. */
1019
+ readonly product: _angular_core.InputSignal<string>;
1020
+ /** One muted line under the product — a tenant, a plan, an edition. */
1021
+ readonly edition: _angular_core.InputSignal<string>;
1022
+ /** Which organisation this deployment serves, as a labelled row. */
1023
+ readonly organisation: _angular_core.InputSignal<string>;
1024
+ /** What the API reports about itself. Leave empty to hide the group. */
1025
+ readonly server: _angular_core.InputSignal<EfAboutServer>;
1026
+ /** Outbound link, already carrying whatever query the app wants on it. */
1027
+ readonly websiteUrl: _angular_core.InputSignal<string>;
1028
+ /** What the link reads as — a domain, not a sentence. */
1029
+ readonly websiteLabel: _angular_core.InputSignal<string>;
1030
+ /** Brand mark. A logo wins over the initial when both are set; empty
1031
+ * means "none", the same way `edition` and `initial` read. */
1032
+ readonly logoUrl: _angular_core.InputSignal<string>;
1033
+ readonly initial: _angular_core.InputSignal<string>;
1034
+ /** Copyright holder on the last line. */
1035
+ readonly owner: _angular_core.InputSignal<string>;
1036
+ protected readonly info: _elasticias_core.EfBuildInfo;
1037
+ protected readonly year: number;
1038
+ protected readonly packages: _angular_core.Signal<EfBuildPackage[]>;
1039
+ /**
1040
+ * A released build is known by its version; an unreleased one has no
1041
+ * version to be known by. Same split as `ef-build-stamp`: printing an
1042
+ * empty row is worse than printing none.
1043
+ */
1044
+ protected readonly rows: _angular_core.Signal<{
1045
+ labelKey: string;
1046
+ value: string;
1047
+ }[]>;
1048
+ /** The API's own identity, above the assemblies it loaded. */
1049
+ protected readonly serverRows: _angular_core.Signal<{
1050
+ labelKey: string;
1051
+ value: string;
1052
+ }[]>;
1053
+ protected readonly serverPackages: _angular_core.Signal<EfBuildPackage[]>;
1054
+ protected readonly hasServer: _angular_core.Signal<boolean>;
1055
+ /** A footer button, not only the header ✕: a thumb needs a real target. */
1056
+ protected readonly closeAction: EfDialogAction[];
1057
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<EfAboutDialogComponent, never>;
1058
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EfAboutDialogComponent, "ef-about-dialog", never, { "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "product": { "alias": "product"; "required": false; "isSignal": true; }; "edition": { "alias": "edition"; "required": false; "isSignal": true; }; "organisation": { "alias": "organisation"; "required": false; "isSignal": true; }; "server": { "alias": "server"; "required": false; "isSignal": true; }; "websiteUrl": { "alias": "websiteUrl"; "required": false; "isSignal": true; }; "websiteLabel": { "alias": "websiteLabel"; "required": false; "isSignal": true; }; "logoUrl": { "alias": "logoUrl"; "required": false; "isSignal": true; }; "initial": { "alias": "initial"; "required": false; "isSignal": true; }; "owner": { "alias": "owner"; "required": false; "isSignal": true; }; }, { "visible": "visibleChange"; }, never, never, true, never>;
1059
+ }
1060
+
984
1061
  /**
985
1062
  * Comptoir-skinned tooltip.
986
1063
  *
@@ -1394,10 +1471,21 @@ declare class EfAppShellComponent {
1394
1471
  readonly moduleSections: _angular_core.Signal<EfNavSection[]>;
1395
1472
  onNavigate(item: EfNavItem): void;
1396
1473
  openSwitcher(): void;
1474
+ /**
1475
+ * Dismiss the module sheet from outside.
1476
+ *
1477
+ * Every item the shell itself renders in the sheet navigates, and
1478
+ * navigating closes it. An app-level entry in the `[sheet-footer]` slot
1479
+ * may do neither — "à propos" opens a dialog — and would otherwise leave
1480
+ * the sheet standing behind it. The app owns that button, so the app says
1481
+ * when the sheet is done: `<ef-app-shell #shell>` then
1482
+ * `(click)="shell.closeSwitcher(); …"`.
1483
+ */
1484
+ closeSwitcher(): void;
1397
1485
  onSwitcherChange(open: boolean): void;
1398
1486
  onSelect(module: EfModule): void;
1399
1487
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EfAppShellComponent, never>;
1400
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<EfAppShellComponent, "ef-app-shell", never, { "stripe": { "alias": "stripe"; "required": false; }; }, {}, never, ["[logo]", "[side-header-meta]", "[side-footer]", "[breadcrumb]", "[search]", "[actions]", "*", "[fab]"], true, never>;
1488
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EfAppShellComponent, "ef-app-shell", never, { "stripe": { "alias": "stripe"; "required": false; }; }, {}, never, ["[logo]", "[side-header-meta]", "[side-footer]", "[breadcrumb]", "[search]", "[actions]", "*", "[fab]", "[sheet-footer]"], true, never>;
1401
1489
  }
1402
1490
 
1403
1491
  /**
@@ -1818,7 +1906,7 @@ declare class EfProfileChipComponent {
1818
1906
  role?: string;
1819
1907
  /** Translation key for the role line — takes priority over `role`. */
1820
1908
  roleKey?: string;
1821
- /** Override the avatar glyph. Defaults to the first letter of `name`. */
1909
+ /** Override the avatar glyph (up to two characters). Defaults to the first letter of `name`. */
1822
1910
  initial?: string;
1823
1911
  /** Tenant tone uses `--tenant-500`; neutral uses `--ink-active`. */
1824
1912
  tone: 'tenant' | 'neutral';
@@ -5230,5 +5318,5 @@ declare class EfEmailMetricsCardComponent {
5230
5318
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<EfEmailMetricsCardComponent, "ef-email-metrics-card", never, { "metrics": { "alias": "metrics"; "required": false; "isSignal": true; }; "recentEvents": { "alias": "recentEvents"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "rangeChange": "rangeChange"; }, never, never, true, never>;
5231
5319
  }
5232
5320
 
5233
- export { EF_BADGE_BG_COLORS, EF_BADGE_BG_LIGHT_COLORS, EF_BADGE_BORDER_COLORS, EF_BADGE_DEFAULTS, EF_BADGE_TEXT_COLORS, EF_CHART_PALETTE, EF_DATATABLE_ACTIONS_DEFAULTS, EF_DATATABLE_COLUMN_DEFAULTS, EF_DATATABLE_DEFAULTS, EF_DATA_CARD_MOBILE_LAYOUT, EF_STATUS_COLORS, EF_STATUS_COLOR_ALIASES, EfActivationFilterComponent, EfAppMainComponent, EfAppShellComponent, EfAppShellMobileComponent, EfAppTopComponent, EfBadgeComponent, EfBlockUiComponent, EfBlockableDivComponent, EfBottomSheetComponent, EfBuildStampComponent, EfBulkBarComponent, EfButtonComponent, EfButtonGroupComponent, EfCardComponent, EfChangeHistoryComponent, EfChartComponent, EfCheckboxComponent, EfClearButtonComponent, EfColumnHeaderTemplateDirective, EfColumnTemplateDirective, EfCompactPipe, EfConfirmDialogComponent, EfCurrencyPipe, EfDataCardComponent, EfDatatableActionBarComponent, EfDatatableComponent, EfDatepickerAdvancedComponent, EfDatepickerComponent, EfDetailToolbarComponent, EfDialogComponent, EfEmailMetricsCardComponent, EfEmptyStateComponent, EfFabComponent, EfFieldsetComponent, EfFilterDrawerComponent, EfFilterPillComponent, EfFormGridComponent, EfInputNumberComponent, EfInputTextComponent, EfKpiCardComponent, EfLabelComponent, EfModuleRailComponent, EfModuleSideComponent, EfMultiSelectComponent, EfOrderBuilderComponent, EfOrderSummaryComponent, EfPagerComponent, EfPasswordComponent, EfPdfPreviewComponent, EfPillGroupComponent, EfPresetPillComponent, EfPriceDisplayComponent, EfProductCatalogueComponent, EfProductCatalogueFilterComponent, EfProductTypeaheadComponent, EfProfileChipComponent, EfPulseComponent, EfQuantitySelectorComponent, EfQuantityStepperComponent, EfRankListComponent, EfRowActionsComponent, EfSearchToolbarComponent, EfSelectButtonComponent, EfSelectComponent, EfServerErrorsDirective, EfSkeletonComponent, EfSmartBarComponent, EfStatsComponent, EfStatusChipComponent, EfTabPanelDirective, EfTabsComponent, EfTextareaComponent, EfThemeConfiguratorComponent, EfThemeToggleComponent, EfTimelineComponent, EfToastRegionComponent, EfToggleSwitchComponent, EfToolbarComponent, EfTooltipDirective, EfTotalsComponent, OrderEntityHelper, OrderLineItemHelper, TruncatePipe, buildChartConfig, getColumnAlignment, mergeColumnDefaults, resolveEfStatusColor };
5234
- export type { CatalogueProduct, CatalogueProductVariant, CategoryAssignment, CategoryGroup, CategoryItem, DatatableSearchEntity, DocumentConfig, EfBadgeColor, EfBadgeConfig, EfBadgeSize, EfBadgeVariant, EfButtonComptoirSeverity, EfButtonPrimeNGSeverity, EfButtonSeverity, EfChangeHistoryEntry, EfChangeHistoryFieldChange, EfChartSeries, EfChartType, EfDataCardMobileLayout, EfDataCardRowAction, EfDatatableActions, EfDatatableColumn, EfDatatableColumnAlign, EfDatatableColumnType, EfDatatableConfig, EfDateFieldValue, EfDatePreset, EfDialogAction, EfDialogSeverity, EfDialogSize, EfFabPosition, EfKpiDeltaTone, EfKpiSparkline, EfPillItem, EfPresetItem, EfRankRow, EfRowAction, EfSkeletonVariant, EfStatsRow, EfStatusColor, EfStatusReferenceItem, EfTabItem, EfTabsModule, EfTabsVariant, EfTimelineItem, EfTimelineState, EfToastRegionPosition, EfTotalsGrand, EfTotalsRow, HighlightSegment, OrderChangeInfo, OrderEntity, OrderLineItem, OrderProductsSummary, OrderSummaryItem, ProductCountGroup, ProductCountGroupLabel, ProductTypeaheadRow, ProductTypeaheadSelection, ProductWithCountGroup, SelectedFilter, ValidationResult };
5321
+ export { EF_BADGE_BG_COLORS, EF_BADGE_BG_LIGHT_COLORS, EF_BADGE_BORDER_COLORS, EF_BADGE_DEFAULTS, EF_BADGE_TEXT_COLORS, EF_CHART_PALETTE, EF_DATATABLE_ACTIONS_DEFAULTS, EF_DATATABLE_COLUMN_DEFAULTS, EF_DATATABLE_DEFAULTS, EF_DATA_CARD_MOBILE_LAYOUT, EF_STATUS_COLORS, EF_STATUS_COLOR_ALIASES, EfAboutDialogComponent, EfActivationFilterComponent, EfAppMainComponent, EfAppShellComponent, EfAppShellMobileComponent, EfAppTopComponent, EfBadgeComponent, EfBlockUiComponent, EfBlockableDivComponent, EfBottomSheetComponent, EfBuildStampComponent, EfBulkBarComponent, EfButtonComponent, EfButtonGroupComponent, EfCardComponent, EfChangeHistoryComponent, EfChartComponent, EfCheckboxComponent, EfClearButtonComponent, EfColumnHeaderTemplateDirective, EfColumnTemplateDirective, EfCompactPipe, EfConfirmDialogComponent, EfCurrencyPipe, EfDataCardComponent, EfDatatableActionBarComponent, EfDatatableComponent, EfDatepickerAdvancedComponent, EfDatepickerComponent, EfDetailToolbarComponent, EfDialogComponent, EfEmailMetricsCardComponent, EfEmptyStateComponent, EfFabComponent, EfFieldsetComponent, EfFilterDrawerComponent, EfFilterPillComponent, EfFormGridComponent, EfInputNumberComponent, EfInputTextComponent, EfKpiCardComponent, EfLabelComponent, EfModuleRailComponent, EfModuleSideComponent, EfMultiSelectComponent, EfOrderBuilderComponent, EfOrderSummaryComponent, EfPagerComponent, EfPasswordComponent, EfPdfPreviewComponent, EfPillGroupComponent, EfPresetPillComponent, EfPriceDisplayComponent, EfProductCatalogueComponent, EfProductCatalogueFilterComponent, EfProductTypeaheadComponent, EfProfileChipComponent, EfPulseComponent, EfQuantitySelectorComponent, EfQuantityStepperComponent, EfRankListComponent, EfRowActionsComponent, EfSearchToolbarComponent, EfSelectButtonComponent, EfSelectComponent, EfServerErrorsDirective, EfSkeletonComponent, EfSmartBarComponent, EfStatsComponent, EfStatusChipComponent, EfTabPanelDirective, EfTabsComponent, EfTextareaComponent, EfThemeConfiguratorComponent, EfThemeToggleComponent, EfTimelineComponent, EfToastRegionComponent, EfToggleSwitchComponent, EfToolbarComponent, EfTooltipDirective, EfTotalsComponent, OrderEntityHelper, OrderLineItemHelper, TruncatePipe, buildChartConfig, getColumnAlignment, mergeColumnDefaults, resolveEfStatusColor };
5322
+ export type { CatalogueProduct, CatalogueProductVariant, CategoryAssignment, CategoryGroup, CategoryItem, DatatableSearchEntity, DocumentConfig, EfAboutServer, EfBadgeColor, EfBadgeConfig, EfBadgeSize, EfBadgeVariant, EfButtonComptoirSeverity, EfButtonPrimeNGSeverity, EfButtonSeverity, EfChangeHistoryEntry, EfChangeHistoryFieldChange, EfChartSeries, EfChartType, EfDataCardMobileLayout, EfDataCardRowAction, EfDatatableActions, EfDatatableColumn, EfDatatableColumnAlign, EfDatatableColumnType, EfDatatableConfig, EfDateFieldValue, EfDatePreset, EfDialogAction, EfDialogSeverity, EfDialogSize, EfFabPosition, EfKpiDeltaTone, EfKpiSparkline, EfPillItem, EfPresetItem, EfRankRow, EfRowAction, EfSkeletonVariant, EfStatsRow, EfStatusColor, EfStatusReferenceItem, EfTabItem, EfTabsModule, EfTabsVariant, EfTimelineItem, EfTimelineState, EfToastRegionPosition, EfTotalsGrand, EfTotalsRow, HighlightSegment, OrderChangeInfo, OrderEntity, OrderLineItem, OrderProductsSummary, OrderSummaryItem, ProductCountGroup, ProductCountGroupLabel, ProductTypeaheadRow, ProductTypeaheadSelection, ProductWithCountGroup, SelectedFilter, ValidationResult };