@smartsoft001/angular 2.201.0 → 2.203.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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ComponentRef, ElementRef, InjectionToken, Injector, InputSignal, ModelSignal, NgModule, NgModuleRef, OnDestroy, OnInit, OutputEmitterRef, PipeTransform, Renderer2, Signal, TemplateRef, Type, ViewContainerRef, WritableSignal } from "@angular/core";
2
+ import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ComponentRef, ElementRef, InjectionToken, Injector, InputSignal, ModelSignal, NgModule, NgModuleRef, OnDestroy, OnInit, OutputEmitterRef, PipeTransform, Provider, Renderer2, Signal, TemplateRef, Type, ViewContainerRef, WritableSignal } from "@angular/core";
3
3
  import * as i1$1 from "@angular/forms";
4
4
  import { AbstractControl, AsyncValidatorFn, ControlValueAccessor, UntypedFormArray, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, ValidatorFn } from "@angular/forms";
5
5
  import { MonoTypeOperatorFunction, Observable, Subject, Subscription } from "rxjs";
@@ -151,6 +151,7 @@ export interface IIconButtonOptions {
151
151
  icon: string;
152
152
  text?: string;
153
153
  handler?: () => void;
154
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
154
155
  component?: any;
155
156
  type?: 'default' | 'popover';
156
157
  disabled$?: Observable<boolean>;
@@ -164,6 +165,7 @@ export interface IDynamicComponentData {
164
165
  }
165
166
  export interface IFormOptions<T> {
166
167
  model: T;
168
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
167
169
  show: boolean;
168
170
  treeLevel?: number;
169
171
  control?: AbstractControl;
@@ -180,6 +182,7 @@ export interface IFormOptions<T> {
180
182
  inputComponents?: {
181
183
  [key: string]: InputBaseComponentType<T>;
182
184
  };
185
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
183
186
  fieldOptions?: IFieldOptions;
184
187
  modelOptions?: IModelOptions;
185
188
  }
@@ -208,6 +211,7 @@ export interface IDetailsOptions<T extends IEntity<string>> {
208
211
  cellPipe?: ICellPipe<T>;
209
212
  type: any;
210
213
  item: Signal<T>;
214
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
211
215
  loading?: Signal<boolean>;
212
216
  itemHandler?: ((id: string) => void) | null;
213
217
  removeHandler?: ((item: T) => void) | null;
@@ -282,6 +286,7 @@ export interface IEmptyStateItem {
282
286
  export interface IEmptyStateOptions {
283
287
  title?: string;
284
288
  description?: string;
289
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
285
290
  layout?: SmartEmptyStateLayout;
286
291
  iconTpl?: TemplateRef<unknown>;
287
292
  actions?: IEmptyStateAction[];
@@ -300,6 +305,7 @@ export interface INavbarItem {
300
305
  iconTpl?: TemplateRef<unknown>;
301
306
  }
302
307
  export interface INavbarOptions {
308
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
303
309
  layout?: SmartNavbarLayout;
304
310
  dark?: boolean;
305
311
  menuButtonOnLeft?: boolean;
@@ -352,6 +358,10 @@ export interface IProgressBarsOptions {
352
358
  value?: number;
353
359
  columns?: IProgressBarColumn[];
354
360
  }
361
+ /**
362
+ * The preset's layouts. `'simple-with-chevrons'` looks the same as the default
363
+ * layout, since the chevron is already the default separator.
364
+ */
355
365
  export type SmartBreadcrumbsLayout = 'contained' | 'full-width-bar' | 'simple-with-chevrons' | 'simple-with-slashes';
356
366
  export type SmartBreadcrumbsSeparator = 'chevron' | 'slash' | 'arrow';
357
367
  export interface IBreadcrumbItem {
@@ -384,6 +394,7 @@ export interface IVerticalNavGroup {
384
394
  items: IVerticalNavItem[];
385
395
  }
386
396
  export interface IVerticalNavOptions {
397
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
387
398
  layout?: SmartVerticalNavLayout;
388
399
  ariaLabel?: string;
389
400
  items?: IVerticalNavItem[];
@@ -399,6 +410,7 @@ export interface IButtonOptions {
399
410
  color?: SmartColor;
400
411
  rounded?: boolean;
401
412
  circular?: boolean;
413
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
402
414
  iconPosition?: 'leading' | 'trailing';
403
415
  }
404
416
  export interface IInfoOptions {
@@ -406,6 +418,7 @@ export interface IInfoOptions {
406
418
  }
407
419
  export interface ISearchbarOptions {
408
420
  placeholder?: string;
421
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
409
422
  label?: string;
410
423
  debounceTime?: number;
411
424
  showToggleButton?: boolean;
@@ -424,6 +437,7 @@ export interface ICommand {
424
437
  label: string;
425
438
  icon?: string;
426
439
  group?: string;
440
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
427
441
  href?: string;
428
442
  description?: string;
429
443
  imageUrl?: string;
@@ -468,6 +482,7 @@ export interface IDrawerOptions {
468
482
  wide?: boolean;
469
483
  withOverlay?: boolean;
470
484
  brandedHeader?: boolean;
485
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
471
486
  stickyFooter?: boolean;
472
487
  variant?: SmartDrawerVariant;
473
488
  }
@@ -531,6 +546,7 @@ export interface IDropdownItem {
531
546
  id: string;
532
547
  label: string;
533
548
  icon?: string;
549
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
534
550
  href?: string;
535
551
  disabled?: boolean;
536
552
  divider?: boolean;
@@ -559,6 +575,7 @@ export interface IContainerOptions {
559
575
  export type SmartListContainerVariant = 'simple-dividers' | 'card-dividers' | 'separate-cards' | 'flat-card-dividers';
560
576
  export interface IListContainerOptions {
561
577
  variant?: SmartListContainerVariant;
578
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
562
579
  fullWidthOnMobile?: boolean;
563
580
  }
564
581
  export interface IMediaObjectOptions {
@@ -661,8 +678,11 @@ export type SmartCalendarView = 'month' | 'week' | 'day' | 'year';
661
678
  export interface ICalendarEvent {
662
679
  id: string | number;
663
680
  start: Date;
681
+ /** Not rendered by the built-in implementations (they show a dot or a count per day); available to `dayCellTpl` and to a custom implementation. */
664
682
  end?: Date;
683
+ /** Not rendered by the built-in implementations (they show a dot or a count per day); available to `dayCellTpl` and to a custom implementation. */
665
684
  title?: string;
685
+ /** Not rendered by the built-in implementations (they show a dot or a count per day); available to `dayCellTpl` and to a custom implementation. */
666
686
  meta?: Record<string, unknown>;
667
687
  }
668
688
  export interface ICalendarDayCell {
@@ -673,6 +693,7 @@ export interface ICalendarDayCell {
673
693
  }
674
694
  export interface ICalendarOptions {
675
695
  view?: SmartCalendarView;
696
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
676
697
  monthsCount?: 1 | 2 | 12;
677
698
  weekStart?: 0 | 1;
678
699
  showToolbar?: boolean;
@@ -680,6 +701,7 @@ export interface ICalendarOptions {
680
701
  eventListTpl?: TemplateRef<unknown>;
681
702
  sidePanelTpl?: TemplateRef<unknown>;
682
703
  dayCellTpl?: TemplateRef<unknown>;
704
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
683
705
  eventTpl?: TemplateRef<unknown>;
684
706
  }
685
707
  export interface IStackedListItem {
@@ -760,6 +782,7 @@ export type SmartSelectMenuVariant = 'native' | 'custom' | 'with-check' | 'with-
760
782
  export interface ISelectMenuItem {
761
783
  value: string | number;
762
784
  label: string;
785
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
763
786
  avatarUrl?: string;
764
787
  iconTpl?: TemplateRef<unknown>;
765
788
  secondary?: string;
@@ -770,6 +793,7 @@ export interface ISelectMenuItem {
770
793
  export interface ISelectMenuOptions {
771
794
  items?: ISelectMenuItem[];
772
795
  placeholder?: string;
796
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
773
797
  variant?: SmartSelectMenuVariant;
774
798
  emptyTpl?: TemplateRef<unknown>;
775
799
  ariaLabel?: string;
@@ -790,6 +814,7 @@ export interface IFeedEvent {
790
814
  iconTpl?: TemplateRef<unknown>;
791
815
  avatarUrl?: string;
792
816
  href?: string;
817
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
793
818
  type?: string;
794
819
  comments?: IFeedComment[];
795
820
  ariaLabel?: string;
@@ -798,6 +823,7 @@ export interface IFeedOptions {
798
823
  title?: string;
799
824
  description?: string;
800
825
  events?: IFeedEvent[];
826
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
801
827
  variant?: SmartFeedVariant;
802
828
  commentSubmitTpl?: TemplateRef<unknown>;
803
829
  emptyTpl?: TemplateRef<unknown>;
@@ -883,6 +909,7 @@ export interface ISidebarNavProfile {
883
909
  srOnlyText?: string;
884
910
  }
885
911
  export interface ISidebarNavOptions {
912
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
886
913
  layout?: SmartSidebarNavLayout;
887
914
  ariaLabel?: string;
888
915
  logo?: ISidebarNavLogo;
@@ -896,6 +923,7 @@ export interface ISidebarLayoutOptions {
896
923
  sidebarTpl?: TemplateRef<unknown>;
897
924
  headerTpl?: TemplateRef<unknown>;
898
925
  sidebarPosition?: 'left' | 'right';
926
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
899
927
  mobileBreakpoint?: SmartSidebarLayoutMobileBreakpoint;
900
928
  condensed?: boolean;
901
929
  }
@@ -904,6 +932,7 @@ export interface IDetailOptions<T> {
904
932
  item?: Signal<T>;
905
933
  options: IFieldOptions;
906
934
  cellPipe?: ICellPipe<T>;
935
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
907
936
  loading?: Signal<boolean>;
908
937
  }
909
938
  export interface ICellPipe<T> extends PipeTransform {
@@ -930,10 +959,16 @@ export interface IPageOptions {
930
959
  logoTpl?: TemplateRef<unknown>;
931
960
  statsTpl?: TemplateRef<unknown>;
932
961
  subtitleTpl?: TemplateRef<unknown>;
962
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
933
963
  navTpl?: TemplateRef<unknown>;
934
964
  sidebarTpl?: TemplateRef<unknown>;
935
965
  }
936
966
  export interface IListProvider<T> {
967
+ /**
968
+ * Reads the data again with `filter` merged into the current one. The list
969
+ * calls it with `{ offset: 0, sortBy, sortDesc }` when a sortable header is
970
+ * clicked (`IListOptions.sort` set).
971
+ */
937
972
  getData: (filter: any) => void;
938
973
  onChangeMultiSelected?: (list: Array<T>) => void;
939
974
  onCleanMultiSelected$?: Observable<void>;
@@ -941,7 +976,13 @@ export interface IListProvider<T> {
941
976
  loading: Signal<boolean>;
942
977
  }
943
978
  export interface IListPaginationOptions {
979
+ /**
980
+ * `PaginationMode.singlePage` renders `<smart-paging>` below the items;
981
+ * `PaginationMode.infiniteScroll` calls `loadNextPage` when the end of the
982
+ * items scrolls into view, while `page < totalPages`.
983
+ */
944
984
  mode?: PaginationMode;
985
+ /** Not read by the built-in implementations (standard or preset); available to a custom implementation registered for the component. */
945
986
  limit: number;
946
987
  loadNextPage: () => Promise<boolean>;
947
988
  loadPrevPage: () => Promise<boolean>;
@@ -982,10 +1023,20 @@ export interface IListOptions<T> {
982
1023
  pagination?: IListPaginationOptions;
983
1024
  cellPipe?: ICellPipe<T>;
984
1025
  componentFactories?: IListComponentFactories<T>;
1026
+ /**
1027
+ * Makes the field headers of the desktop modes sort buttons: a click reads
1028
+ * the data through `provider.getData({ offset: 0, sortBy, sortDesc })`.
1029
+ * `default` / `defaultDesc` is the sort the headers show at first.
1030
+ */
985
1031
  sort?: boolean | {
986
1032
  default?: string;
987
1033
  defaultDesc?: boolean;
988
1034
  };
1035
+ /**
1036
+ * Adds a details action to every item: it opens `component` (`DetailsPage`
1037
+ * by default) in a modal with the `IDetailsOptions` of `provider` as its
1038
+ * `value`, and asks `provider.getData(id)` for the item.
1039
+ */
989
1040
  details?: boolean | {
990
1041
  provider?: IDetailsProvider<T>;
991
1042
  componentFactories?: IDetailsComponentFactories<T>;
@@ -1169,10 +1220,22 @@ export interface IToastButton {
1169
1220
  position: 'start' | 'end';
1170
1221
  handler: () => void;
1171
1222
  }
1223
+ /** What `HardwareService.onBackButtonClick` returns. */
1224
+ export interface IBackButtonHandle {
1225
+ /** Stops calling the callback. */
1226
+ remove(): void;
1227
+ }
1172
1228
  export declare class HardwareService {
1229
+ private readonly document;
1173
1230
  get isMobile(): boolean;
1174
1231
  get isMobileWeb(): boolean;
1175
- onBackButtonClick(callback: () => void): Promise< /*PluginListenerHandle*/ any>;
1232
+ /**
1233
+ * Calls `callback` when the user goes back in the browser history (the
1234
+ * `popstate` event of the window), until `remove()` is called on the
1235
+ * returned handle. Without a window (server rendering) the handle does
1236
+ * nothing.
1237
+ */
1238
+ onBackButtonClick(callback: () => void): Promise<IBackButtonHandle>;
1176
1239
  static ɵfac: i0.ɵɵFactoryDeclaration<HardwareService, never>;
1177
1240
  static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1178
1241
  }
@@ -1218,25 +1281,78 @@ export declare class MenuService {
1218
1281
  static ɵfac: i0.ɵɵFactoryDeclaration<MenuService, never>;
1219
1282
  static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1220
1283
  }
1221
- export declare class ModalService {
1222
- show(options: IModalServiceOptions): Promise<IModal>;
1223
- dismiss<T>(data?: T | null): Promise<void>;
1224
- static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
1225
- static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1226
- }
1227
1284
  export interface IModalServiceOptions {
1285
+ /** The component rendered in the modal. */
1228
1286
  component: any;
1287
+ /**
1288
+ * The inputs of `component`, by input name. Keys the component does not
1289
+ * declare as inputs are left out.
1290
+ */
1229
1291
  props?: any;
1292
+ /** `'bottom'` adds the `smart-modal-bottom` class to the modal. */
1230
1293
  mode?: 'default' | 'bottom';
1294
+ /** Classes added to the modal (`<smart-modal class>`). */
1231
1295
  cssClass?: string[];
1296
+ /**
1297
+ * `false` keeps the modal open on a click on its backdrop and on Escape;
1298
+ * its close button and `dismiss()` still close it. Defaults to `true`.
1299
+ */
1232
1300
  backdropDismiss?: boolean;
1301
+ /**
1302
+ * The injector `component` resolves its dependencies from (e.g. the opener's
1303
+ * `inject(Injector)`), the service's injector by default.
1304
+ */
1305
+ injector?: Injector;
1233
1306
  }
1234
1307
  export interface IModal {
1235
- dismiss: () => void;
1308
+ /** Closes the modal; `onDidDismiss()` resolves with `{ data }`. */
1309
+ dismiss: (data?: any) => void;
1310
+ /** Resolves once the modal is closed, with the data it was closed with. */
1236
1311
  onDidDismiss(): Promise<{
1237
1312
  data: any;
1238
1313
  }>;
1239
1314
  }
1315
+ /**
1316
+ * Opens a component in a `<smart-modal>` at the end of `<body>` (the
1317
+ * implementation registered for `MODAL_STANDARD_COMPONENT_TOKEN`, so the
1318
+ * preset when `provideSmartPresets()` is used). The modals stack: the last one
1319
+ * opened is on top, and `dismiss()` closes it.
1320
+ *
1321
+ * The component gets `props` as its inputs and, when it declares one, a
1322
+ * `dismiss` input with the function that closes its modal. It can also inject
1323
+ * `ModalService` and call `dismiss(data)`. The modal shows its close button;
1324
+ * closing it by the close button, the backdrop or Escape (as the modal
1325
+ * implementation provides them) resolves `onDidDismiss()` with
1326
+ * `{ data: null }`.
1327
+ */
1328
+ export declare class ModalService implements OnDestroy {
1329
+ private readonly appRef;
1330
+ private readonly environmentInjector;
1331
+ private readonly injector;
1332
+ private readonly document;
1333
+ private readonly entries;
1334
+ /**
1335
+ * Stops Escape before the modal's own document listener (registered after
1336
+ * this one) while the top modal has `backdropDismiss: false`. Elements
1337
+ * inside the modal still receive the key; only document listeners added
1338
+ * after the first modal opened are skipped.
1339
+ */
1340
+ private readonly onKeydown;
1341
+ show(options: IModalServiceOptions): Promise<IModal>;
1342
+ /** Closes the modal opened last. */
1343
+ dismiss<T>(data?: T | null): Promise<void>;
1344
+ ngOnDestroy(): void;
1345
+ private getClasses;
1346
+ /**
1347
+ * With `backdropDismiss: false`, a click that lands in the modal but outside
1348
+ * its dialog (the backdrop) is stopped before the modal sees it.
1349
+ */
1350
+ private onBackdropClick;
1351
+ /** Sets the values whose keys `ref`'s component declares as inputs. */
1352
+ private setInputs;
1353
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
1354
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1355
+ }
1240
1356
  export declare class AlertService {
1241
1357
  private readonly appRef;
1242
1358
  private readonly environmentInjector;
@@ -1300,16 +1416,48 @@ export declare class DynamicContentDirective {
1300
1416
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicContentDirective, never>;
1301
1417
  static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicContentDirective, ".dynamic-content", never, {}, {}, never, never, true, never>;
1302
1418
  }
1419
+ /** What `showDetailsModal` (and `[smartDetails]`) opens. */
1420
+ export interface IDetailsModalOptions {
1421
+ /** Rendered in the modal, with `params` as its `value` input. */
1422
+ component: any;
1423
+ params: any;
1424
+ /** Default `'bottom'`. */
1425
+ mode?: 'bottom' | 'default';
1426
+ }
1427
+ /** The callbacks of `showDetailsModal`. */
1428
+ export interface IDetailsModalCallbacks {
1429
+ /** Once the modal is open. */
1430
+ showed?: () => void;
1431
+ /** Once the modal is closed. */
1432
+ dismissed?: () => void;
1433
+ }
1434
+ /**
1435
+ * Opens `options.component` through `ModalService` with
1436
+ * `{ value: options.params }` as its inputs (e.g. `DetailsPage` with
1437
+ * `IDetailsOptions`), closes it when the browser goes back
1438
+ * (`HardwareService.onBackButtonClick`) and resolves once it is closed.
1439
+ * Without `options` or `options.component` it does nothing.
1440
+ */
1441
+ export declare function showDetailsModal(services: {
1442
+ modalService: ModalService;
1443
+ hardwareService: HardwareService;
1444
+ injector?: Injector;
1445
+ }, options: IDetailsModalOptions | null | undefined, { showed, dismissed }?: IDetailsModalCallbacks): Promise<void>;
1446
+ /**
1447
+ * Opens `component` in a modal on click (`ModalService`, mode `'bottom'` by
1448
+ * default) with `{ value: params }` as its inputs; the modal closes when the
1449
+ * browser goes back. Emits `smartDetailsShowed` once the modal is open and
1450
+ * `smartDetailsDismissed` once it is closed.
1451
+ */
1303
1452
  export declare class DetailsDirective {
1304
1453
  private modalService;
1305
1454
  private hardwareService;
1306
- options: import("@angular/core").InputSignal<{
1307
- component: any;
1308
- params: any;
1309
- mode?: "bottom" | "default";
1310
- }>;
1455
+ private injector;
1456
+ private destroyed;
1457
+ options: import("@angular/core").InputSignal<IDetailsModalOptions>;
1311
1458
  smartDetailsShowed: import("@angular/core").OutputEmitterRef<void>;
1312
1459
  smartDetailsDismissed: import("@angular/core").OutputEmitterRef<void>;
1460
+ constructor();
1313
1461
  click(): Promise<void>;
1314
1462
  static ɵfac: i0.ɵɵFactoryDeclaration<DetailsDirective, never>;
1315
1463
  static ɵdir: i0.ɵɵDirectiveDeclaration<DetailsDirective, "[smartDetails]", never, {
@@ -1623,10 +1771,7 @@ export declare class ActionPanelComponent {
1623
1771
  cssClass: import("@angular/core").InputSignal<string>;
1624
1772
  actionClick: import("@angular/core").OutputEmitterRef<IActionPanelActionClick>;
1625
1773
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").ActionPanelBaseComponent> | null>;
1626
- componentInputs: import("@angular/core").Signal<{
1627
- options: IActionPanelOptions | undefined;
1628
- cssClass: string;
1629
- }>;
1774
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
1630
1775
  private readonly outlet;
1631
1776
  constructor();
1632
1777
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionPanelComponent, never>;
@@ -1689,10 +1834,7 @@ export declare class AlertComponent {
1689
1834
  cssClass: import("@angular/core").InputSignal<string>;
1690
1835
  dismissed: import("@angular/core").OutputEmitterRef<IAlertButton | null>;
1691
1836
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").AlertBaseComponent> | null>;
1692
- componentInputs: import("@angular/core").Signal<{
1693
- options: IAlertOptions;
1694
- cssClass: string;
1695
- }>;
1837
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
1696
1838
  private readonly outlet;
1697
1839
  constructor();
1698
1840
  static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
@@ -1853,16 +1995,7 @@ export declare class AvatarComponent {
1853
1995
  options: import("@angular/core").InputSignal<IAvatarOptions | undefined>;
1854
1996
  cssClass: import("@angular/core").InputSignal<string>;
1855
1997
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").AvatarBaseComponent> | null>;
1856
- componentInputs: import("@angular/core").Signal<{
1857
- imageUrl: string | undefined;
1858
- initials: string | undefined;
1859
- size: SmartAvatarSize;
1860
- shape: SmartAvatarShape;
1861
- notificationPosition: "top" | "bottom" | undefined;
1862
- group: IAvatarItem[] | undefined;
1863
- options: IAvatarOptions | undefined;
1864
- cssClass: string;
1865
- }>;
1998
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
1866
1999
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
1867
2000
  static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "smart-avatar", never, {
1868
2001
  "imageUrl": {
@@ -1993,13 +2126,7 @@ export declare class BadgeComponent {
1993
2126
  cssClass: import("@angular/core").InputSignal<string>;
1994
2127
  removed: import("@angular/core").OutputEmitterRef<void>;
1995
2128
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").BadgeBaseComponent> | null>;
1996
- componentInputs: import("@angular/core").Signal<{
1997
- text: string;
1998
- color: SmartBadgeColor;
1999
- size: "sm" | "md";
2000
- options: IBadgeOptions | undefined;
2001
- cssClass: string;
2002
- }>;
2129
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
2003
2130
  private readonly outlet;
2004
2131
  constructor();
2005
2132
  static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
@@ -2120,10 +2247,7 @@ export declare class BreadcrumbsComponent {
2120
2247
  cssClass: import("@angular/core").InputSignal<string>;
2121
2248
  itemClick: import("@angular/core").OutputEmitterRef<IBreadcrumbsItemClick>;
2122
2249
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").BreadcrumbsBaseComponent> | null>;
2123
- componentInputs: import("@angular/core").Signal<{
2124
- options: IBreadcrumbsOptions | undefined;
2125
- cssClass: string;
2126
- }>;
2250
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
2127
2251
  private readonly outlet;
2128
2252
  constructor();
2129
2253
  static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbsComponent, never>;
@@ -2226,11 +2350,7 @@ export declare class ButtonComponent {
2226
2350
  disabled: import("@angular/core").InputSignal<boolean>;
2227
2351
  cssClass: import("@angular/core").InputSignal<string>;
2228
2352
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").ButtonBaseComponent> | null>;
2229
- componentInputs: import("@angular/core").Signal<{
2230
- options: IButtonOptions;
2231
- disabled: boolean;
2232
- cssClass: string;
2233
- }>;
2353
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
2234
2354
  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */
2235
2355
  private readonly contentTemplate;
2236
2356
  /** The captured content for an implementation registered through the token. */
@@ -2333,12 +2453,7 @@ export declare class ButtonGroupComponent {
2333
2453
  cssClass: import("@angular/core").InputSignal<string>;
2334
2454
  buttonClick: import("@angular/core").OutputEmitterRef<IButtonGroupButtonClick>;
2335
2455
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").ButtonGroupBaseComponent> | null>;
2336
- componentInputs: import("@angular/core").Signal<{
2337
- buttons: IButtonGroupButton[];
2338
- options: IButtonGroupOptions | undefined;
2339
- selected: string | undefined;
2340
- cssClass: string;
2341
- }>;
2456
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
2342
2457
  private readonly outlet;
2343
2458
  constructor();
2344
2459
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
@@ -2479,13 +2594,7 @@ export declare class CalendarComponent {
2479
2594
  referenceDate: import("@angular/core").InputSignal<Date | undefined>;
2480
2595
  events: import("@angular/core").InputSignal<ICalendarEvent[]>;
2481
2596
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").CalendarBaseComponent> | null>;
2482
- componentInputs: import("@angular/core").Signal<{
2483
- options: ICalendarOptions | undefined;
2484
- cssClass: string;
2485
- value: Date | null;
2486
- referenceDate: Date;
2487
- events: ICalendarEvent[];
2488
- }>;
2597
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
2489
2598
  private readonly outlet;
2490
2599
  constructor();
2491
2600
  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
@@ -2583,15 +2692,7 @@ export declare class CardComponent {
2583
2692
  bodyTplRef: import("@angular/core").Signal<TemplateRef<unknown>>;
2584
2693
  footerTplRef: import("@angular/core").Signal<TemplateRef<unknown>>;
2585
2694
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").CardBaseComponent> | null>;
2586
- componentInputs: import("@angular/core").Signal<{
2587
- options: ICardOptions | undefined;
2588
- hasHeader: boolean;
2589
- hasFooter: boolean;
2590
- cssClass: string;
2591
- headerTpl: TemplateRef<unknown>;
2592
- bodyTpl: TemplateRef<unknown>;
2593
- footerTpl: TemplateRef<unknown>;
2594
- }>;
2695
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
2595
2696
  static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
2596
2697
  static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "smart-card", never, {
2597
2698
  "options": {
@@ -2710,10 +2811,7 @@ export declare class CardHeadingComponent {
2710
2811
  options: import("@angular/core").InputSignal<ICardHeadingOptions | undefined>;
2711
2812
  cssClass: import("@angular/core").InputSignal<string>;
2712
2813
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").CardHeadingBaseComponent> | null>;
2713
- componentInputs: import("@angular/core").Signal<{
2714
- options: ICardHeadingOptions | undefined;
2715
- cssClass: string;
2716
- }>;
2814
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
2717
2815
  static ɵfac: i0.ɵɵFactoryDeclaration<CardHeadingComponent, never>;
2718
2816
  static ɵcmp: i0.ɵɵComponentDeclaration<CardHeadingComponent, "smart-card-heading", never, {
2719
2817
  "options": {
@@ -2774,8 +2872,15 @@ export declare abstract class CommandPaletteBaseComponent {
2774
2872
  "runCommand": "runCommand";
2775
2873
  }, never, never, true, never>;
2776
2874
  }
2875
+ /**
2876
+ * Barebones native-HTML command palette: a `<dialog>` with a search input and a
2877
+ * `listbox` of the filtered commands. Escape anywhere in the document closes
2878
+ * an open palette (the listener is inherited by the preset).
2879
+ */
2777
2880
  export declare class CommandPaletteStandardComponent extends CommandPaletteBaseComponent {
2778
2881
  onQueryChange(event: Event): void;
2882
+ /** Closes the palette when it is open; does nothing otherwise. */
2883
+ onEscape(): void;
2779
2884
  static ɵfac: i0.ɵɵFactoryDeclaration<CommandPaletteStandardComponent, never>;
2780
2885
  static ɵcmp: i0.ɵɵComponentDeclaration<CommandPaletteStandardComponent, "smart-command-palette-standard", never, {}, {}, never, never, true, never>;
2781
2886
  }
@@ -2790,13 +2895,7 @@ export declare class CommandPaletteComponent {
2790
2895
  commandId: string;
2791
2896
  }>;
2792
2897
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").CommandPaletteBaseComponent> | null>;
2793
- componentInputs: import("@angular/core").Signal<{
2794
- commands: ICommand[];
2795
- open: boolean;
2796
- query: string;
2797
- options: ICommandPaletteOptions | undefined;
2798
- cssClass: string;
2799
- }>;
2898
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
2800
2899
  private readonly outlet;
2801
2900
  constructor();
2802
2901
  static ɵfac: i0.ɵɵFactoryDeclaration<CommandPaletteComponent, never>;
@@ -2926,10 +3025,7 @@ export declare class ContainerComponent {
2926
3025
  options: import("@angular/core").InputSignal<IContainerOptions | undefined>;
2927
3026
  cssClass: import("@angular/core").InputSignal<string>;
2928
3027
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").ContainerBaseComponent> | null>;
2929
- componentInputs: import("@angular/core").Signal<{
2930
- options: IContainerOptions | undefined;
2931
- cssClass: string;
2932
- }>;
3028
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
2933
3029
  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */
2934
3030
  private readonly contentTemplate;
2935
3031
  /** The captured content for an implementation registered through the token. */
@@ -3369,10 +3465,7 @@ export declare class DescriptionListComponent {
3369
3465
  options: import("@angular/core").InputSignal<IDescriptionListOptions | undefined>;
3370
3466
  cssClass: import("@angular/core").InputSignal<string>;
3371
3467
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").DescriptionListBaseComponent> | null>;
3372
- componentInputs: import("@angular/core").Signal<{
3373
- options: IDescriptionListOptions | undefined;
3374
- cssClass: string;
3375
- }>;
3468
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
3376
3469
  static ɵfac: i0.ɵɵFactoryDeclaration<DescriptionListComponent, never>;
3377
3470
  static ɵcmp: i0.ɵɵComponentDeclaration<DescriptionListComponent, "smart-description-list", never, {
3378
3471
  "options": {
@@ -3416,10 +3509,7 @@ export declare class DetailComponent<T extends IEntity<string> | undefined> {
3416
3509
  readonly type: InputSignal<any>;
3417
3510
  readonly cssClass: InputSignal<string>;
3418
3511
  component: import("@angular/core").Signal<Type<DetailBaseComponent<any>>>;
3419
- componentInputs: import("@angular/core").Signal<{
3420
- options: IDetailOptions<T> | undefined;
3421
- class: string;
3422
- }>;
3512
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
3423
3513
  static ɵfac: i0.ɵɵFactoryDeclaration<DetailComponent<any>, never>;
3424
3514
  static ɵcmp: i0.ɵɵComponentDeclaration<DetailComponent<any>, "smart-detail", never, {
3425
3515
  "options": {
@@ -3828,10 +3918,7 @@ export declare class DetailsComponent<T extends IEntity<string>> {
3828
3918
  options: import("@angular/core").InputSignal<IDetailsOptions<T> | undefined>;
3829
3919
  cssClass: import("@angular/core").InputSignal<string>;
3830
3920
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").DetailsBaseComponent<any>> | null>;
3831
- componentInputs: import("@angular/core").Signal<{
3832
- options: IDetailsOptions<T> | undefined;
3833
- class: string;
3834
- }>;
3921
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
3835
3922
  static ɵfac: i0.ɵɵFactoryDeclaration<DetailsComponent<any>, never>;
3836
3923
  static ɵcmp: i0.ɵɵComponentDeclaration<DetailsComponent<any>, "smart-details", never, {
3837
3924
  "options": {
@@ -3959,14 +4046,7 @@ export declare class DividerComponent {
3959
4046
  cssClass: import("@angular/core").InputSignal<string>;
3960
4047
  actionClick: import("@angular/core").OutputEmitterRef<void>;
3961
4048
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").DividerBaseComponent> | null>;
3962
- componentInputs: import("@angular/core").Signal<{
3963
- label: string | undefined;
3964
- iconName: string | undefined;
3965
- title: string | undefined;
3966
- actionLabel: string | undefined;
3967
- options: IDividerOptions | undefined;
3968
- cssClass: string;
3969
- }>;
4049
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
3970
4050
  private readonly outlet;
3971
4051
  constructor();
3972
4052
  static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponent, never>;
@@ -4092,12 +4172,7 @@ export declare class DrawerComponent {
4092
4172
  cssClass: import("@angular/core").InputSignal<string>;
4093
4173
  closed: import("@angular/core").OutputEmitterRef<void>;
4094
4174
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").DrawerBaseComponent> | null>;
4095
- componentInputs: import("@angular/core").Signal<{
4096
- open: boolean;
4097
- title: string | undefined;
4098
- options: IDrawerOptions | undefined;
4099
- cssClass: string;
4100
- }>;
4175
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
4101
4176
  private readonly outlet;
4102
4177
  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */
4103
4178
  private readonly contentTemplate;
@@ -4228,13 +4303,7 @@ export declare class DropdownComponent {
4228
4303
  itemId: string;
4229
4304
  }>;
4230
4305
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").DropdownBaseComponent> | null>;
4231
- componentInputs: import("@angular/core").Signal<{
4232
- items: IDropdownItem[];
4233
- triggerLabel: string | undefined;
4234
- open: boolean;
4235
- options: IDropdownOptions | undefined;
4236
- cssClass: string;
4237
- }>;
4306
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
4238
4307
  private readonly outlet;
4239
4308
  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */
4240
4309
  private readonly contentTemplate;
@@ -4358,10 +4427,7 @@ export declare class EmptyStateComponent {
4358
4427
  actionClick: import("@angular/core").OutputEmitterRef<IEmptyStateActionClick>;
4359
4428
  itemClick: import("@angular/core").OutputEmitterRef<IEmptyStateItemClick>;
4360
4429
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").EmptyStateBaseComponent> | null>;
4361
- componentInputs: import("@angular/core").Signal<{
4362
- options: IEmptyStateOptions | undefined;
4363
- cssClass: string;
4364
- }>;
4430
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
4365
4431
  private readonly outlet;
4366
4432
  constructor();
4367
4433
  static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
@@ -4510,10 +4576,7 @@ export declare class FeedComponent {
4510
4576
  options: import("@angular/core").InputSignal<IFeedOptions | undefined>;
4511
4577
  cssClass: import("@angular/core").InputSignal<string>;
4512
4578
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").FeedBaseComponent> | null>;
4513
- componentInputs: import("@angular/core").Signal<{
4514
- options: IFeedOptions | undefined;
4515
- cssClass: string;
4516
- }>;
4579
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
4517
4580
  static ɵfac: i0.ɵɵFactoryDeclaration<FeedComponent, never>;
4518
4581
  static ɵcmp: i0.ɵɵComponentDeclaration<FeedComponent, "smart-feed", never, {
4519
4582
  "options": {
@@ -4552,16 +4615,12 @@ export declare class FormComponent<T> implements OnDestroy {
4552
4615
  importAccept: string | undefined;
4553
4616
  options: import("@angular/core").InputSignal<IFormOptions<T>>;
4554
4617
  cssClass: import("@angular/core").InputSignal<string>;
4555
- invokeSubmit: import("@angular/core").OutputEmitterRef<void>;
4618
+ invokeSubmit: import("@angular/core").OutputEmitterRef<T>;
4556
4619
  valueChange: import("@angular/core").OutputEmitterRef<T>;
4557
4620
  valuePartialChange: import("@angular/core").OutputEmitterRef<Partial<T>>;
4558
4621
  validChange: import("@angular/core").OutputEmitterRef<boolean>;
4559
4622
  componentType: import("@angular/core").Signal<Type<import("@smartsoft001/angular").FormBaseComponent<any>> | null>;
4560
- componentInputs: import("@angular/core").Signal<{
4561
- options: IFormOptions<T>;
4562
- form: SmartFormGroup | undefined;
4563
- class: string;
4564
- }>;
4623
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
4565
4624
  private readonly outlet;
4566
4625
  constructor();
4567
4626
  onSetValue(file: File): Promise<void>;
@@ -4654,14 +4713,51 @@ export declare abstract class InputFileBaseComponent<T> extends InputBaseCompone
4654
4713
  static ɵfac: i0.ɵɵFactoryDeclaration<InputFileBaseComponent<any>, never>;
4655
4714
  static ɵdir: i0.ɵɵDirectiveDeclaration<InputFileBaseComponent<any>, never, never, {}, {}, never, never, true, never>;
4656
4715
  }
4716
+ type InputPossibilities = Array<{
4717
+ id: any;
4718
+ text: string;
4719
+ checked: boolean;
4720
+ }> | null;
4721
+ /**
4722
+ * Base of the fields with a list of possibilities (radio, check, enum preset).
4723
+ * `possibilities` holds the list the `MODEL_POSSIBILITIES_PROVIDER` signal
4724
+ * returns (asked again 500 ms after the parent form's value changed), else the
4725
+ * input options' `possibilities`, else the field's own `possibilities`
4726
+ * (`getModelPossibilities()`). A subclass that overrides
4727
+ * `afterSetOptionsHandler()` calls `super.afterSetOptionsHandler()` first.
4728
+ */
4657
4729
  export declare abstract class InputPossibilitiesBaseComponent<T> extends InputBaseComponent<T> {
4658
4730
  private modelPossibilitiesProvider;
4731
+ private readonly possibilitiesSources;
4732
+ private readonly resolvedPossibilities;
4733
+ private providerRefresh;
4734
+ possibilities: WritableSignal<InputPossibilities>;
4735
+ constructor();
4659
4736
  protected afterSetOptionsHandler(): void;
4737
+ /**
4738
+ * Runs whenever the resolved possibilities may have changed: after the
4739
+ * options are set, after the provider was asked again and when a signal
4740
+ * holding them changes. No base functionality.
4741
+ */
4742
+ protected afterPossibilitiesChange(): void;
4743
+ /**
4744
+ * The field's own `possibilities` (from its `@Field()` metadata, read
4745
+ * through the first item of an array model) when they are an object map
4746
+ * `{ text: id }`, e.g. an enum, as a list; `null` otherwise.
4747
+ */
4748
+ protected getModelPossibilities(): InputPossibilities;
4749
+ /**
4750
+ * The raw `possibilities` of the field's `@Field()` metadata, read through
4751
+ * the first item of an array model when the model itself has none.
4752
+ */
4753
+ protected getModelFieldPossibilities(): any;
4660
4754
  protected getPossibilitiesFromProvider(): WritableSignal<{
4661
4755
  id: any;
4662
4756
  text: string;
4663
4757
  checked: boolean;
4664
4758
  }[] | null>;
4759
+ private refreshProviderPossibilities;
4760
+ private watchProviderPossibilities;
4665
4761
  static ɵfac: i0.ɵɵFactoryDeclaration<InputPossibilitiesBaseComponent<any>, never>;
4666
4762
  static ɵdir: i0.ɵɵDirectiveDeclaration<InputPossibilitiesBaseComponent<any>, never, never, {}, {}, never, never, true, never>;
4667
4763
  }
@@ -4777,11 +4873,7 @@ export declare class InputComponent<T> implements OnInit {
4777
4873
  options: import("@angular/core").InputSignal<InputOptions<T> | undefined>;
4778
4874
  cssClass: import("@angular/core").InputSignal<string>;
4779
4875
  component: import("@angular/core").Signal<Type<InputBaseComponent<any>> | null>;
4780
- componentInputs: import("@angular/core").Signal<{
4781
- options: InputOptions<T> | undefined;
4782
- fieldOptions: IFieldOptions | undefined;
4783
- class: string;
4784
- }>;
4876
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
4785
4877
  constructor();
4786
4878
  ngOnInit(): Promise<void>;
4787
4879
  static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent<any>, never>;
@@ -4864,7 +4956,6 @@ declare namespace radio_component_d_exports {
4864
4956
  export declare class InputRadioComponent<T> extends InputPossibilitiesBaseComponent<T> {
4865
4957
  labelClasses: import("@angular/core").Signal<string>;
4866
4958
  groupClasses: import("@angular/core").Signal<string>;
4867
- protected afterSetOptionsHandler(): void;
4868
4959
  static ɵfac: i0.ɵɵFactoryDeclaration<InputRadioComponent<any>, never>;
4869
4960
  static ɵcmp: i0.ɵɵComponentDeclaration<InputRadioComponent<any>, "smart-input-radio", never, {}, {}, never, never, true, never>;
4870
4961
  }
@@ -4908,14 +4999,17 @@ declare namespace check_component_d_exports {
4908
4999
  export { InputCheckComponent };
4909
5000
  }
4910
5001
  export declare class InputCheckComponent<T> extends InputPossibilitiesBaseComponent<T> {
4911
- possibilities: WritableSignal<Array<{
4912
- id: any;
4913
- text: string;
4914
- checked: boolean;
4915
- }> | null>;
5002
+ private controlChanges;
4916
5003
  labelClasses: import("@angular/core").Signal<string>;
4917
5004
  groupClasses: import("@angular/core").Signal<string>;
4918
5005
  protected afterSetOptionsHandler(): void;
5006
+ protected afterPossibilitiesChange(): void;
5007
+ /** The field's own `possibilities` when they are a list; `null` otherwise. */
5008
+ protected getModelPossibilities(): Array<{
5009
+ id: any;
5010
+ text: string;
5011
+ checked: boolean;
5012
+ }> | null;
4919
5013
  private syncCheckedWithControl;
4920
5014
  refresh(item: {
4921
5015
  id: any;
@@ -5082,16 +5176,19 @@ export declare class InputAttachmentPresetComponent<T> extends InputFileBaseComp
5082
5176
  static ɵcmp: i0.ɵɵComponentDeclaration<InputAttachmentPresetComponent<any>, "smart-input-attachment-preset", never, {}, {}, never, never, true, never>;
5083
5177
  }
5084
5178
  export declare class InputCheckPresetComponent<T> extends InputPossibilitiesBaseComponent<T> {
5085
- possibilities: WritableSignal<Array<{
5086
- id: any;
5087
- text: string;
5088
- checked: boolean;
5089
- }> | null>;
5179
+ private controlChanges;
5090
5180
  labelClasses: import("@angular/core").Signal<string>;
5091
5181
  groupClasses: import("@angular/core").Signal<string>;
5092
5182
  checkboxClasses: import("@angular/core").Signal<string>;
5093
5183
  optionLabelClasses: import("@angular/core").Signal<string>;
5094
5184
  protected afterSetOptionsHandler(): void;
5185
+ protected afterPossibilitiesChange(): void;
5186
+ /** The field's own `possibilities` when they are a list; `null` otherwise. */
5187
+ protected getModelPossibilities(): Array<{
5188
+ id: any;
5189
+ text: string;
5190
+ checked: boolean;
5191
+ }> | null;
5095
5192
  private syncCheckedWithControl;
5096
5193
  refresh(item: {
5097
5194
  id: any;
@@ -5200,7 +5297,6 @@ export declare class InputEmailPresetComponent<T> extends InputBaseComponent<T>
5200
5297
  export declare class InputEnumPresetComponent<T> extends InputPossibilitiesBaseComponent<T> {
5201
5298
  labelClasses: import("@angular/core").Signal<string>;
5202
5299
  selectClasses: import("@angular/core").Signal<string>;
5203
- protected afterSetOptionsHandler(): void;
5204
5300
  static ɵfac: i0.ɵɵFactoryDeclaration<InputEnumPresetComponent<any>, never>;
5205
5301
  static ɵcmp: i0.ɵɵComponentDeclaration<InputEnumPresetComponent<any>, "smart-input-enum-preset", never, {}, {}, never, never, true, never>;
5206
5302
  }
@@ -5388,7 +5484,6 @@ export declare class InputRadioPresetComponent<T> extends InputPossibilitiesBase
5388
5484
  groupClasses: import("@angular/core").Signal<string>;
5389
5485
  radioClasses: import("@angular/core").Signal<string>;
5390
5486
  itemLabelClasses: import("@angular/core").Signal<string>;
5391
- protected afterSetOptionsHandler(): void;
5392
5487
  static ɵfac: i0.ɵɵFactoryDeclaration<InputRadioPresetComponent<any>, never>;
5393
5488
  static ɵcmp: i0.ɵɵComponentDeclaration<InputRadioPresetComponent<any>, "smart-input-radio-preset", never, {}, {}, never, never, true, never>;
5394
5489
  }
@@ -5614,10 +5709,7 @@ export declare class GridListComponent {
5614
5709
  options: import("@angular/core").InputSignal<IGridListOptions | undefined>;
5615
5710
  cssClass: import("@angular/core").InputSignal<string>;
5616
5711
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").GridListBaseComponent> | null>;
5617
- componentInputs: import("@angular/core").Signal<{
5618
- options: IGridListOptions | undefined;
5619
- cssClass: string;
5620
- }>;
5712
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
5621
5713
  static ɵfac: i0.ɵɵFactoryDeclaration<GridListComponent, never>;
5622
5714
  static ɵcmp: i0.ɵɵComponentDeclaration<GridListComponent, "smart-grid-list", never, {
5623
5715
  "options": {
@@ -5849,10 +5941,7 @@ export declare class InfoComponent {
5849
5941
  options: import("@angular/core").InputSignal<IInfoOptions>;
5850
5942
  cssClass: import("@angular/core").InputSignal<string>;
5851
5943
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").InfoBaseComponent> | null>;
5852
- componentInputs: import("@angular/core").Signal<{
5853
- options: IInfoOptions;
5854
- cssClass: string;
5855
- }>;
5944
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
5856
5945
  static ɵfac: i0.ɵɵFactoryDeclaration<InfoComponent, never>;
5857
5946
  static ɵcmp: i0.ɵɵComponentDeclaration<InfoComponent, "smart-info", never, {
5858
5947
  "options": {
@@ -5867,6 +5956,36 @@ export declare class InfoComponent {
5867
5956
  };
5868
5957
  }, {}, never, never, true, never>;
5869
5958
  }
5959
+ /** The sort a list shows: the column key and its direction. */
5960
+ export interface IListSortState {
5961
+ key: string;
5962
+ desc: boolean;
5963
+ }
5964
+ /** What a sortable header passes to `provider.getData`. */
5965
+ export interface IListSortFilter {
5966
+ offset: 0;
5967
+ sortBy: string;
5968
+ sortDesc: boolean;
5969
+ }
5970
+ /**
5971
+ * The sort a list starts with: `sort.default` (descending with
5972
+ * `sort.defaultDesc`), `null` without a default.
5973
+ */
5974
+ export declare function getListDefaultSort(sort: IListOptions<unknown>['sort']): IListSortState | null;
5975
+ /**
5976
+ * The sort after a click on the header of `key`: ascending for another
5977
+ * column, the opposite direction for the active one.
5978
+ */
5979
+ export declare function getNextListSort(current: IListSortState | null, key: string): IListSortState;
5980
+ /**
5981
+ * Whether the column `key` can be sorted: every field column, not the
5982
+ * expanded `__array` columns of a `dynamic` field.
5983
+ */
5984
+ export declare function isListSortableKey(key: string): boolean;
5985
+ /** The `aria-sort` of the header of `key`: only the active one has it. */
5986
+ export declare function getListAriaSort(current: IListSortState | null, key: string): 'ascending' | 'descending' | null;
5987
+ /** The arrow of a sortable header: `↑`, `↓`, or `↕` when it is not active. */
5988
+ export declare function getListSortIndicator(current: IListSortState | null, key: string): string;
5870
5989
  export declare abstract class ListBaseComponent<T extends IEntity<string>> {
5871
5990
  static smartType: DynamicComponentType;
5872
5991
  private _fields;
@@ -5876,6 +5995,8 @@ export declare abstract class ListBaseComponent<T extends IEntity<string>> {
5876
5995
  protected alertService: AlertService;
5877
5996
  protected cd: ChangeDetectorRef;
5878
5997
  protected translateService: TranslateService;
5998
+ protected injector: Injector;
5999
+ private loadingNextPage;
5879
6000
  detailsComponent: any;
5880
6001
  selectMode?: 'multi';
5881
6002
  detailsComponentProps: IDetailsOptions<T>;
@@ -5883,6 +6004,12 @@ export declare abstract class ListBaseComponent<T extends IEntity<string>> {
5883
6004
  unselect: () => void;
5884
6005
  itemHandler: ((id: string) => void) | null;
5885
6006
  removeHandler: ((item: T) => void) | null;
6007
+ /**
6008
+ * Opens the details of an item in a modal (`details` set): `DetailsPage`, or
6009
+ * `details.component`, with `detailsComponentProps` as its `value`; `null`
6010
+ * without `details`.
6011
+ */
6012
+ detailsHandler: ((item: T) => void) | null;
5886
6013
  checkRemoveHandler: (item: T) => boolean;
5887
6014
  detailsButtonOptions: IButtonOptions;
5888
6015
  removed: Set<string>;
@@ -5904,11 +6031,43 @@ export declare abstract class ListBaseComponent<T extends IEntity<string>> {
5904
6031
  options: InputSignal<IListInternalOptions<T>>;
5905
6032
  cssClass: InputSignal<string>;
5906
6033
  contentTpl: Signal<ViewContainerRef | undefined>;
6034
+ /** Whether the column headers sort the list (`options.sort` set). */
6035
+ sortable: Signal<boolean>;
6036
+ /**
6037
+ * The sort the headers show: `sort.default` / `sort.defaultDesc` at first,
6038
+ * then the last header clicked. It starts over when `options.sort` changes.
6039
+ */
6040
+ activeSort: import("@angular/core").WritableSignal<IListSortState | null>;
6041
+ /**
6042
+ * `true` with `pagination.mode === PaginationMode.infiniteScroll` and a next
6043
+ * page: the modes render the `#infiniteScrollAnchor` element after the
6044
+ * items, and the next page loads when it scrolls into view.
6045
+ */
6046
+ infiniteScroll: Signal<boolean>;
6047
+ infiniteScrollAnchor: Signal<ElementRef<HTMLElement> | undefined>;
5907
6048
  constructor();
5908
6049
  protected initKeys(data?: Array<T> | null): void;
5909
6050
  protected initList(val: IListInternalOptions<T>): void;
5910
6051
  protected initLoading(): void;
5911
6052
  protected afterInitOptions(): void;
6053
+ /** Whether the header of `key` sorts the list. */
6054
+ isSortable(key: string): boolean;
6055
+ /**
6056
+ * Sorts by `key`: ascending for another column, the opposite direction for
6057
+ * the active one, read from the first page through
6058
+ * `provider.getData({ offset: 0, sortBy, sortDesc })`.
6059
+ */
6060
+ sortBy(key: string): void;
6061
+ /** The `aria-sort` of the header of `key` (only the active one has it). */
6062
+ ariaSort(key: string): 'ascending' | 'descending' | null;
6063
+ /** The arrow shown in the header of `key`. */
6064
+ sortIndicator(key: string): string;
6065
+ /**
6066
+ * Opens the details of `item` in a modal: clears the details provider,
6067
+ * opens the details component (`DetailsPage` by default) through
6068
+ * `ModalService` and asks the provider for the item (`select(id)`).
6069
+ */
6070
+ openDetails(item: T): Promise<void>;
5912
6071
  handlePageChange(nextPage: number): void;
5913
6072
  static ɵfac: i0.ɵɵFactoryDeclaration<ListBaseComponent<any>, never>;
5914
6073
  static ɵdir: i0.ɵɵDirectiveDeclaration<ListBaseComponent<any>, never, never, {
@@ -5958,10 +6117,7 @@ export declare class ListComponent<T extends IEntity<string>> {
5958
6117
  get internalOptions(): IListInternalOptions<T>;
5959
6118
  mode: Signal<ListMode>;
5960
6119
  componentType: Signal<typeof ListDesktopComponent | Type<ListBaseComponent<any>>>;
5961
- componentInputs: Signal<{
5962
- options: IListInternalOptions<T>;
5963
- class: string;
5964
- }>;
6120
+ componentInputs: Signal<Record<string, unknown>>;
5965
6121
  constructor();
5966
6122
  static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent<any>, never>;
5967
6123
  static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent<any>, "smart-list", never, {
@@ -6020,7 +6176,10 @@ export declare class ListMasonryGridComponent<T extends IEntity<string>> extends
6020
6176
  * select, remove/item actions, pagination, image cells) and restyles it with
6021
6177
  * the Preline table look. Styling variations are driven by
6022
6178
  * `options.presentation`: `variant` (default | striped | bordered |
6023
- * borderless), `hoverable`, and `header` (default | muted | none).
6179
+ * borderless), `hoverable`, and `header` (default | muted | none). With
6180
+ * `options.sort` the field headers are sort buttons, with `options.details`
6181
+ * every row gets a details action, and `PaginationMode.infiniteScroll` loads
6182
+ * the next page when the end of the table scrolls into view.
6024
6183
  *
6025
6184
  * Decorator metadata is not inherited, so the full `imports` list is repeated.
6026
6185
  */
@@ -6032,6 +6191,8 @@ export declare class ListDesktopPresetComponent<T extends IEntity<string>> exten
6032
6191
  headerCellClasses: import("@angular/core").Signal<string>;
6033
6192
  rowClasses: import("@angular/core").Signal<string>;
6034
6193
  cellClasses: import("@angular/core").Signal<string>;
6194
+ protected readonly sortButtonClasses: string;
6195
+ protected readonly sortIndicatorClasses: string;
6035
6196
  static ɵfac: i0.ɵɵFactoryDeclaration<ListDesktopPresetComponent<any>, never>;
6036
6197
  static ɵcmp: i0.ɵɵComponentDeclaration<ListDesktopPresetComponent<any>, "smart-list-desktop-preset", never, {}, {}, never, never, true, never>;
6037
6198
  }
@@ -6092,10 +6253,7 @@ export declare class ListContainerComponent {
6092
6253
  options: import("@angular/core").InputSignal<IListContainerOptions | undefined>;
6093
6254
  cssClass: import("@angular/core").InputSignal<string>;
6094
6255
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").ListContainerBaseComponent> | null>;
6095
- componentInputs: import("@angular/core").Signal<{
6096
- options: IListContainerOptions | undefined;
6097
- cssClass: string;
6098
- }>;
6256
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
6099
6257
  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */
6100
6258
  private readonly contentTemplate;
6101
6259
  /** The captured content for an implementation registered through the token. */
@@ -6187,12 +6345,7 @@ export declare class LoaderComponent {
6187
6345
  color: import("@angular/core").InputSignal<SmartColor>;
6188
6346
  cssClass: import("@angular/core").InputSignal<string>;
6189
6347
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").LoaderBaseComponent> | null>;
6190
- componentInputs: import("@angular/core").Signal<{
6191
- show: boolean;
6192
- size: SmartSize;
6193
- color: SmartColor;
6194
- cssClass: string;
6195
- }>;
6348
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
6196
6349
  static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
6197
6350
  static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "smart-loader", never, {
6198
6351
  "show": {
@@ -6258,12 +6411,7 @@ export declare class MediaObjectComponent {
6258
6411
  options: import("@angular/core").InputSignal<IMediaObjectOptions | undefined>;
6259
6412
  cssClass: import("@angular/core").InputSignal<string>;
6260
6413
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").MediaObjectBaseComponent> | null>;
6261
- componentInputs: import("@angular/core").Signal<{
6262
- mediaUrl: string;
6263
- mediaAlt: string;
6264
- options: IMediaObjectOptions | undefined;
6265
- cssClass: string;
6266
- }>;
6414
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
6267
6415
  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */
6268
6416
  private readonly contentTemplate;
6269
6417
  /** The captured content for an implementation registered through the token. */
@@ -6403,6 +6551,7 @@ export declare class ModalPresetComponent extends ModalBaseComponent {
6403
6551
  protected footerClasses: import("@angular/core").Signal<string>;
6404
6552
  protected actionClasses(variant?: string): string;
6405
6553
  protected onBackdropClick(event: MouseEvent): void;
6554
+ constructor();
6406
6555
  protected onEscape(): void;
6407
6556
  static ɵfac: i0.ɵɵFactoryDeclaration<ModalPresetComponent, never>;
6408
6557
  static ɵcmp: i0.ɵɵComponentDeclaration<ModalPresetComponent, "smart-modal-preset", never, {
@@ -6424,14 +6573,7 @@ export declare class ModalComponent {
6424
6573
  actionClick: import("@angular/core").OutputEmitterRef<IModalActionClick>;
6425
6574
  closed: import("@angular/core").OutputEmitterRef<void>;
6426
6575
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").ModalBaseComponent> | null>;
6427
- componentInputs: import("@angular/core").Signal<{
6428
- open: boolean;
6429
- title: string | undefined;
6430
- description: string | undefined;
6431
- actions: IModalAction[];
6432
- options: IModalOptions | undefined;
6433
- cssClass: string;
6434
- }>;
6576
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
6435
6577
  private readonly outlet;
6436
6578
  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */
6437
6579
  private readonly contentTemplate;
@@ -6503,10 +6645,7 @@ export declare class MultiColumnLayoutComponent {
6503
6645
  options: import("@angular/core").InputSignal<IMultiColumnLayoutOptions | undefined>;
6504
6646
  cssClass: import("@angular/core").InputSignal<string>;
6505
6647
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").MultiColumnLayoutBaseComponent> | null>;
6506
- componentInputs: import("@angular/core").Signal<{
6507
- options: IMultiColumnLayoutOptions | undefined;
6508
- cssClass: string;
6509
- }>;
6648
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
6510
6649
  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */
6511
6650
  private readonly contentTemplate;
6512
6651
  /** The captured content for an implementation registered through the token. */
@@ -6646,11 +6785,7 @@ export declare class NavbarComponent {
6646
6785
  mobileMenuOpen: import("@angular/core").ModelSignal<boolean>;
6647
6786
  itemClick: import("@angular/core").OutputEmitterRef<INavbarItemClick>;
6648
6787
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").NavbarBaseComponent> | null>;
6649
- componentInputs: import("@angular/core").Signal<{
6650
- options: INavbarOptions | undefined;
6651
- cssClass: string;
6652
- mobileMenuOpen: boolean;
6653
- }>;
6788
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
6654
6789
  private readonly outlet;
6655
6790
  constructor();
6656
6791
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
@@ -6792,16 +6927,7 @@ export declare class NotificationComponent {
6792
6927
  dismissed: import("@angular/core").OutputEmitterRef<void>;
6793
6928
  actionClick: import("@angular/core").OutputEmitterRef<INotificationActionClick>;
6794
6929
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").NotificationBaseComponent> | null>;
6795
- componentInputs: import("@angular/core").Signal<{
6796
- title: string;
6797
- description: string | undefined;
6798
- iconName: string | undefined;
6799
- avatarUrl: string | undefined;
6800
- actions: INotificationAction[];
6801
- dismissible: boolean;
6802
- options: INotificationOptions | undefined;
6803
- cssClass: string;
6804
- }>;
6930
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
6805
6931
  private readonly outlet;
6806
6932
  constructor();
6807
6933
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
@@ -6958,10 +7084,7 @@ export declare class PageComponent {
6958
7084
  defaultBodyRef: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
6959
7085
  component: import("@angular/core").Signal<Type<PageBaseComponent>>;
6960
7086
  mergedOptions: import("@angular/core").Signal<IPageOptions>;
6961
- componentInputs: import("@angular/core").Signal<{
6962
- options: IPageOptions;
6963
- cssClass: string;
6964
- }>;
7087
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
6965
7088
  static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
6966
7089
  static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "smart-page", never, {
6967
7090
  "options": {
@@ -7005,10 +7128,13 @@ declare function getPageHeadingBarClasses(layout: PageHeadingPresetLayout): stri
7005
7128
  * HyperUI-styled page-heading variation (preset).
7006
7129
  *
7007
7130
  * Unlike the standard page-heading, this preset intentionally renders a
7008
- * NAVBAR-look `<header>`: a logo/brand zone, a responsive desktop nav zone, a
7131
+ * NAVBAR-look `<header>`: a brand zone (the `logoTpl`, followed by the `title`
7132
+ * as an `<h1>` and the `subtitle` under it), a responsive desktop nav zone, a
7009
7133
  * CTA/actions zone (or a user avatar zone for the `user` layout) and a mobile
7010
7134
  * hamburger that toggles a collapsible panel. The collapse is driven entirely
7011
- * by the local `menuOpened` signal — no external JS runtime is required.
7135
+ * by the local `menuOpened` signal — no external JS runtime is required. The
7136
+ * breadcrumbs, banner, meta, stats and filters slots are rendered by the
7137
+ * standard page heading only.
7012
7138
  *
7013
7139
  * Drop-in replacement for `PageHeadingStandardComponent`: register it through
7014
7140
  * `PAGE_HEADING_STANDARD_COMPONENT_TOKEN` to restyle every `<smart-page-heading>`,
@@ -7017,7 +7143,8 @@ declare function getPageHeadingBarClasses(layout: PageHeadingPresetLayout): stri
7017
7143
  export declare class PageHeadingPresetComponent extends PageHeadingStandardComponent {
7018
7144
  cssClass: import("@angular/core").InputSignal<string>;
7019
7145
  protected menuOpened: import("@angular/core").WritableSignal<boolean>;
7020
- protected readonly titleClasses = "smart:text-lg smart:font-semibold smart:text-gray-900 smart:dark:text-white";
7146
+ protected readonly titleClasses = "smart:truncate smart:text-lg smart:font-semibold smart:text-gray-900 smart:dark:text-white";
7147
+ protected readonly subtitleClasses = "smart:truncate smart:text-sm smart:text-gray-500 smart:dark:text-gray-400";
7021
7148
  protected readonly hamburgerClasses = "smart:block smart:md:hidden smart:rounded-sm smart:bg-gray-100 smart:p-2.5 smart:text-gray-600 smart:transition smart:hover:text-gray-600/75 smart:dark:bg-gray-800 smart:dark:text-white smart:dark:hover:text-white/75";
7022
7149
  protected layout: import("@angular/core").Signal<PageHeadingPresetLayout>;
7023
7150
  protected headerClasses: import("@angular/core").Signal<string>;
@@ -7037,10 +7164,7 @@ export declare class PageHeadingComponent {
7037
7164
  options: import("@angular/core").InputSignal<IPageHeadingOptions | undefined>;
7038
7165
  cssClass: import("@angular/core").InputSignal<string>;
7039
7166
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").PageHeadingBaseComponent> | null>;
7040
- componentInputs: import("@angular/core").Signal<{
7041
- options: IPageHeadingOptions | undefined;
7042
- cssClass: string;
7043
- }>;
7167
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
7044
7168
  static ɵfac: i0.ɵɵFactoryDeclaration<PageHeadingComponent, never>;
7045
7169
  static ɵcmp: i0.ɵɵComponentDeclaration<PageHeadingComponent, "smart-page-heading", never, {
7046
7170
  "options": {
@@ -7134,10 +7258,6 @@ export declare class PagingStandardComponent extends PagingBaseComponent {
7134
7258
  * `canGoForward`, `goToPage`, …) — no Preline JS runtime is required. The
7135
7259
  * `variant` input selects the layout: `card-footer` (results summary + nav),
7136
7260
  * `centered` and `simple`.
7137
- *
7138
- * Note: the inherited `cssClass` keeps its `class` alias because
7139
- * `PagingComponent` forwards it via `setInput('class', …)` (not
7140
- * `NgComponentOutlet`).
7141
7261
  */
7142
7262
  export declare class PagingPresetComponent extends PagingBaseComponent {
7143
7263
  protected readonly showResults: import("@angular/core").Signal<boolean>;
@@ -7266,11 +7386,7 @@ export declare class PasswordStrengthComponent {
7266
7386
  cssClass: import("@angular/core").InputSignal<string>;
7267
7387
  passwordStrength: import("@angular/core").OutputEmitterRef<boolean>;
7268
7388
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").PasswordStrengthBaseComponent> | null>;
7269
- componentInputs: import("@angular/core").Signal<{
7270
- passwordToCheck: string;
7271
- showHint: boolean;
7272
- cssClass: string;
7273
- }>;
7389
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
7274
7390
  private readonly outlet;
7275
7391
  constructor();
7276
7392
  static ɵfac: i0.ɵɵFactoryDeclaration<PasswordStrengthComponent, never>;
@@ -7294,6 +7410,27 @@ export declare class PasswordStrengthComponent {
7294
7410
  "passwordStrength": "passwordStrength";
7295
7411
  }, never, never, true, never>;
7296
7412
  }
7413
+ /**
7414
+ * Every preset (Preline-styled) implementation the library ships, one provider
7415
+ * per token: the component tokens, the input and detail field maps, the list
7416
+ * modes and the page variants. `<smart-page>` renders the preset for both the
7417
+ * `'standard'` and the `'preset'` variant.
7418
+ *
7419
+ * Spread it to combine it with providers of your own, or pick single entries
7420
+ * to register only some presets. A provider listed after it wins.
7421
+ */
7422
+ export declare const SMART_PRESET_PROVIDERS: Provider[];
7423
+ /**
7424
+ * Restyles the whole application with the presets: add it to the providers of
7425
+ * `bootstrapApplication` (or of a route or a component, to restyle only that
7426
+ * part). Without it every wrapper renders its standard implementation, which
7427
+ * for most components is deliberately unstyled markup.
7428
+ *
7429
+ * ```ts
7430
+ * bootstrapApplication(AppComponent, { providers: [provideSmartPresets()] });
7431
+ * ```
7432
+ */
7433
+ export declare function provideSmartPresets(): Provider[];
7297
7434
  export interface IProgressStepClick {
7298
7435
  stepId: string;
7299
7436
  }
@@ -7393,10 +7530,7 @@ export declare class ProgressBarsComponent {
7393
7530
  cssClass: import("@angular/core").InputSignal<string>;
7394
7531
  stepClick: import("@angular/core").OutputEmitterRef<IProgressStepClick>;
7395
7532
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").ProgressBarsBaseComponent> | null>;
7396
- componentInputs: import("@angular/core").Signal<{
7397
- options: IProgressBarsOptions | undefined;
7398
- cssClass: string;
7399
- }>;
7533
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
7400
7534
  private readonly outlet;
7401
7535
  constructor();
7402
7536
  static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarsComponent, never>;
@@ -7475,12 +7609,7 @@ export declare class SearchbarComponent {
7475
7609
  text: import("@angular/core").ModelSignal<string>;
7476
7610
  cssClass: import("@angular/core").InputSignal<string>;
7477
7611
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").SearchbarBaseComponent> | null>;
7478
- componentInputs: import("@angular/core").Signal<{
7479
- options: ISearchbarOptions | undefined;
7480
- show: boolean;
7481
- text: string;
7482
- cssClass: string;
7483
- }>;
7612
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
7484
7613
  private readonly outlet;
7485
7614
  constructor();
7486
7615
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchbarComponent, never>;
@@ -7595,10 +7724,7 @@ export declare class SectionHeadingComponent {
7595
7724
  options: import("@angular/core").InputSignal<ISectionHeadingOptions | undefined>;
7596
7725
  cssClass: import("@angular/core").InputSignal<string>;
7597
7726
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").SectionHeadingBaseComponent> | null>;
7598
- componentInputs: import("@angular/core").Signal<{
7599
- options: ISectionHeadingOptions | undefined;
7600
- cssClass: string;
7601
- }>;
7727
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
7602
7728
  static ɵfac: i0.ɵɵFactoryDeclaration<SectionHeadingComponent, never>;
7603
7729
  static ɵcmp: i0.ɵɵComponentDeclaration<SectionHeadingComponent, "smart-section-heading", never, {
7604
7730
  "options": {
@@ -7660,12 +7786,7 @@ export declare class SelectMenuComponent {
7660
7786
  options: import("@angular/core").InputSignal<ISelectMenuOptions | undefined>;
7661
7787
  cssClass: import("@angular/core").InputSignal<string>;
7662
7788
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").SelectMenuBaseComponent> | null>;
7663
- componentInputs: import("@angular/core").Signal<{
7664
- value: SelectMenuValue;
7665
- disabled: boolean;
7666
- options: ISelectMenuOptions | undefined;
7667
- cssClass: string;
7668
- }>;
7789
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
7669
7790
  private readonly outlet;
7670
7791
  constructor();
7671
7792
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectMenuComponent, never>;
@@ -7757,10 +7878,7 @@ export declare class SidebarLayoutComponent {
7757
7878
  options: import("@angular/core").InputSignal<ISidebarLayoutOptions | undefined>;
7758
7879
  cssClass: import("@angular/core").InputSignal<string>;
7759
7880
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").SidebarLayoutBaseComponent> | null>;
7760
- componentInputs: import("@angular/core").Signal<{
7761
- options: ISidebarLayoutOptions | undefined;
7762
- cssClass: string;
7763
- }>;
7881
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
7764
7882
  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */
7765
7883
  private readonly contentTemplate;
7766
7884
  /** The captured content for an implementation registered through the token. */
@@ -7828,10 +7946,7 @@ export declare class SidebarNavigationComponent {
7828
7946
  itemClick: import("@angular/core").OutputEmitterRef<ISidebarNavItemClick>;
7829
7947
  itemToggle: import("@angular/core").OutputEmitterRef<ISidebarNavItemToggle>;
7830
7948
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").SidebarNavigationBaseComponent> | null>;
7831
- componentInputs: import("@angular/core").Signal<{
7832
- options: ISidebarNavOptions | undefined;
7833
- cssClass: string;
7834
- }>;
7949
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
7835
7950
  private readonly outlet;
7836
7951
  constructor();
7837
7952
  static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavigationComponent, never>;
@@ -7941,12 +8056,7 @@ export declare class SignInFormComponent {
7941
8056
  submit: import("@angular/core").OutputEmitterRef<ISignInFormSubmit>;
7942
8057
  socialClick: import("@angular/core").OutputEmitterRef<ISignInFormSocialClick>;
7943
8058
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").SignInFormBaseComponent> | null>;
7944
- componentInputs: import("@angular/core").Signal<{
7945
- mode: SmartSignInFormMode;
7946
- disabled: boolean;
7947
- options: ISignInFormOptions | undefined;
7948
- cssClass: string;
7949
- }>;
8059
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
7950
8060
  private readonly outlet;
7951
8061
  constructor();
7952
8062
  static ɵfac: i0.ɵɵFactoryDeclaration<SignInFormComponent, never>;
@@ -8042,10 +8152,7 @@ export declare class StackedLayoutComponent {
8042
8152
  options: import("@angular/core").InputSignal<IStackedLayoutOptions | undefined>;
8043
8153
  cssClass: import("@angular/core").InputSignal<string>;
8044
8154
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").StackedLayoutBaseComponent> | null>;
8045
- componentInputs: import("@angular/core").Signal<{
8046
- options: IStackedLayoutOptions | undefined;
8047
- cssClass: string;
8048
- }>;
8155
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
8049
8156
  /** The wrapper's `<ng-content>`, captured once for whichever branch renders. */
8050
8157
  private readonly contentTemplate;
8051
8158
  /** The captured content for an implementation registered through the token. */
@@ -8140,10 +8247,7 @@ export declare class StackedListComponent {
8140
8247
  options: import("@angular/core").InputSignal<IStackedListOptions | undefined>;
8141
8248
  cssClass: import("@angular/core").InputSignal<string>;
8142
8249
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").StackedListBaseComponent> | null>;
8143
- componentInputs: import("@angular/core").Signal<{
8144
- options: IStackedListOptions | undefined;
8145
- cssClass: string;
8146
- }>;
8250
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
8147
8251
  static ɵfac: i0.ɵɵFactoryDeclaration<StackedListComponent, never>;
8148
8252
  static ɵcmp: i0.ɵɵComponentDeclaration<StackedListComponent, "smart-stacked-list", never, {
8149
8253
  "options": {
@@ -8231,10 +8335,7 @@ export declare class StatsComponent {
8231
8335
  options: import("@angular/core").InputSignal<IStatsOptions | undefined>;
8232
8336
  cssClass: import("@angular/core").InputSignal<string>;
8233
8337
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").StatsBaseComponent> | null>;
8234
- componentInputs: import("@angular/core").Signal<{
8235
- options: IStatsOptions | undefined;
8236
- cssClass: string;
8237
- }>;
8338
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
8238
8339
  static ɵfac: i0.ɵɵFactoryDeclaration<StatsComponent, never>;
8239
8340
  static ɵcmp: i0.ɵɵComponentDeclaration<StatsComponent, "smart-stats", never, {
8240
8341
  "options": {
@@ -8341,10 +8442,7 @@ export declare class TableComponent {
8341
8442
  options: import("@angular/core").InputSignal<ITableOptions | undefined>;
8342
8443
  cssClass: import("@angular/core").InputSignal<string>;
8343
8444
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").TableBaseComponent> | null>;
8344
- componentInputs: import("@angular/core").Signal<{
8345
- options: ITableOptions | undefined;
8346
- cssClass: string;
8347
- }>;
8445
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
8348
8446
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
8349
8447
  static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "smart-table", never, {
8350
8448
  "options": {
@@ -8443,11 +8541,7 @@ export declare class TabsComponent {
8443
8541
  cssClass: import("@angular/core").InputSignal<string>;
8444
8542
  tabChange: import("@angular/core").OutputEmitterRef<ITabChange>;
8445
8543
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").TabsBaseComponent> | null>;
8446
- componentInputs: import("@angular/core").Signal<{
8447
- options: ITabsOptions | undefined;
8448
- selectedId: string | null;
8449
- cssClass: string;
8450
- }>;
8544
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
8451
8545
  private readonly outlet;
8452
8546
  constructor();
8453
8547
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
@@ -8585,13 +8679,7 @@ export declare class TextareaComponent {
8585
8679
  cssClass: import("@angular/core").InputSignal<string>;
8586
8680
  actionClick: import("@angular/core").OutputEmitterRef<ITextareaActionClick>;
8587
8681
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").TextareaBaseComponent> | null>;
8588
- componentInputs: import("@angular/core").Signal<{
8589
- value: string;
8590
- placeholder: string;
8591
- disabled: boolean;
8592
- options: ITextareaOptions | undefined;
8593
- cssClass: string;
8594
- }>;
8682
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
8595
8683
  private readonly outlet;
8596
8684
  constructor();
8597
8685
  static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
@@ -8690,10 +8778,16 @@ export declare class ToggleStandardComponent extends ToggleBaseComponent {
8690
8778
  * Renders the Preline default switch: a hidden, accessible checkbox drives the
8691
8779
  * track / thumb visuals via `peer-*` states, while the `value` model holds the
8692
8780
  * checked state. Optional `options.label` / `options.description` render beside
8693
- * the switch on the side given by `options.labelPosition` (defaults to right).
8781
+ * the switch on the side given by `options.labelPosition` (defaults to right):
8782
+ * the label is a `<label for>` of the checkbox (its accessible name) and the
8783
+ * description is referenced by the checkbox's `aria-describedby`.
8784
+ * `options.ariaLabel` names the checkbox only when there is no `label`.
8694
8785
  */
8695
8786
  export declare class TogglePresetComponent extends ToggleBaseComponent {
8696
8787
  cssClass: import("@angular/core").InputSignal<string>;
8788
+ private readonly instanceId;
8789
+ protected readonly inputId: string;
8790
+ protected readonly descriptionId: string;
8697
8791
  protected readonly inputClasses = "smart:peer smart:sr-only";
8698
8792
  protected label: import("@angular/core").Signal<string>;
8699
8793
  protected description: import("@angular/core").Signal<string>;
@@ -8724,12 +8818,7 @@ export declare class ToggleComponent {
8724
8818
  options: import("@angular/core").InputSignal<IToggleOptions | undefined>;
8725
8819
  cssClass: import("@angular/core").InputSignal<string>;
8726
8820
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").ToggleBaseComponent> | null>;
8727
- componentInputs: import("@angular/core").Signal<{
8728
- value: boolean;
8729
- disabled: boolean;
8730
- options: IToggleOptions | undefined;
8731
- cssClass: string;
8732
- }>;
8821
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
8733
8822
  private readonly outlet;
8734
8823
  constructor();
8735
8824
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, never>;
@@ -8784,6 +8873,8 @@ export declare abstract class VerticalNavigationBaseComponent {
8784
8873
  }, never, never, true, never>;
8785
8874
  }
8786
8875
  export declare class VerticalNavigationStandardComponent extends VerticalNavigationBaseComponent {
8876
+ private readonly idPrefix;
8877
+ protected groupTitleId(groupIndex: number): string;
8787
8878
  protected onItemClick(itemId: string): void;
8788
8879
  protected get groups(): import("@smartsoft001/angular").IVerticalNavGroup[];
8789
8880
  static ɵfac: i0.ɵɵFactoryDeclaration<VerticalNavigationStandardComponent, never>;
@@ -8798,7 +8889,9 @@ export declare class VerticalNavigationStandardComponent extends VerticalNavigat
8798
8889
  * selector directly.
8799
8890
  *
8800
8891
  * Renders the Preline vertical-tabs look: each item is a tab with a trailing
8801
- * border, the `current` item gaining the primary border + text accent.
8892
+ * border, the `current` item gaining the primary border + text accent. One
8893
+ * `<nav>` landmark (`options.ariaLabel`, `'Sidebar'` by default) holds every
8894
+ * group; a group is a list labelled by its title.
8802
8895
  */
8803
8896
  export declare class VerticalNavigationPresetComponent extends VerticalNavigationBaseComponent {
8804
8897
  cssClass: import("@angular/core").InputSignal<string>;
@@ -8809,6 +8902,9 @@ export declare class VerticalNavigationPresetComponent extends VerticalNavigatio
8809
8902
  protected iconClasses: string;
8810
8903
  protected initialClasses: string;
8811
8904
  protected badgeClasses: string;
8905
+ protected listItemClasses: string;
8906
+ private readonly idPrefix;
8907
+ protected groupTitleId(groupIndex: number): string;
8812
8908
  protected itemClasses(current: boolean | undefined): string;
8813
8909
  protected onItemClick(itemId: string): void;
8814
8910
  static ɵfac: i0.ɵɵFactoryDeclaration<VerticalNavigationPresetComponent, never>;
@@ -8826,10 +8922,7 @@ export declare class VerticalNavigationComponent {
8826
8922
  cssClass: import("@angular/core").InputSignal<string>;
8827
8923
  itemClick: import("@angular/core").OutputEmitterRef<IVerticalNavItemClick>;
8828
8924
  componentType: import("@angular/core").Signal<import("@angular/core").Type<import("@smartsoft001/angular").VerticalNavigationBaseComponent> | null>;
8829
- componentInputs: import("@angular/core").Signal<{
8830
- options: IVerticalNavOptions | undefined;
8831
- cssClass: string;
8832
- }>;
8925
+ componentInputs: import("@angular/core").Signal<Record<string, unknown>>;
8833
8926
  private readonly outlet;
8834
8927
  constructor();
8835
8928
  static ɵfac: i0.ɵɵFactoryDeclaration<VerticalNavigationComponent, never>;
@@ -8877,18 +8970,36 @@ export declare class SharedFactoriesModule {
8877
8970
  declare namespace details_page_d_exports {
8878
8971
  export { DetailsPage };
8879
8972
  }
8973
+ /**
8974
+ * The details of `value` full width, with the application style
8975
+ * (`StyleService`) applied to its element. Open it in a modal with
8976
+ * `[smartDetails]="{ component: DetailsPage, params }"` (or
8977
+ * `ModalService.show({ component: DetailsPage, props: { value } })`), which
8978
+ * passes `params` as `value`.
8979
+ *
8980
+ * `pageOptions()` gives the title and buttons for a page layout around it: a
8981
+ * `trash` button for `removeHandler` and an `arrow-forward-outline` button for
8982
+ * `itemHandler`, both closing the modal through `ModalService.dismiss()`. The
8983
+ * page layout itself moved out of the library (FRA-121), so the page does not
8984
+ * render them.
8985
+ */
8880
8986
  export declare class DetailsPage<T extends IEntity<string>> implements OnInit {
8881
8987
  private modalService;
8882
8988
  private styleService;
8883
8989
  private elementRef;
8884
- pageOptions: WritableSignal<IPageOptions>;
8885
- detailsOptions: IDetailsOptions<T>;
8886
- constructor();
8990
+ /** The details to show; `[smartDetails]` passes its `params` here. */
8991
+ value: import("@angular/core").InputSignal<IDetailsOptions<T> | undefined>;
8992
+ pageOptions: Signal<IPageOptions>;
8887
8993
  ngOnInit(): void;
8888
- private initTitle;
8889
- private initButtons;
8994
+ private getButtons;
8890
8995
  static ɵfac: i0.ɵɵFactoryDeclaration<DetailsPage<any>, never>;
8891
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailsPage<any>, "ng-component", never, {}, {}, never, never, true, never>;
8996
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsPage<any>, "ng-component", never, {
8997
+ "value": {
8998
+ "alias": "value";
8999
+ "required": false;
9000
+ "isSignal": true;
9001
+ };
9002
+ }, {}, never, never, true, never>;
8892
9003
  }
8893
9004
  declare namespace components_module_d_exports {
8894
9005
  export { ACCORDION_COMPONENTS, BUTTON_COMPONENTS, CARD_COMPONENTS, COMPONENTS, DATE_EDIT_COMPONENTS, DATE_RANGE_COMPONENTS, DETAILS_COMPONENTS, DETAIL_COMPONENTS, DYNAMIC_COMPONENTS, EXPORT_COMPONENTS, FORM_COMPONENTS, IMPORTS, IMPORT_COMPONENTS, INFO_COMPONENTS, INPUT_COMPONENTS, LIST_COMPONENTS, LOADER_COMPONENTS, PAGE_COMPONENTS, PAGING_COMPONENTS, PASSWORD_STRENGTH_COMPONENTS, SEARCHBAR_COMPONENTS, SharedComponentsModule };
@@ -8901,7 +9012,7 @@ declare const EXPORT_COMPONENTS: (typeof ExportComponent)[];
8901
9012
  declare const IMPORT_COMPONENTS: (typeof ImportComponent)[];
8902
9013
  declare const DETAIL_COMPONENTS: (typeof DetailAddressComponent | typeof DetailArrayComponent | typeof DetailAttachmentComponent | typeof DetailColorComponent | typeof DetailDateRangeComponent | typeof DetailEmailComponent | typeof DetailEnumComponent | typeof DetailFlagComponent | typeof DetailImageComponent | typeof DetailLogoComponent | typeof DetailObjectComponent | typeof DetailPdfComponent | typeof DetailPhoneNumberPlComponent | typeof DetailTextComponent | typeof DetailVideoComponent | typeof DetailComponent)[];
8903
9014
  declare const FORM_COMPONENTS: (typeof FormStandardComponent | typeof FormComponent)[];
8904
- declare const INPUT_COMPONENTS: (typeof InputAddressComponent | typeof InputColorComponent | typeof InputCurrencyComponent | typeof InputEnumComponent | typeof InputErrorComponent | typeof InputFileComponent | typeof InputArrayComponent | typeof InputAttachmentComponent | typeof InputCheckComponent | typeof InputDateRangeComponent | typeof InputIntsComponent | typeof InputLogoComponent | typeof InputLongTextComponent | typeof InputObjectComponent | typeof InputRadioComponent | typeof InputStringsComponent | typeof InputComponent)[];
9015
+ declare const INPUT_COMPONENTS: (typeof InputAddressComponent | typeof InputColorComponent | typeof InputCurrencyComponent | typeof InputEnumComponent | typeof InputErrorComponent | typeof InputFileComponent | typeof InputArrayComponent | typeof InputAttachmentComponent | typeof InputDateRangeComponent | typeof InputIntsComponent | typeof InputLogoComponent | typeof InputLongTextComponent | typeof InputObjectComponent | typeof InputRadioComponent | typeof InputStringsComponent | typeof InputComponent)[];
8905
9016
  declare const LIST_COMPONENTS: (typeof ListDesktopComponent | typeof ListMasonryGridComponent | typeof ListMobileComponent | typeof ListComponent)[];
8906
9017
  declare const LOADER_COMPONENTS: (typeof LoaderStandardComponent | typeof LoaderComponent)[];
8907
9018
  declare const PAGE_COMPONENTS: (typeof PageStandardComponent | typeof PageComponent)[];
@@ -8948,4 +9059,5 @@ export declare function ReduxSelect<TState = any, TValue = any>(selector: Select
8948
9059
  export declare function ReduxSelect<TState = any, TValue = any>(selectorOrFeature?: string, ...paths: string[]): (target: any, name: string) => void;
8949
9060
  export declare function fastPropGetter(paths: string[]): (x: any) => any;
8950
9061
  export declare const SmartNgModule: typeof SmartNgModuleDecorator;
8951
- export declare function SmartNgModuleDecorator(options: NgModule): (constructor: any) => any;
9062
+ export declare function SmartNgModuleDecorator(options: NgModule): (constructor: any) => any;
9063
+ export type { IconPresetSize, IconPresetVariant };