@smartsoft001/angular 2.154.0 → 2.155.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.
package/README.md CHANGED
@@ -1068,6 +1068,75 @@ providers: [
1068
1068
  ];
1069
1069
  ```
1070
1070
 
1071
+ ### AlertBaseComponent
1072
+
1073
+ Abstract base class for confirm dialogs. Exposes a required `options` input (`IAlertOptions`), `cssClass` (alias `class`), a `dismissed` output (`IAlertButton | null`), the computed `buttons()` / `cancelButton()`, and the behaviour a template binds: `invoke(button)` runs the button handler and emits `dismissed` (a handler returning `false` keeps the dialog open), `cancel()` emits the cancel button or `null`, `onEscape()`, `onBackdropClick(event)` (honours `options.backdropDismiss`), `trapFocus(event, container)` and `buttonClasses(button)`.
1074
+
1075
+ **Inputs:** `options` (`IAlertOptions`), `class` (`string`)
1076
+ **Outputs:** `dismissed` (`IAlertButton | null`)
1077
+
1078
+ ### Alert Component
1079
+
1080
+ The `<smart-alert>` component renders a confirm dialog (`role="alertdialog"`, `aria-modal`, labelled by its header) with a header, optional sub-header and message, and one button per `options.buttons`. It is what `AlertService.show()` opens. It is a wrapper that delegates to `AlertStandardComponent` by default and supports an InjectionToken (`ALERT_STANDARD_COMPONENT_TOKEN`) to replace the default rendering with a custom implementation.
1081
+
1082
+ **Wrapper:** `AlertComponent` (selector: `smart-alert`)
1083
+ **Default:** `AlertStandardComponent` (selector: `smart-alert-standard`)
1084
+ **Token:** `ALERT_STANDARD_COMPONENT_TOKEN` — provide a `Type<AlertBaseComponent>` to override the default.
1085
+
1086
+ #### Usage
1087
+
1088
+ ```typescript
1089
+ // From code, through AlertService (provided by SharedServicesModule).
1090
+ // The promise resolves with the chosen button after its handler ran.
1091
+ const button = await this.alertService.show({
1092
+ header: 'Delete this record?',
1093
+ message: 'This cannot be undone.',
1094
+ backdropDismiss: false,
1095
+ buttons: [
1096
+ { text: 'Cancel', role: 'cancel' },
1097
+ { text: 'Delete', role: 'destructive', handler: () => this.remove(id) },
1098
+ ],
1099
+ });
1100
+ ```
1101
+
1102
+ ```html
1103
+ <!-- Inline, when the alert belongs to a template -->
1104
+ <smart-alert [options]="options" (dismissed)="onDismissed($event)" />
1105
+ ```
1106
+
1107
+ `AlertService.show()` needs no host element: it creates the component with `createComponent`, attaches the view to `ApplicationRef`, appends it to `document.body`, moves focus into the dialog and returns focus to the trigger when the dialog closes. `Escape` cancels; a click on the backdrop cancels unless `backdropDismiss` is `false`.
1108
+
1109
+ #### IAlertOptions
1110
+
1111
+ | Property | Type | Default | Description |
1112
+ | ----------------- | ---------------- | ------- | ------------------------------------------------- |
1113
+ | `header` | `string` | - | Dialog heading (accessible name) |
1114
+ | `subHeader` | `string` | - | Secondary heading |
1115
+ | `message` | `string` | - | Body text (accessible description) |
1116
+ | `backdropDismiss` | `boolean` | `true` | Whether a click on the backdrop cancels the alert |
1117
+ | `buttons` | `IAlertButton[]` | `[]` | Buttons rendered in order |
1118
+
1119
+ #### IAlertButton
1120
+
1121
+ | Property | Type | Default | Description |
1122
+ | ---------- | ----------------------------------------------------------------- | ------- | ------------------------------------------------------------- |
1123
+ | `text` | `string` | - | Visible label |
1124
+ | `role` | `'cancel' \| 'destructive' \| string` | - | `cancel` closes without a handler; `destructive` is red |
1125
+ | `cssClass` | `string \| string[]` | - | Extra classes appended to the button |
1126
+ | `handler` | `(value?: unknown) => boolean \| void \| Record<string, unknown>` | - | Runs before the dialog closes; return `false` to keep it open |
1127
+
1128
+ #### Overriding with Custom Implementation
1129
+
1130
+ ```typescript
1131
+ import { ALERT_STANDARD_COMPONENT_TOKEN } from '@smartsoft001/angular';
1132
+
1133
+ providers: [
1134
+ { provide: ALERT_STANDARD_COMPONENT_TOKEN, useValue: MyAlertComponent },
1135
+ ];
1136
+ ```
1137
+
1138
+ > Register the token at the application root (or in the module that provides `AlertService`) so `AlertService.show()` renders the custom implementation too; a token provided deeper in the tree only affects `<smart-alert>` instances there.
1139
+
1071
1140
  ### ModalBaseComponent
1072
1141
 
1073
1142
  Abstract base class for modal/dialog components. Exposes two-way `open` (`ModelSignal<boolean>`), optional `title` / `description`, `actions` (`InputSignal<IModalAction[]>`), optional `IModalOptions`, `cssClass` (alias `class`), `actionClick` and `closed` outputs, plus `invokeAction(actionId)` (emits `actionClick`) and `close()` (sets `open` to `false` and emits `closed`).
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, Injectable, InjectionToken, ApplicationRef, NgModuleRef, PLATFORM_ID, Inject, signal, NgModule, ViewContainerRef, Directive, input, output, HostListener, Pipe, Type, model, computed, ChangeDetectionStrategy, ViewEncapsulation, Component, ChangeDetectorRef, ElementRef, Injector, viewChild, effect, runInInjectionContext, forwardRef, linkedSignal, untracked, Renderer2, DestroyRef } from '@angular/core';
2
+ import { inject, Injectable, InjectionToken, ApplicationRef, NgModuleRef, PLATFORM_ID, Inject, signal, input, output, computed, Directive, ElementRef, ChangeDetectionStrategy, ViewEncapsulation, Component, EnvironmentInjector, createComponent, NgModule, ViewContainerRef, HostListener, Pipe, Type, model, ChangeDetectorRef, Injector, viewChild, effect, runInInjectionContext, forwardRef, linkedSignal, untracked, Renderer2, DestroyRef } from '@angular/core';
3
3
  import { Title, DomSanitizer } from '@angular/platform-browser';
4
4
  import { Router, NavigationEnd, NavigationStart, NavigationCancel, NavigationError, RouterModule } from '@angular/router';
5
5
  import * as i1 from '@ngx-translate/core';
@@ -12,12 +12,12 @@ import { HttpClient, HttpEventType, HttpErrorResponse, HttpClientModule } from '
12
12
  import { map, filter, takeUntil, distinctUntilChanged, tap, delay, debounceTime, first, catchError } from 'rxjs/operators';
13
13
  import * as i1$1 from '@angular/forms';
14
14
  import { UntypedFormGroup, FormsModule, NG_VALUE_ACCESSOR, UntypedFormBuilder, Validators, ReactiveFormsModule, UntypedFormControl } from '@angular/forms';
15
+ import { NgComponentOutlet, DOCUMENT, NgTemplateOutlet, isPlatformBrowser, NgClass, NgOptimizedImage, Location, AsyncPipe, CommonModule } from '@angular/common';
15
16
  import * as i2 from 'ngx-cookie';
16
17
  import { CookieModule } from 'ngx-cookie';
17
18
  import { __decorate, __metadata } from 'tslib';
18
19
  import { Memoize } from 'lodash-decorators';
19
20
  import { getModelFieldOptions, FieldType, getModelFieldsWithOptions, SYMBOL_MODEL, SYMBOL_FIELD, getModelOptions } from '@smartsoft001/models';
20
- import { NgTemplateOutlet, NgComponentOutlet, DOCUMENT, isPlatformBrowser, NgClass, NgOptimizedImage, Location, AsyncPipe, CommonModule } from '@angular/common';
21
21
  import { toSignal, toObservable, outputToObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';
22
22
  import { DynamicIoDirective, ComponentOutletInjectorDirective, DynamicComponent, DynamicModule } from 'ng-dynamic-component';
23
23
  import 'reflect-metadata';
@@ -1611,11 +1611,234 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
1611
1611
  type: Injectable
1612
1612
  }] });
1613
1613
 
1614
+ let nextAlertId = 0;
1615
+ class AlertBaseComponent {
1616
+ static smartType = 'alert';
1617
+ instanceId = `smart-alert-${nextAlertId++}`;
1618
+ headerId = `${this.instanceId}-header`;
1619
+ messageId = `${this.instanceId}-message`;
1620
+ options = input.required(/* @ts-ignore */
1621
+ ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
1622
+ cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : /* istanbul ignore next */ {}), alias: 'class' });
1623
+ dismissed = output();
1624
+ buttons = computed(() => this.options().buttons ?? [], /* @ts-ignore */
1625
+ ...(ngDevMode ? [{ debugName: "buttons" }] : /* istanbul ignore next */ []));
1626
+ cancelButton = computed(() => this.buttons().find((button) => button.role === 'cancel') ?? null, /* @ts-ignore */
1627
+ ...(ngDevMode ? [{ debugName: "cancelButton" }] : /* istanbul ignore next */ []));
1628
+ invoke(button) {
1629
+ const result = button.handler?.();
1630
+ if (result === false && button.role !== 'cancel')
1631
+ return;
1632
+ this.dismissed.emit(button);
1633
+ }
1634
+ cancel() {
1635
+ this.dismissed.emit(this.cancelButton());
1636
+ }
1637
+ onEscape() {
1638
+ this.cancel();
1639
+ }
1640
+ onBackdropClick(event) {
1641
+ if (event.target !== event.currentTarget)
1642
+ return;
1643
+ if (this.options().backdropDismiss === false)
1644
+ return;
1645
+ this.cancel();
1646
+ }
1647
+ trapFocus(event, container) {
1648
+ if (event.key !== 'Tab')
1649
+ return;
1650
+ const buttons = Array.from(container.querySelectorAll('button:not([disabled])'));
1651
+ if (!buttons.length)
1652
+ return;
1653
+ const first = buttons[0];
1654
+ const last = buttons[buttons.length - 1];
1655
+ const active = container.ownerDocument.activeElement;
1656
+ if (event.shiftKey && active === first) {
1657
+ event.preventDefault();
1658
+ last.focus();
1659
+ }
1660
+ else if (!event.shiftKey && active === last) {
1661
+ event.preventDefault();
1662
+ first.focus();
1663
+ }
1664
+ }
1665
+ buttonClasses(button) {
1666
+ const base = 'smart:rounded-md smart:px-3 smart:py-2 smart:text-sm smart:font-semibold smart:shadow-sm smart:focus:outline-none smart:focus-visible:outline-2 smart:focus-visible:outline-offset-2';
1667
+ const role = button.role === 'cancel'
1668
+ ? 'smart:bg-white smart:text-gray-900 smart:border smart:border-gray-300 smart:hover:bg-gray-50 smart:dark:bg-gray-700 smart:dark:text-white smart:dark:border-gray-600 smart:dark:hover:bg-gray-600'
1669
+ : button.role === 'destructive'
1670
+ ? 'smart:bg-red-600 smart:text-white smart:hover:bg-red-500 smart:dark:bg-red-500 smart:dark:hover:bg-red-400'
1671
+ : 'smart:bg-blue-600 smart:text-white smart:hover:bg-blue-500 smart:dark:bg-blue-500 smart:dark:hover:bg-blue-400';
1672
+ const custom = Array.isArray(button.cssClass)
1673
+ ? button.cssClass.join(' ')
1674
+ : (button.cssClass ?? '');
1675
+ return `${base} ${role}${custom ? ` ${custom}` : ''}`;
1676
+ }
1677
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AlertBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1678
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: AlertBaseComponent, isStandalone: true, inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dismissed: "dismissed" }, ngImport: i0 });
1679
+ }
1680
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AlertBaseComponent, decorators: [{
1681
+ type: Directive
1682
+ }], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], dismissed: [{ type: i0.Output, args: ["dismissed"] }] } });
1683
+
1684
+ class AlertStandardComponent extends AlertBaseComponent {
1685
+ elementRef = inject(ElementRef);
1686
+ ngAfterViewInit() {
1687
+ const panel = this.elementRef.nativeElement?.querySelector?.('[role="alertdialog"]') ??
1688
+ null;
1689
+ if (!panel)
1690
+ return;
1691
+ const target = panel.querySelector('button') ?? panel;
1692
+ target.focus?.();
1693
+ }
1694
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AlertStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1695
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: AlertStandardComponent, isStandalone: true, selector: "smart-alert-standard", host: { listeners: { "document:keydown.escape": "onEscape()" } }, usesInheritance: true, ngImport: i0, template: "<div\n class=\"smart:fixed smart:inset-0 smart:z-[90] smart:flex smart:items-center smart:justify-center smart:p-4 smart:bg-gray-900/50 smart:dark:bg-gray-900/80\"\n role=\"presentation\"\n (click)=\"onBackdropClick($event)\"\n>\n <div\n #panel\n role=\"alertdialog\"\n aria-modal=\"true\"\n tabindex=\"-1\"\n [attr.aria-labelledby]=\"options().header ? headerId : null\"\n [attr.aria-describedby]=\"options().message ? messageId : null\"\n [class]=\"\n 'smart:w-full smart:max-w-md smart:rounded-xl smart:bg-white smart:dark:bg-gray-800 smart:border smart:border-gray-200 smart:dark:border-gray-700 smart:shadow-xl smart:p-5 smart:focus:outline-none ' +\n cssClass()\n \"\n (keydown)=\"trapFocus($event, panel)\"\n >\n @if (options().header) {\n <h2\n [id]=\"headerId\"\n class=\"smart:text-lg smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n >\n {{ options().header }}\n </h2>\n }\n @if (options().subHeader) {\n <h3\n class=\"smart:mt-1 smart:text-sm smart:font-medium smart:text-gray-700 smart:dark:text-gray-300\"\n >\n {{ options().subHeader }}\n </h3>\n }\n @if (options().message) {\n <p\n [id]=\"messageId\"\n class=\"smart:mt-2 smart:text-sm smart:text-gray-600 smart:dark:text-gray-400\"\n >\n {{ options().message }}\n </p>\n }\n @if (buttons().length > 0) {\n <div class=\"smart:mt-5 smart:flex smart:justify-end smart:gap-x-2\">\n @for (button of buttons(); track $index) {\n <button\n type=\"button\"\n [attr.data-role]=\"button.role ?? null\"\n [class]=\"buttonClasses(button)\"\n (click)=\"invoke(button)\"\n >\n {{ button.text }}\n </button>\n }\n </div>\n }\n </div>\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1696
+ }
1697
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AlertStandardComponent, decorators: [{
1698
+ type: Component,
1699
+ args: [{ selector: 'smart-alert-standard', encapsulation: ViewEncapsulation.None, host: { '(document:keydown.escape)': 'onEscape()' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"smart:fixed smart:inset-0 smart:z-[90] smart:flex smart:items-center smart:justify-center smart:p-4 smart:bg-gray-900/50 smart:dark:bg-gray-900/80\"\n role=\"presentation\"\n (click)=\"onBackdropClick($event)\"\n>\n <div\n #panel\n role=\"alertdialog\"\n aria-modal=\"true\"\n tabindex=\"-1\"\n [attr.aria-labelledby]=\"options().header ? headerId : null\"\n [attr.aria-describedby]=\"options().message ? messageId : null\"\n [class]=\"\n 'smart:w-full smart:max-w-md smart:rounded-xl smart:bg-white smart:dark:bg-gray-800 smart:border smart:border-gray-200 smart:dark:border-gray-700 smart:shadow-xl smart:p-5 smart:focus:outline-none ' +\n cssClass()\n \"\n (keydown)=\"trapFocus($event, panel)\"\n >\n @if (options().header) {\n <h2\n [id]=\"headerId\"\n class=\"smart:text-lg smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n >\n {{ options().header }}\n </h2>\n }\n @if (options().subHeader) {\n <h3\n class=\"smart:mt-1 smart:text-sm smart:font-medium smart:text-gray-700 smart:dark:text-gray-300\"\n >\n {{ options().subHeader }}\n </h3>\n }\n @if (options().message) {\n <p\n [id]=\"messageId\"\n class=\"smart:mt-2 smart:text-sm smart:text-gray-600 smart:dark:text-gray-400\"\n >\n {{ options().message }}\n </p>\n }\n @if (buttons().length > 0) {\n <div class=\"smart:mt-5 smart:flex smart:justify-end smart:gap-x-2\">\n @for (button of buttons(); track $index) {\n <button\n type=\"button\"\n [attr.data-role]=\"button.role ?? null\"\n [class]=\"buttonClasses(button)\"\n (click)=\"invoke(button)\"\n >\n {{ button.text }}\n </button>\n }\n </div>\n }\n </div>\n</div>\n" }]
1700
+ }] });
1701
+
1702
+ const FORM_COMPONENT_TOKEN = new InjectionToken('FORM_COMPONENT');
1703
+ const DETAILS_COMPONENT_TOKEN = new InjectionToken('DETAILS_COMPONENT_TOKEN');
1704
+ const ACTION_PANEL_STANDARD_COMPONENT_TOKEN = new InjectionToken('ACTION_PANEL_STANDARD_COMPONENT');
1705
+ const ALERT_STANDARD_COMPONENT_TOKEN = new InjectionToken('ALERT_STANDARD_COMPONENT');
1706
+ const BREADCRUMBS_STANDARD_COMPONENT_TOKEN = new InjectionToken('BREADCRUMBS_STANDARD_COMPONENT');
1707
+ const BUTTON_STANDARD_COMPONENT_TOKEN = new InjectionToken('BUTTON_STANDARD_COMPONENT');
1708
+ const CALENDAR_STANDARD_COMPONENT_TOKEN = new InjectionToken('CALENDAR_STANDARD_COMPONENT');
1709
+ const CARD_STANDARD_COMPONENT_TOKEN = new InjectionToken('CARD_STANDARD_COMPONENT');
1710
+ const CARD_HEADING_STANDARD_COMPONENT_TOKEN = new InjectionToken('CARD_HEADING_STANDARD_COMPONENT');
1711
+ const COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN = new InjectionToken('COMMAND_PALETTE_STANDARD_COMPONENT');
1712
+ const DETAILS_STANDARD_COMPONENT_TOKEN = new InjectionToken('DETAILS_STANDARD_COMPONENT');
1713
+ const DETAIL_FIELD_COMPONENTS_TOKEN = new InjectionToken('DETAIL_FIELD_COMPONENTS_TOKEN');
1714
+ const EMPTY_STATE_STANDARD_COMPONENT_TOKEN = new InjectionToken('EMPTY_STATE_STANDARD_COMPONENT');
1715
+ const FEED_STANDARD_COMPONENT_TOKEN = new InjectionToken('FEED_STANDARD_COMPONENT');
1716
+ const DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN = new InjectionToken('DESCRIPTION_LIST_STANDARD_COMPONENT');
1717
+ const FORM_STANDARD_COMPONENT_TOKEN = new InjectionToken('FORM_STANDARD_COMPONENT');
1718
+ const GRID_LIST_STANDARD_COMPONENT_TOKEN = new InjectionToken('GRID_LIST_STANDARD_COMPONENT');
1719
+ const INFO_STANDARD_COMPONENT_TOKEN = new InjectionToken('INFO_STANDARD_COMPONENT');
1720
+ const INPUT_FIELD_COMPONENTS_TOKEN = new InjectionToken('INPUT_FIELD_COMPONENTS_TOKEN');
1721
+ const LIST_MODE_COMPONENTS_TOKEN = new InjectionToken('LIST_MODE_COMPONENTS');
1722
+ const LOADER_STANDARD_COMPONENT_TOKEN = new InjectionToken('LOADER_STANDARD_COMPONENT');
1723
+ const MODAL_STANDARD_COMPONENT_TOKEN = new InjectionToken('MODAL_STANDARD_COMPONENT');
1724
+ const AVATAR_STANDARD_COMPONENT_TOKEN = new InjectionToken('AVATAR_STANDARD_COMPONENT');
1725
+ const BADGE_STANDARD_COMPONENT_TOKEN = new InjectionToken('BADGE_STANDARD_COMPONENT');
1726
+ const BUTTON_GROUP_STANDARD_COMPONENT_TOKEN = new InjectionToken('BUTTON_GROUP_STANDARD_COMPONENT');
1727
+ const CONTAINER_STANDARD_COMPONENT_TOKEN = new InjectionToken('CONTAINER_STANDARD_COMPONENT');
1728
+ const DIVIDER_STANDARD_COMPONENT_TOKEN = new InjectionToken('DIVIDER_STANDARD_COMPONENT');
1729
+ const DRAWER_STANDARD_COMPONENT_TOKEN = new InjectionToken('DRAWER_STANDARD_COMPONENT');
1730
+ const DROPDOWN_STANDARD_COMPONENT_TOKEN = new InjectionToken('DROPDOWN_STANDARD_COMPONENT');
1731
+ const LIST_CONTAINER_STANDARD_COMPONENT_TOKEN = new InjectionToken('LIST_CONTAINER_STANDARD_COMPONENT');
1732
+ const MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN = new InjectionToken('MEDIA_OBJECT_STANDARD_COMPONENT');
1733
+ const NOTIFICATION_STANDARD_COMPONENT_TOKEN = new InjectionToken('NOTIFICATION_STANDARD_COMPONENT');
1734
+ const MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT_TOKEN = new InjectionToken('MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT');
1735
+ const NAVBAR_STANDARD_COMPONENT_TOKEN = new InjectionToken('NAVBAR_STANDARD_COMPONENT');
1736
+ const PAGE_VARIANT_COMPONENTS_TOKEN = new InjectionToken('PAGE_VARIANT_COMPONENTS');
1737
+ const PAGE_HEADING_STANDARD_COMPONENT_TOKEN = new InjectionToken('PAGE_HEADING_STANDARD_COMPONENT');
1738
+ const PAGING_STANDARD_COMPONENT_TOKEN = new InjectionToken('PAGING_STANDARD_COMPONENT');
1739
+ const PASSWORD_STRENGTH_STANDARD_COMPONENT_TOKEN = new InjectionToken('PASSWORD_STRENGTH_STANDARD_COMPONENT');
1740
+ const PROGRESS_BARS_STANDARD_COMPONENT_TOKEN = new InjectionToken('PROGRESS_BARS_STANDARD_COMPONENT');
1741
+ const SEARCHBAR_STANDARD_COMPONENT_TOKEN = new InjectionToken('SEARCHBAR_STANDARD_COMPONENT');
1742
+ const SECTION_HEADING_STANDARD_COMPONENT_TOKEN = new InjectionToken('SECTION_HEADING_STANDARD_COMPONENT');
1743
+ const SELECT_MENU_STANDARD_COMPONENT_TOKEN = new InjectionToken('SELECT_MENU_STANDARD_COMPONENT');
1744
+ const SIDEBAR_LAYOUT_STANDARD_COMPONENT_TOKEN = new InjectionToken('SIDEBAR_LAYOUT_STANDARD_COMPONENT');
1745
+ const SIDEBAR_NAVIGATION_STANDARD_COMPONENT_TOKEN = new InjectionToken('SIDEBAR_NAVIGATION_STANDARD_COMPONENT');
1746
+ const SIGN_IN_FORM_STANDARD_COMPONENT_TOKEN = new InjectionToken('SIGN_IN_FORM_STANDARD_COMPONENT');
1747
+ const STACKED_LAYOUT_STANDARD_COMPONENT_TOKEN = new InjectionToken('STACKED_LAYOUT_STANDARD_COMPONENT');
1748
+ const STACKED_LIST_STANDARD_COMPONENT_TOKEN = new InjectionToken('STACKED_LIST_STANDARD_COMPONENT');
1749
+ const STATS_STANDARD_COMPONENT_TOKEN = new InjectionToken('STATS_STANDARD_COMPONENT');
1750
+ const TABLE_STANDARD_COMPONENT_TOKEN = new InjectionToken('TABLE_STANDARD_COMPONENT');
1751
+ const TABS_STANDARD_COMPONENT_TOKEN = new InjectionToken('TABS_STANDARD_COMPONENT');
1752
+ const TEXTAREA_STANDARD_COMPONENT_TOKEN = new InjectionToken('TEXTAREA_STANDARD_COMPONENT');
1753
+ const TOGGLE_STANDARD_COMPONENT_TOKEN = new InjectionToken('TOGGLE_STANDARD_COMPONENT');
1754
+ const VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN = new InjectionToken('VERTICAL_NAVIGATION_STANDARD_COMPONENT');
1755
+
1756
+ class AlertComponent {
1757
+ injectedComponent = inject(ALERT_STANDARD_COMPONENT_TOKEN, {
1758
+ optional: true,
1759
+ });
1760
+ options = input.required(/* @ts-ignore */
1761
+ ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
1762
+ cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : /* istanbul ignore next */ {}), alias: 'class' });
1763
+ dismissed = output();
1764
+ componentType = computed(() => this.injectedComponent ?? null, /* @ts-ignore */
1765
+ ...(ngDevMode ? [{ debugName: "componentType" }] : /* istanbul ignore next */ []));
1766
+ componentInputs = computed(() => ({
1767
+ options: this.options(),
1768
+ cssClass: this.cssClass(),
1769
+ }), /* @ts-ignore */
1770
+ ...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
1771
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1772
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: AlertComponent, isStandalone: true, selector: "smart-alert", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dismissed: "dismissed" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
1773
+ @if (componentType()) {
1774
+ <ng-container
1775
+ *ngComponentOutlet="componentType(); inputs: componentInputs()"
1776
+ />
1777
+ } @else {
1778
+ <smart-alert-standard
1779
+ [options]="options()"
1780
+ [class]="cssClass()"
1781
+ (dismissed)="dismissed.emit($event)"
1782
+ />
1783
+ }
1784
+ `, isInline: true, dependencies: [{ kind: "component", type: AlertStandardComponent, selector: "smart-alert-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1785
+ }
1786
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AlertComponent, decorators: [{
1787
+ type: Component,
1788
+ args: [{
1789
+ selector: 'smart-alert',
1790
+ template: `
1791
+ @if (componentType()) {
1792
+ <ng-container
1793
+ *ngComponentOutlet="componentType(); inputs: componentInputs()"
1794
+ />
1795
+ } @else {
1796
+ <smart-alert-standard
1797
+ [options]="options()"
1798
+ [class]="cssClass()"
1799
+ (dismissed)="dismissed.emit($event)"
1800
+ />
1801
+ }
1802
+ `,
1803
+ encapsulation: ViewEncapsulation.None,
1804
+ imports: [AlertStandardComponent, NgComponentOutlet],
1805
+ host: { class: 'smart:contents' },
1806
+ changeDetection: ChangeDetectionStrategy.OnPush,
1807
+ }]
1808
+ }], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], dismissed: [{ type: i0.Output, args: ["dismissed"] }] } });
1809
+
1614
1810
  class AlertService {
1615
- // constructor(private readonly alertCtrl: AlertController) {}
1811
+ appRef = inject(ApplicationRef);
1812
+ environmentInjector = inject(EnvironmentInjector);
1813
+ document = inject(DOCUMENT);
1814
+ componentType = inject(ALERT_STANDARD_COMPONENT_TOKEN, {
1815
+ optional: true,
1816
+ });
1817
+ /**
1818
+ * Mounts the alert dialog at the end of `<body>`, resolves with the chosen
1819
+ * button (null on Escape/backdrop without a cancel button) after that
1820
+ * button's handler has run, then removes the dialog and restores focus to
1821
+ * the previously focused element.
1822
+ */
1616
1823
  async show(options) {
1617
- // const alert = await this.alertCtrl.create(options);
1618
- // await alert.present();
1824
+ const trigger = this.document.activeElement;
1825
+ const ref = createComponent(this.componentType ?? AlertStandardComponent, {
1826
+ environmentInjector: this.environmentInjector,
1827
+ });
1828
+ ref.setInput('options', options);
1829
+ this.document.body.appendChild(ref.location.nativeElement);
1830
+ this.appRef.attachView(ref.hostView);
1831
+ ref.changeDetectorRef.detectChanges();
1832
+ try {
1833
+ return await new Promise((resolve) => {
1834
+ ref.instance.dismissed.subscribe(resolve);
1835
+ });
1836
+ }
1837
+ finally {
1838
+ ref.destroy();
1839
+ ref.location.nativeElement.remove();
1840
+ trigger?.focus?.();
1841
+ }
1619
1842
  }
1620
1843
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AlertService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1621
1844
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AlertService });
@@ -2841,59 +3064,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
2841
3064
  args: [{ selector: 'smart-action-panel-preset', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "<ng-template #titleZone>\n @if (options()?.title) {\n <h3 [class]=\"titleClasses\" data-role=\"title\">{{ options()!.title }}</h3>\n }\n</ng-template>\n\n<ng-template #descriptionZone>\n @if (options()?.descriptionTpl) {\n <div [class]=\"descriptionClasses\" data-role=\"description\">\n <ng-container [ngTemplateOutlet]=\"options()!.descriptionTpl!\" />\n </div>\n } @else if (options()?.description) {\n <p [class]=\"descriptionClasses\" data-role=\"description\">\n {{ options()!.description }}\n </p>\n }\n</ng-template>\n\n<ng-template #contentZone>\n @if (options()?.contentTpl) {\n <div class=\"smart:mt-3\" data-role=\"content\">\n <ng-container [ngTemplateOutlet]=\"options()!.contentTpl!\" />\n </div>\n }\n</ng-template>\n\n<ng-template #actionsZone>\n @if ((options()?.actions ?? []).length > 0) {\n <div [class]=\"actionsContainerClasses()\" data-role=\"actions\">\n @for (action of options()!.actions!; track action.id) {\n @if (action.href) {\n <a\n [href]=\"action.href\"\n [class]=\"actionClasses(action.variant)\"\n data-role=\"action\"\n [attr.data-action-id]=\"action.id\"\n >\n @if (action.iconTpl) {\n <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n }\n @if (action.label) {\n {{ action.label }}\n }\n </a>\n } @else {\n <button\n type=\"button\"\n [class]=\"actionClasses(action.variant)\"\n data-role=\"action\"\n [attr.data-action-id]=\"action.id\"\n (click)=\"onActionClick(action.id)\"\n >\n @if (action.iconTpl) {\n <ng-container [ngTemplateOutlet]=\"action.iconTpl\" />\n }\n @if (action.label) {\n {{ action.label }}\n }\n </button>\n }\n }\n </div>\n }\n</ng-template>\n\n<div [class]=\"panelClasses()\" data-role=\"panel\" [attr.data-layout]=\"layout()\">\n @switch (layout()) {\n @case ('right-button') {\n <div\n class=\"smart:flex smart:items-center smart:justify-between smart:gap-4\"\n >\n <div class=\"smart:flex-1\">\n <ng-container [ngTemplateOutlet]=\"titleZone\" />\n <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n <ng-container [ngTemplateOutlet]=\"contentZone\" />\n </div>\n <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n </div>\n }\n @case ('top-right-button') {\n <div\n class=\"smart:flex smart:items-start smart:justify-between smart:gap-4\"\n >\n <ng-container [ngTemplateOutlet]=\"titleZone\" />\n <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n </div>\n <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n <ng-container [ngTemplateOutlet]=\"contentZone\" />\n }\n @case ('with-toggle') {\n <div\n class=\"smart:flex smart:items-center smart:justify-between smart:gap-4\"\n >\n <div class=\"smart:flex-1\">\n <ng-container [ngTemplateOutlet]=\"titleZone\" />\n <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n </div>\n <ng-container [ngTemplateOutlet]=\"contentZone\" />\n </div>\n <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n }\n @case ('with-input') {\n <ng-container [ngTemplateOutlet]=\"titleZone\" />\n <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n <ng-container [ngTemplateOutlet]=\"contentZone\" />\n <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n }\n @case ('payment-method') {\n <ng-container [ngTemplateOutlet]=\"titleZone\" />\n <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n <ng-container [ngTemplateOutlet]=\"contentZone\" />\n <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n }\n @case ('well') {\n <ng-container [ngTemplateOutlet]=\"titleZone\" />\n <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n <div [class]=\"wellClasses\" data-role=\"well\">\n <ng-container [ngTemplateOutlet]=\"contentZone\" />\n <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n </div>\n }\n @default {\n <ng-container [ngTemplateOutlet]=\"titleZone\" />\n <ng-container [ngTemplateOutlet]=\"descriptionZone\" />\n <ng-container [ngTemplateOutlet]=\"contentZone\" />\n <ng-container [ngTemplateOutlet]=\"actionsZone\" />\n }\n }\n</div>\n" }]
