@arsedizioni/ars-utils 22.0.3 → 22.0.5

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 { Injectable, signal, ChangeDetectionStrategy, Component, output, inject, Service, NgModule, input, computed, viewChildren, forwardRef, InjectionToken, TemplateRef, ViewContainerRef, effect, Directive, ElementRef, Renderer2, PLATFORM_ID, isDevMode } from '@angular/core';
2
+ import { Injectable, signal, ChangeDetectionStrategy, Component, output, inject, Service, makeEnvironmentProviders, NgModule, input, computed, viewChildren, forwardRef, InjectionToken, TemplateRef, ViewContainerRef, effect, Directive, ElementRef, Renderer2, PLATFORM_ID, isDevMode } from '@angular/core';
3
3
  import { SafeHtmlPipe, SystemUtils, ArsCoreModule, PasswordValidatorDirective, EqualsValidatorDirective } from '@arsedizioni/ars-utils/core';
4
4
  import { MatPaginatorIntl } from '@angular/material/paginator';
5
5
  import { Overlay } from '@angular/cdk/overlay';
@@ -781,6 +781,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
781
781
  type: Service
782
782
  }], ctorParameters: () => [] });
783
783
 
784
+ /**
785
+ * Standalone providers for the ars-utils "ui" layer.
786
+ *
787
+ * Currently this entry point has NO environment-level providers to register:
788
+ * - Services use `@Service()` (root-provided) and are loaded on demand when injected.
789
+ * - The core pipes (format, safeHtml, replace, ...) are standalone and template-only,
790
+ * so consuming components import them via `imports: []` — they never need to be
791
+ * listed here. Listing them would force all of them into the eager bundle and
792
+ * defeat tree-shaking.
793
+ *
794
+ * The function is kept for API symmetry / future configuration and so standalone apps
795
+ * have a stable extension point.
796
+ *
797
+ * @example
798
+ * bootstrapApplication(AppComponent, {
799
+ * providers: [provideArsUI()]
800
+ * });
801
+ */
802
+ function provideArsUI() {
803
+ return makeEnvironmentProviders([]);
804
+ }
805
+ /**
806
+ * @deprecated Prefer the standalone {@link provideArsUI} provider together with
807
+ * direct imports of the standalone components/directives. This module is kept as a thin,
808
+ * backward-compatible shim so existing NgModule-based applications keep working unchanged.
809
+ */
784
810
  class ArsUIModule {
785
811
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ArsUIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
786
812
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: ArsUIModule, imports: [ArsCoreModule] }); }
@@ -792,7 +818,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
792
818
  imports: [
793
819
  ArsCoreModule,
794
820
  ],
795
- exports: []
796
821
  }]
797
822
  }] });
798
823
 
@@ -3071,5 +3096,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
3071
3096
  * Generated bundle index. Do not edit.
3072
3097
  */
3073
3098
 
3074
- export { ALIAS_FAMILIES, ALIAS_INDEX, ArsUIFlexModule, ArsUIModule, BS5_BREAKPOINTS, BusyDialogComponent, BusyTimer, CANONICAL_ALIASES, ConfirmDialogComponent, CredentialsDialogComponent, DeleteDialogComponent, DeleteDialogConfirmMode, DialogService, FxClassDirective, FxFlexAlignDirective, FxFlexDirective, FxFlexFillDirective, FxFlexOffsetDirective, FxFlexOrderDirective, FxGridAreaDirective, FxGridColumnDirective, FxGridDirective, FxLayoutAlignDirective, FxLayoutDirective, FxLayoutGapDirective, FxLayoutWrapDirective, FxShowHideDirective, FxStyleDirective, IfBpDirective, InfoDialogComponent, LAYOUT_BREAKPOINTS, MediaObserver, NON_CANONICAL_PRIORITY, OtpInputComponent, PaginatorIntl, PasswordStrengthComponent, RecoverPasswordDialogComponent, ResetPasswordDialogComponent, ResponsiveBaseDirective, ToastComponent, UIService, resolve, resolveAll, resolveNonCanonical };
3099
+ export { ALIAS_FAMILIES, ALIAS_INDEX, ArsUIFlexModule, ArsUIModule, BS5_BREAKPOINTS, BusyDialogComponent, BusyTimer, CANONICAL_ALIASES, ConfirmDialogComponent, CredentialsDialogComponent, DeleteDialogComponent, DeleteDialogConfirmMode, DialogService, FxClassDirective, FxFlexAlignDirective, FxFlexDirective, FxFlexFillDirective, FxFlexOffsetDirective, FxFlexOrderDirective, FxGridAreaDirective, FxGridColumnDirective, FxGridDirective, FxLayoutAlignDirective, FxLayoutDirective, FxLayoutGapDirective, FxLayoutWrapDirective, FxShowHideDirective, FxStyleDirective, IfBpDirective, InfoDialogComponent, LAYOUT_BREAKPOINTS, MediaObserver, NON_CANONICAL_PRIORITY, OtpInputComponent, PaginatorIntl, PasswordStrengthComponent, RecoverPasswordDialogComponent, ResetPasswordDialogComponent, ResponsiveBaseDirective, ToastComponent, UIService, provideArsUI, resolve, resolveAll, resolveNonCanonical };
3075
3100
  //# sourceMappingURL=arsedizioni-ars-utils-ui.mjs.map