2842
3065
  }], propDecorators: { cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssClass", required: false }] }] } });
2843
3066
 
2844
- const FORM_COMPONENT_TOKEN = new InjectionToken('FORM_COMPONENT');
2845
- const DETAILS_COMPONENT_TOKEN = new InjectionToken('DETAILS_COMPONENT_TOKEN');
2846
- const ACTION_PANEL_STANDARD_COMPONENT_TOKEN = new InjectionToken('ACTION_PANEL_STANDARD_COMPONENT');
2847
- const BREADCRUMBS_STANDARD_COMPONENT_TOKEN = new InjectionToken('BREADCRUMBS_STANDARD_COMPONENT');
2848
- const BUTTON_STANDARD_COMPONENT_TOKEN = new InjectionToken('BUTTON_STANDARD_COMPONENT');
2849
- const CALENDAR_STANDARD_COMPONENT_TOKEN = new InjectionToken('CALENDAR_STANDARD_COMPONENT');
2850
- const CARD_STANDARD_COMPONENT_TOKEN = new InjectionToken('CARD_STANDARD_COMPONENT');
2851
- const CARD_HEADING_STANDARD_COMPONENT_TOKEN = new InjectionToken('CARD_HEADING_STANDARD_COMPONENT');
2852
- const COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN = new InjectionToken('COMMAND_PALETTE_STANDARD_COMPONENT');
2853
- const DETAILS_STANDARD_COMPONENT_TOKEN = new InjectionToken('DETAILS_STANDARD_COMPONENT');
2854
- const DETAIL_FIELD_COMPONENTS_TOKEN = new InjectionToken('DETAIL_FIELD_COMPONENTS_TOKEN');
2855
- const EMPTY_STATE_STANDARD_COMPONENT_TOKEN = new InjectionToken('EMPTY_STATE_STANDARD_COMPONENT');
2856
- const FEED_STANDARD_COMPONENT_TOKEN = new InjectionToken('FEED_STANDARD_COMPONENT');
2857
- const DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN = new InjectionToken('DESCRIPTION_LIST_STANDARD_COMPONENT');
2858
- const FORM_STANDARD_COMPONENT_TOKEN = new InjectionToken('FORM_STANDARD_COMPONENT');
2859
- const GRID_LIST_STANDARD_COMPONENT_TOKEN = new InjectionToken('GRID_LIST_STANDARD_COMPONENT');
2860
- const INFO_STANDARD_COMPONENT_TOKEN = new InjectionToken('INFO_STANDARD_COMPONENT');
2861
- const INPUT_FIELD_COMPONENTS_TOKEN = new InjectionToken('INPUT_FIELD_COMPONENTS_TOKEN');
2862
- const LIST_MODE_COMPONENTS_TOKEN = new InjectionToken('LIST_MODE_COMPONENTS');
2863
- const LOADER_STANDARD_COMPONENT_TOKEN = new InjectionToken('LOADER_STANDARD_COMPONENT');
2864
- const MODAL_STANDARD_COMPONENT_TOKEN = new InjectionToken('MODAL_STANDARD_COMPONENT');
2865
- const AVATAR_STANDARD_COMPONENT_TOKEN = new InjectionToken('AVATAR_STANDARD_COMPONENT');
2866
- const BADGE_STANDARD_COMPONENT_TOKEN = new InjectionToken('BADGE_STANDARD_COMPONENT');
2867
- const BUTTON_GROUP_STANDARD_COMPONENT_TOKEN = new InjectionToken('BUTTON_GROUP_STANDARD_COMPONENT');
2868
- const CONTAINER_STANDARD_COMPONENT_TOKEN = new InjectionToken('CONTAINER_STANDARD_COMPONENT');
2869
- const DIVIDER_STANDARD_COMPONENT_TOKEN = new InjectionToken('DIVIDER_STANDARD_COMPONENT');
2870
- const DRAWER_STANDARD_COMPONENT_TOKEN = new InjectionToken('DRAWER_STANDARD_COMPONENT');
2871
- const DROPDOWN_STANDARD_COMPONENT_TOKEN = new InjectionToken('DROPDOWN_STANDARD_COMPONENT');
2872
- const LIST_CONTAINER_STANDARD_COMPONENT_TOKEN = new InjectionToken('LIST_CONTAINER_STANDARD_COMPONENT');
2873
- const MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN = new InjectionToken('MEDIA_OBJECT_STANDARD_COMPONENT');
2874
- const NOTIFICATION_STANDARD_COMPONENT_TOKEN = new InjectionToken('NOTIFICATION_STANDARD_COMPONENT');
2875
- const MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT_TOKEN = new InjectionToken('MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT');
2876
- const NAVBAR_STANDARD_COMPONENT_TOKEN = new InjectionToken('NAVBAR_STANDARD_COMPONENT');
2877
- const PAGE_VARIANT_COMPONENTS_TOKEN = new InjectionToken('PAGE_VARIANT_COMPONENTS');
2878
- const PAGE_HEADING_STANDARD_COMPONENT_TOKEN = new InjectionToken('PAGE_HEADING_STANDARD_COMPONENT');
2879
- const PAGING_STANDARD_COMPONENT_TOKEN = new InjectionToken('PAGING_STANDARD_COMPONENT');
2880
- const PASSWORD_STRENGTH_STANDARD_COMPONENT_TOKEN = new InjectionToken('PASSWORD_STRENGTH_STANDARD_COMPONENT');
2881
- const PROGRESS_BARS_STANDARD_COMPONENT_TOKEN = new InjectionToken('PROGRESS_BARS_STANDARD_COMPONENT');
2882
- const SEARCHBAR_STANDARD_COMPONENT_TOKEN = new InjectionToken('SEARCHBAR_STANDARD_COMPONENT');
2883
- const SECTION_HEADING_STANDARD_COMPONENT_TOKEN = new InjectionToken('SECTION_HEADING_STANDARD_COMPONENT');
2884
- const SELECT_MENU_STANDARD_COMPONENT_TOKEN = new InjectionToken('SELECT_MENU_STANDARD_COMPONENT');
2885
- const SIDEBAR_LAYOUT_STANDARD_COMPONENT_TOKEN = new InjectionToken('SIDEBAR_LAYOUT_STANDARD_COMPONENT');
2886
- const SIDEBAR_NAVIGATION_STANDARD_COMPONENT_TOKEN = new InjectionToken('SIDEBAR_NAVIGATION_STANDARD_COMPONENT');
2887
- const SIGN_IN_FORM_STANDARD_COMPONENT_TOKEN = new InjectionToken('SIGN_IN_FORM_STANDARD_COMPONENT');
2888
- const STACKED_LAYOUT_STANDARD_COMPONENT_TOKEN = new InjectionToken('STACKED_LAYOUT_STANDARD_COMPONENT');
2889
- const STACKED_LIST_STANDARD_COMPONENT_TOKEN = new InjectionToken('STACKED_LIST_STANDARD_COMPONENT');
2890
- const STATS_STANDARD_COMPONENT_TOKEN = new InjectionToken('STATS_STANDARD_COMPONENT');
2891
- const TABLE_STANDARD_COMPONENT_TOKEN = new InjectionToken('TABLE_STANDARD_COMPONENT');
2892
- const TABS_STANDARD_COMPONENT_TOKEN = new InjectionToken('TABS_STANDARD_COMPONENT');
2893
- const TEXTAREA_STANDARD_COMPONENT_TOKEN = new InjectionToken('TEXTAREA_STANDARD_COMPONENT');
2894
- const TOGGLE_STANDARD_COMPONENT_TOKEN = new InjectionToken('TOGGLE_STANDARD_COMPONENT');
2895
- const VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN = new InjectionToken('VERTICAL_NAVIGATION_STANDARD_COMPONENT');
2896
-
2897
3067
  class ActionPanelComponent {
2898
3068
  injectedComponent = inject(ACTION_PANEL_STANDARD_COMPONENT_TOKEN, {
2899
3069
  optional: true,
@@ -28751,5 +28921,5 @@ function SmartNgModuleDecorator(options) {
28751
28921
  * Generated bundle index. Do not edit.
28752
28922
  */
28753
28923
 
28754
- export { ACTION_PANEL_STANDARD_COMPONENT_TOKEN, AUTH_TOKEN, AVATAR_STANDARD_COMPONENT_TOKEN, AccordionBaseComponent, AccordionBodyComponent, AccordionComponent, AccordionDefaultComponent, AccordionHeaderComponent, AccordionPresetComponent, ActionPanelBaseComponent, ActionPanelComponent, ActionPanelPresetComponent, ActionPanelStandardComponent, AlertService, AppBaseComponent, AppService, AuthService, AvatarBaseComponent, AvatarComponent, AvatarPresetComponent, AvatarStandardComponent, BADGE_STANDARD_COMPONENT_TOKEN, BREADCRUMBS_STANDARD_COMPONENT_TOKEN, BUTTON_GROUP_STANDARD_COMPONENT_TOKEN, BUTTON_STANDARD_COMPONENT_TOKEN, BadgeBaseComponent, BadgeComponent, BadgePresetComponent, BadgeStandardComponent, BaseComponent, BreadcrumbsBaseComponent, BreadcrumbsComponent, BreadcrumbsPresetComponent, BreadcrumbsStandardComponent, ButtonBaseComponent, ButtonComponent, ButtonGroupBaseComponent, ButtonGroupComponent, ButtonGroupPresetComponent, ButtonGroupStandardComponent, ButtonPresetComponent, ButtonStandardComponent, CALENDAR_STANDARD_COMPONENT_TOKEN, CARD_HEADING_STANDARD_COMPONENT_TOKEN, CARD_STANDARD_COMPONENT_TOKEN, COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN, COMPONENT_COLORS, CONTAINER_STANDARD_COMPONENT_TOKEN, CalendarBaseComponent, CalendarComponent, CalendarPresetComponent, CalendarService, CalendarStandardComponent, CardBaseComponent, CardComponent, CardHeadingBaseComponent, CardHeadingComponent, CardHeadingPresetComponent, CardHeadingStandardComponent, CardPresetComponent, CardStandardComponent, CommandPaletteBaseComponent, CommandPaletteComponent, CommandPalettePresetComponent, CommandPaletteStandardComponent, ContainerBaseComponent, ContainerComponent, ContainerPresetComponent, ContainerStandardComponent, CreateDynamicComponent, DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN, DETAILS_COMPONENT_TOKEN, DETAILS_STANDARD_COMPONENT_TOKEN, DETAIL_FIELD_COMPONENTS_TOKEN, DETAIL_PRESET_FIELD_COMPONENTS, DIVIDER_STANDARD_COMPONENT_TOKEN, DRAWER_STANDARD_COMPONENT_TOKEN, DROPDOWN_STANDARD_COMPONENT_TOKEN, DYNAMIC_COMPONENTS_STORE, DateEditBaseComponent, DateEditComponent, DateEditPresetComponent, DateEditStandardComponent, DateRangeBaseComponent, DateRangeComponent, DateRangeModalBaseComponent, DateRangeModalStandardComponent, DateRangePresetComponent, DateRangeStandardComponent, DescriptionListBaseComponent, DescriptionListComponent, DescriptionListPresetComponent, DescriptionListStandardComponent, DetailAddressComponent, DetailAddressPresetComponent, DetailArrayComponent, DetailArrayPresetComponent, DetailAttachmentComponent, DetailAttachmentPresetComponent, DetailBaseComponent, DetailColorComponent, DetailColorPresetComponent, DetailComponent, DetailDateRangeComponent, DetailDateRangePresetComponent, DetailEmailComponent, DetailEmailPresetComponent, DetailEnumComponent, DetailEnumPresetComponent, DetailFlagComponent, DetailFlagPresetComponent, DetailImageComponent, DetailImagePresetComponent, DetailLogoComponent, DetailLogoPresetComponent, DetailObjectComponent, DetailObjectPresetComponent, DetailPdfComponent, DetailPdfPresetComponent, DetailPhoneNumberPlComponent, DetailPhoneNumberPlPresetComponent, DetailTextComponent, DetailTextPresetComponent, DetailVideoComponent, DetailVideoPresetComponent, DetailsBaseComponent, DetailsComponent, DetailsDirective, DetailsPage, DetailsService, DetailsStandardComponent, DividerBaseComponent, DividerComponent, DividerPresetComponent, DividerStandardComponent, DrawerBaseComponent, DrawerComponent, DrawerPresetComponent, DrawerStandardComponent, DropdownBaseComponent, DropdownComponent, DropdownPresetComponent, DropdownStandardComponent, DynamicComponentLoader, DynamicComponentStorageService, DynamicContentDirective, EMPTY_STATE_STANDARD_COMPONENT_TOKEN, EmptyStateBaseComponent, EmptyStateComponent, EmptyStatePresetComponent, EmptyStateStandardComponent, EnumToListPipe, ErrorService, ExportBaseComponent, ExportComponent, FEED_STANDARD_COMPONENT_TOKEN, FILE_SERVICE_CONFIG, FORM_COMPONENT_TOKEN, FORM_STANDARD_COMPONENT_TOKEN, FeedBaseComponent, FeedComponent, FeedPresetComponent, FeedStandardComponent, FileService, FileUrlPipe, FormBaseComponent, FormComponent, FormFactory, FormPresetComponent, FormStandardComponent, GRID_LIST_STANDARD_COMPONENT_TOKEN, GridListBaseComponent, GridListComponent, GridListPresetComponent, GridListStandardComponent, HardwareService, IModelExportProvider, IModelImportProvider, IModelLabelProvider, IModelPossibilitiesProvider, IModelValidatorsProvider, INFO_STANDARD_COMPONENT_TOKEN, INPUT_FIELD_COMPONENTS_TOKEN, INPUT_PRESET_FIELD_COMPONENTS, IconBaseComponent, IconChevronDownComponent, IconChevronUpComponent, IconComponent, IconPresetComponent, IconSpinnerComponent, ImportBaseComponent, ImportComponent, InfoBaseComponent, InfoComponent, InfoPresetComponent, InfoStandardComponent, InputAddressComponent, InputAddressPresetComponent, InputArrayComponent, InputArrayPresetComponent, InputAttachmentComponent, InputAttachmentPresetComponent, InputBaseComponent, InputCheckComponent, InputCheckPresetComponent, InputColorComponent, InputColorPresetComponent, InputComponent, InputCurrencyComponent, InputCurrencyPresetComponent, InputDateComponent, InputDatePresetComponent, InputDateRangeComponent, InputDateRangePresetComponent, InputDateWithEditComponent, InputDateWithEditPresetComponent, InputEmailComponent, InputEmailPresetComponent, InputEnumComponent, InputEnumPresetComponent, InputErrorComponent, InputErrorPresetComponent, InputFileBaseComponent, InputFileComponent, InputFilePresetComponent, InputFlagComponent, InputFlagPresetComponent, InputFloatComponent, InputFloatPresetComponent, InputImageComponent, InputImagePresetComponent, InputIntComponent, InputIntPresetComponent, InputIntsComponent, InputIntsPresetComponent, InputLogoComponent, InputLogoPresetComponent, InputLongTextComponent, InputLongTextPresetComponent, InputNipComponent, InputNipPresetComponent, InputObjectComponent, InputObjectPresetComponent, InputPasswordComponent, InputPasswordPresetComponent, InputPdfComponent, InputPdfPresetComponent, InputPeselComponent, InputPeselPresetComponent, InputPhoneNumberComponent, InputPhoneNumberPlComponent, InputPhoneNumberPlPresetComponent, InputPhoneNumberPresetComponent, InputPossibilitiesBaseComponent, InputRadioComponent, InputRadioPresetComponent, InputStringsComponent, InputStringsPresetComponent, InputTextComponent, InputTextPresetComponent, InputVideoComponent, InputVideoPresetComponent, LIST_CONTAINER_STANDARD_COMPONENT_TOKEN, LIST_MODE_COMPONENTS_TOKEN, LIST_PRESET_MODE_COMPONENTS, LOADER_STANDARD_COMPONENT_TOKEN, ListBaseComponent, ListCellPipe, ListComponent, ListContainerBaseComponent, ListContainerComponent, ListContainerStandardComponent, ListDesktopComponent, ListDesktopPresetComponent, ListHeaderPipe, ListMasonryGridComponent, ListMasonryGridPresetComponent, ListMobileComponent, ListMobilePresetComponent, ListMode, LoaderBaseComponent, LoaderComponent, LoaderPresetComponent, LoaderStandardComponent, MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN, MODAL_STANDARD_COMPONENT_TOKEN, MODEL_EXPORT_PROVIDER, MODEL_IMPORT_PROVIDER, MODEL_LABEL_PROVIDER, MODEL_POSSIBILITIES_PROVIDER, MODEL_VALIDATORS_PROVIDER, MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT_TOKEN, MediaObjectBaseComponent, MediaObjectComponent, MediaObjectPresetComponent, MediaObjectStandardComponent, MenuService, ModalBaseComponent, ModalComponent, ModalPresetComponent, ModalService, ModalStandardComponent, ModelLabelPipe, MultiColumnLayoutBaseComponent, MultiColumnLayoutComponent, MultiColumnLayoutPresetComponent, MultiColumnLayoutStandardComponent, NAVBAR_STANDARD_COMPONENT_TOKEN, NOTIFICATION_STANDARD_COMPONENT_TOKEN, NavbarBaseComponent, NavbarComponent, NavbarPresetComponent, NavbarStandardComponent, NgrxSharedModule, NgrxStoreService, NotificationBaseComponent, NotificationComponent, NotificationPresetComponent, NotificationStandardComponent, PAGE_HEADING_STANDARD_COMPONENT_TOKEN, PAGE_PRESET_VARIANT_COMPONENTS, PAGE_VARIANT_COMPONENTS_TOKEN, PAGING_STANDARD_COMPONENT_TOKEN, PASSWORD_STRENGTH_STANDARD_COMPONENT_TOKEN, PIPES, PROGRESS_BARS_STANDARD_COMPONENT_TOKEN, PageBaseComponent, PageComponent, PageHeadingBaseComponent, PageHeadingComponent, PageHeadingPresetComponent, PageHeadingStandardComponent, PagePresetComponent, PageStandardComponent, PaginationMode, PagingBaseComponent, PagingComponent, PagingPresetComponent, PagingStandardComponent, PasswordStrengthBaseComponent, PasswordStrengthComponent, PasswordStrengthStandardComponent, PopoverService, ProgressBarsBaseComponent, ProgressBarsComponent, ProgressBarsPresetComponent, ProgressBarsStandardComponent, ReduxAction, ReduxActionDecorator, ReduxSelect, RemoveHtmlPipe, SEARCHBAR_STANDARD_COMPONENT_TOKEN, SECTION_HEADING_STANDARD_COMPONENT_TOKEN, SELECT_MENU_STANDARD_COMPONENT_TOKEN, SIDEBAR_LAYOUT_STANDARD_COMPONENT_TOKEN, SIDEBAR_NAVIGATION_STANDARD_COMPONENT_TOKEN, SIGN_IN_FORM_STANDARD_COMPONENT_TOKEN, STACKED_LAYOUT_STANDARD_COMPONENT_TOKEN, STACKED_LIST_STANDARD_COMPONENT_TOKEN, STATS_STANDARD_COMPONENT_TOKEN, SearchbarBaseComponent, SearchbarComponent, SearchbarStandardComponent, SectionHeadingBaseComponent, SectionHeadingComponent, SectionHeadingPresetComponent, SectionHeadingStandardComponent, SelectMenuBaseComponent, SelectMenuComponent, SelectMenuStandardComponent, SharedDirectivesModule, SharedFactoriesModule, SharedModule, SharedPagesModule, SharedPipesModule, SharedServicesModule, SidebarLayoutBaseComponent, SidebarLayoutComponent, SidebarLayoutPresetComponent, SidebarLayoutStandardComponent, SidebarNavigationBaseComponent, SidebarNavigationComponent, SidebarNavigationStandardComponent, SignInFormBaseComponent, SignInFormComponent, SignInFormPresetComponent, SignInFormStandardComponent, SlugPipe, SmartFormGroup, SmartNgModule, SmartNgModuleDecorator, StackedLayoutBaseComponent, StackedLayoutComponent, StackedLayoutPresetComponent, StackedLayoutStandardComponent, StackedListBaseComponent, StackedListComponent, StackedListStandardComponent, StatsBaseComponent, StatsComponent, StatsPresetComponent, StatsStandardComponent, StorageService, StyleService, TABLE_STANDARD_COMPONENT_TOKEN, TABS_STANDARD_COMPONENT_TOKEN, TEXTAREA_STANDARD_COMPONENT_TOKEN, TOGGLE_STANDARD_COMPONENT_TOKEN, TableBaseComponent, TableComponent, TableStandardComponent, TabsBaseComponent, TabsComponent, TabsPresetComponent, TabsStandardComponent, TextareaBaseComponent, TextareaComponent, TextareaStandardComponent, ToastService, ToggleBaseComponent, ToggleComponent, TogglePresetComponent, ToggleStandardComponent, TrustHtmlPipe, UIService, VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN, VerticalNavigationBaseComponent, VerticalNavigationComponent, VerticalNavigationPresetComponent, VerticalNavigationStandardComponent, fastPropGetter };
28924
+ export { ACTION_PANEL_STANDARD_COMPONENT_TOKEN, ALERT_STANDARD_COMPONENT_TOKEN, AUTH_TOKEN, AVATAR_STANDARD_COMPONENT_TOKEN, AccordionBaseComponent, AccordionBodyComponent, AccordionComponent, AccordionDefaultComponent, AccordionHeaderComponent, AccordionPresetComponent, ActionPanelBaseComponent, ActionPanelComponent, ActionPanelPresetComponent, ActionPanelStandardComponent, AlertBaseComponent, AlertComponent, AlertService, AlertStandardComponent, AppBaseComponent, AppService, AuthService, AvatarBaseComponent, AvatarComponent, AvatarPresetComponent, AvatarStandardComponent, BADGE_STANDARD_COMPONENT_TOKEN, BREADCRUMBS_STANDARD_COMPONENT_TOKEN, BUTTON_GROUP_STANDARD_COMPONENT_TOKEN, BUTTON_STANDARD_COMPONENT_TOKEN, BadgeBaseComponent, BadgeComponent, BadgePresetComponent, BadgeStandardComponent, BaseComponent, BreadcrumbsBaseComponent, BreadcrumbsComponent, BreadcrumbsPresetComponent, BreadcrumbsStandardComponent, ButtonBaseComponent, ButtonComponent, ButtonGroupBaseComponent, ButtonGroupComponent, ButtonGroupPresetComponent, ButtonGroupStandardComponent, ButtonPresetComponent, ButtonStandardComponent, CALENDAR_STANDARD_COMPONENT_TOKEN, CARD_HEADING_STANDARD_COMPONENT_TOKEN, CARD_STANDARD_COMPONENT_TOKEN, COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN, COMPONENT_COLORS, CONTAINER_STANDARD_COMPONENT_TOKEN, CalendarBaseComponent, CalendarComponent, CalendarPresetComponent, CalendarService, CalendarStandardComponent, CardBaseComponent, CardComponent, CardHeadingBaseComponent, CardHeadingComponent, CardHeadingPresetComponent, CardHeadingStandardComponent, CardPresetComponent, CardStandardComponent, CommandPaletteBaseComponent, CommandPaletteComponent, CommandPalettePresetComponent, CommandPaletteStandardComponent, ContainerBaseComponent, ContainerComponent, ContainerPresetComponent, ContainerStandardComponent, CreateDynamicComponent, DESCRIPTION_LIST_STANDARD_COMPONENT_TOKEN, DETAILS_COMPONENT_TOKEN, DETAILS_STANDARD_COMPONENT_TOKEN, DETAIL_FIELD_COMPONENTS_TOKEN, DETAIL_PRESET_FIELD_COMPONENTS, DIVIDER_STANDARD_COMPONENT_TOKEN, DRAWER_STANDARD_COMPONENT_TOKEN, DROPDOWN_STANDARD_COMPONENT_TOKEN, DYNAMIC_COMPONENTS_STORE, DateEditBaseComponent, DateEditComponent, DateEditPresetComponent, DateEditStandardComponent, DateRangeBaseComponent, DateRangeComponent, DateRangeModalBaseComponent, DateRangeModalStandardComponent, DateRangePresetComponent, DateRangeStandardComponent, DescriptionListBaseComponent, DescriptionListComponent, DescriptionListPresetComponent, DescriptionListStandardComponent, DetailAddressComponent, DetailAddressPresetComponent, DetailArrayComponent, DetailArrayPresetComponent, DetailAttachmentComponent, DetailAttachmentPresetComponent, DetailBaseComponent, DetailColorComponent, DetailColorPresetComponent, DetailComponent, DetailDateRangeComponent, DetailDateRangePresetComponent, DetailEmailComponent, DetailEmailPresetComponent, DetailEnumComponent, DetailEnumPresetComponent, DetailFlagComponent, DetailFlagPresetComponent, DetailImageComponent, DetailImagePresetComponent, DetailLogoComponent, DetailLogoPresetComponent, DetailObjectComponent, DetailObjectPresetComponent, DetailPdfComponent, DetailPdfPresetComponent, DetailPhoneNumberPlComponent, DetailPhoneNumberPlPresetComponent, DetailTextComponent, DetailTextPresetComponent, DetailVideoComponent, DetailVideoPresetComponent, DetailsBaseComponent, DetailsComponent, DetailsDirective, DetailsPage, DetailsService, DetailsStandardComponent, DividerBaseComponent, DividerComponent, DividerPresetComponent, DividerStandardComponent, DrawerBaseComponent, DrawerComponent, DrawerPresetComponent, DrawerStandardComponent, DropdownBaseComponent, DropdownComponent, DropdownPresetComponent, DropdownStandardComponent, DynamicComponentLoader, DynamicComponentStorageService, DynamicContentDirective, EMPTY_STATE_STANDARD_COMPONENT_TOKEN, EmptyStateBaseComponent, EmptyStateComponent, EmptyStatePresetComponent, EmptyStateStandardComponent, EnumToListPipe, ErrorService, ExportBaseComponent, ExportComponent, FEED_STANDARD_COMPONENT_TOKEN, FILE_SERVICE_CONFIG, FORM_COMPONENT_TOKEN, FORM_STANDARD_COMPONENT_TOKEN, FeedBaseComponent, FeedComponent, FeedPresetComponent, FeedStandardComponent, FileService, FileUrlPipe, FormBaseComponent, FormComponent, FormFactory, FormPresetComponent, FormStandardComponent, GRID_LIST_STANDARD_COMPONENT_TOKEN, GridListBaseComponent, GridListComponent, GridListPresetComponent, GridListStandardComponent, HardwareService, IModelExportProvider, IModelImportProvider, IModelLabelProvider, IModelPossibilitiesProvider, IModelValidatorsProvider, INFO_STANDARD_COMPONENT_TOKEN, INPUT_FIELD_COMPONENTS_TOKEN, INPUT_PRESET_FIELD_COMPONENTS, IconBaseComponent, IconChevronDownComponent, IconChevronUpComponent, IconComponent, IconPresetComponent, IconSpinnerComponent, ImportBaseComponent, ImportComponent, InfoBaseComponent, InfoComponent, InfoPresetComponent, InfoStandardComponent, InputAddressComponent, InputAddressPresetComponent, InputArrayComponent, InputArrayPresetComponent, InputAttachmentComponent, InputAttachmentPresetComponent, InputBaseComponent, InputCheckComponent, InputCheckPresetComponent, InputColorComponent, InputColorPresetComponent, InputComponent, InputCurrencyComponent, InputCurrencyPresetComponent, InputDateComponent, InputDatePresetComponent, InputDateRangeComponent, InputDateRangePresetComponent, InputDateWithEditComponent, InputDateWithEditPresetComponent, InputEmailComponent, InputEmailPresetComponent, InputEnumComponent, InputEnumPresetComponent, InputErrorComponent, InputErrorPresetComponent, InputFileBaseComponent, InputFileComponent, InputFilePresetComponent, InputFlagComponent, InputFlagPresetComponent, InputFloatComponent, InputFloatPresetComponent, InputImageComponent, InputImagePresetComponent, InputIntComponent, InputIntPresetComponent, InputIntsComponent, InputIntsPresetComponent, InputLogoComponent, InputLogoPresetComponent, InputLongTextComponent, InputLongTextPresetComponent, InputNipComponent, InputNipPresetComponent, InputObjectComponent, InputObjectPresetComponent, InputPasswordComponent, InputPasswordPresetComponent, InputPdfComponent, InputPdfPresetComponent, InputPeselComponent, InputPeselPresetComponent, InputPhoneNumberComponent, InputPhoneNumberPlComponent, InputPhoneNumberPlPresetComponent, InputPhoneNumberPresetComponent, InputPossibilitiesBaseComponent, InputRadioComponent, InputRadioPresetComponent, InputStringsComponent, InputStringsPresetComponent, InputTextComponent, InputTextPresetComponent, InputVideoComponent, InputVideoPresetComponent, LIST_CONTAINER_STANDARD_COMPONENT_TOKEN, LIST_MODE_COMPONENTS_TOKEN, LIST_PRESET_MODE_COMPONENTS, LOADER_STANDARD_COMPONENT_TOKEN, ListBaseComponent, ListCellPipe, ListComponent, ListContainerBaseComponent, ListContainerComponent, ListContainerStandardComponent, ListDesktopComponent, ListDesktopPresetComponent, ListHeaderPipe, ListMasonryGridComponent, ListMasonryGridPresetComponent, ListMobileComponent, ListMobilePresetComponent, ListMode, LoaderBaseComponent, LoaderComponent, LoaderPresetComponent, LoaderStandardComponent, MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN, MODAL_STANDARD_COMPONENT_TOKEN, MODEL_EXPORT_PROVIDER, MODEL_IMPORT_PROVIDER, MODEL_LABEL_PROVIDER, MODEL_POSSIBILITIES_PROVIDER, MODEL_VALIDATORS_PROVIDER, MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT_TOKEN, MediaObjectBaseComponent, MediaObjectComponent, MediaObjectPresetComponent, MediaObjectStandardComponent, MenuService, ModalBaseComponent, ModalComponent, ModalPresetComponent, ModalService, ModalStandardComponent, ModelLabelPipe, MultiColumnLayoutBaseComponent, MultiColumnLayoutComponent, MultiColumnLayoutPresetComponent, MultiColumnLayoutStandardComponent, NAVBAR_STANDARD_COMPONENT_TOKEN, NOTIFICATION_STANDARD_COMPONENT_TOKEN, NavbarBaseComponent, NavbarComponent, NavbarPresetComponent, NavbarStandardComponent, NgrxSharedModule, NgrxStoreService, NotificationBaseComponent, NotificationComponent, NotificationPresetComponent, NotificationStandardComponent, PAGE_HEADING_STANDARD_COMPONENT_TOKEN, PAGE_PRESET_VARIANT_COMPONENTS, PAGE_VARIANT_COMPONENTS_TOKEN, PAGING_STANDARD_COMPONENT_TOKEN, PASSWORD_STRENGTH_STANDARD_COMPONENT_TOKEN, PIPES, PROGRESS_BARS_STANDARD_COMPONENT_TOKEN, PageBaseComponent, PageComponent, PageHeadingBaseComponent, PageHeadingComponent, PageHeadingPresetComponent, PageHeadingStandardComponent, PagePresetComponent, PageStandardComponent, PaginationMode, PagingBaseComponent, PagingComponent, PagingPresetComponent, PagingStandardComponent, PasswordStrengthBaseComponent, PasswordStrengthComponent, PasswordStrengthStandardComponent, PopoverService, ProgressBarsBaseComponent, ProgressBarsComponent, ProgressBarsPresetComponent, ProgressBarsStandardComponent, ReduxAction, ReduxActionDecorator, ReduxSelect, RemoveHtmlPipe, SEARCHBAR_STANDARD_COMPONENT_TOKEN, SECTION_HEADING_STANDARD_COMPONENT_TOKEN, SELECT_MENU_STANDARD_COMPONENT_TOKEN, SIDEBAR_LAYOUT_STANDARD_COMPONENT_TOKEN, SIDEBAR_NAVIGATION_STANDARD_COMPONENT_TOKEN, SIGN_IN_FORM_STANDARD_COMPONENT_TOKEN, STACKED_LAYOUT_STANDARD_COMPONENT_TOKEN, STACKED_LIST_STANDARD_COMPONENT_TOKEN, STATS_STANDARD_COMPONENT_TOKEN, SearchbarBaseComponent, SearchbarComponent, SearchbarStandardComponent, SectionHeadingBaseComponent, SectionHeadingComponent, SectionHeadingPresetComponent, SectionHeadingStandardComponent, SelectMenuBaseComponent, SelectMenuComponent, SelectMenuStandardComponent, SharedDirectivesModule, SharedFactoriesModule, SharedModule, SharedPagesModule, SharedPipesModule, SharedServicesModule, SidebarLayoutBaseComponent, SidebarLayoutComponent, SidebarLayoutPresetComponent, SidebarLayoutStandardComponent, SidebarNavigationBaseComponent, SidebarNavigationComponent, SidebarNavigationStandardComponent, SignInFormBaseComponent, SignInFormComponent, SignInFormPresetComponent, SignInFormStandardComponent, SlugPipe, SmartFormGroup, SmartNgModule, SmartNgModuleDecorator, StackedLayoutBaseComponent, StackedLayoutComponent, StackedLayoutPresetComponent, StackedLayoutStandardComponent, StackedListBaseComponent, StackedListComponent, StackedListStandardComponent, StatsBaseComponent, StatsComponent, StatsPresetComponent, StatsStandardComponent, StorageService, StyleService, TABLE_STANDARD_COMPONENT_TOKEN, TABS_STANDARD_COMPONENT_TOKEN, TEXTAREA_STANDARD_COMPONENT_TOKEN, TOGGLE_STANDARD_COMPONENT_TOKEN, TableBaseComponent, TableComponent, TableStandardComponent, TabsBaseComponent, TabsComponent, TabsPresetComponent, TabsStandardComponent, TextareaBaseComponent, TextareaComponent, TextareaStandardComponent, ToastService, ToggleBaseComponent, ToggleComponent, TogglePresetComponent, ToggleStandardComponent, TrustHtmlPipe, UIService, VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN, VerticalNavigationBaseComponent, VerticalNavigationComponent, VerticalNavigationPresetComponent, VerticalNavigationStandardComponent, fastPropGetter };
28755
28925
  //# sourceMappingURL=smartsoft001-angular.mjs.map