codexly-ui 0.0.36 → 0.0.38

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.
@@ -911,19 +911,20 @@ const CLX_ANIMATE_DEFAULTS = new InjectionToken('CLX_ANIMATE_DEFAULTS', {
911
911
 
912
912
  const PREFIX = 'clx-anim--';
913
913
  class ClxAnimateService {
914
- platformId = inject(PLATFORM_ID);
915
- defaults = inject(CLX_ANIMATE_DEFAULTS);
916
- isBrowser = isPlatformBrowser(this.platformId);
914
+ platformId;
915
+ defaults;
916
+ isBrowser;
917
917
  // ─── Estado de animaciones en curso ───────────────────────────────────────
918
918
  _runningCount = signal(0, ...(ngDevMode ? [{ debugName: "_runningCount" }] : []));
919
- /** True mientras al menos una animación está activa. */
920
919
  isAnimating = computed(() => this._runningCount() > 0, ...(ngDevMode ? [{ debugName: "isAnimating" }] : []));
921
920
  // ─── Cleanup por elemento (WeakMap preserva GC) ───────────────────────────
922
921
  _cleanups = new WeakMap();
923
922
  // ─── Pool de IntersectionObservers compartidos ────────────────────────────
924
- // Un observer por threshold único, compartido entre todas las directivas.
925
923
  _observerPools = new Map();
926
924
  constructor() {
925
+ this.platformId = inject(PLATFORM_ID);
926
+ this.defaults = inject(CLX_ANIMATE_DEFAULTS);
927
+ this.isBrowser = isPlatformBrowser(this.platformId);
927
928
  if (this.isBrowser)
928
929
  this._warmup();
929
930
  }
@@ -8949,9 +8950,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImpo
8949
8950
  }], propDecorators: { portal: [{ type: i0.Input, args: [{ isSignal: true, alias: "portal", required: false }] }, { type: i0.Output, args: ["portalChange"] }] } });
8950
8951
 
8951
8952
  class ClxModalService {
8952
- _overlay = inject(Overlay);
8953
- _injector = inject(Injector);
8954
- _focusTrapFactory = inject(FocusTrapFactory);
8953
+ _overlay;
8954
+ _injector;
8955
+ _focusTrapFactory;
8956
+ constructor() {
8957
+ this._overlay = inject(Overlay);
8958
+ this._injector = inject(Injector);
8959
+ this._focusTrapFactory = inject(FocusTrapFactory);
8960
+ }
8955
8961
  open(
8956
8962
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
8957
8963
  component, config = {}) {
@@ -9028,7 +9034,7 @@ class ClxModalService {
9028
9034
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: ClxModalService, decorators: [{
9029
9035
  type: Injectable,
9030
9036
  args: [{ providedIn: 'root' }]
9031
- }] });
9037
+ }], ctorParameters: () => [] });
9032
9038
 
9033
9039
  let _clxEditorId = 0;
9034
9040
  const TOOLBAR_GROUPS = [
@@ -11524,7 +11530,7 @@ class ClxProfileComponent {
11524
11530
  // ── Outputs ─────────────────────────────────────────────────────────────────
11525
11531
  menuAction = output();
11526
11532
  signOut = output();
11527
- // ── CDK Overlay ─────────────────────────────────────────────────────────────
11533
+ // ── CDK Overlay ─────────────────────────────────────────────────name──────────────────────
11528
11534
  _sso = inject(ScrollStrategyOptions);
11529
11535
  _scrollStrategy = this._sso.reposition();
11530
11536
  _positions = [
@@ -11664,7 +11670,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImpo
11664
11670
  args: [{
11665
11671
  selector: 'clx-profile',
11666
11672
  standalone: true,
11667
- imports: [OverlayModule, ClxAvatarComponent, ClxIconComponent, ClxButtonComponent],
11673
+ imports: [OverlayModule, ClxAvatarComponent, ClxIconComponent],
11668
11674
  template: `
11669
11675
  <!-- ── Trigger ─────────────────────────────────────────────────────────── -->
11670
11676
  <button
@@ -13793,9 +13799,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImpo
13793
13799
  }] } });
13794
13800
 
13795
13801
  class ClxAlertService {
13796
- _overlay = inject(Overlay);
13797
- _injector = inject(Injector);
13798
- _focusTrapFactory = inject(FocusTrapFactory);
13802
+ _overlay;
13803
+ _injector;
13804
+ _focusTrapFactory;
13805
+ constructor() {
13806
+ this._overlay = inject(Overlay);
13807
+ this._injector = inject(Injector);
13808
+ this._focusTrapFactory = inject(FocusTrapFactory);
13809
+ }
13799
13810
  // ─── Core open ────────────────────────────────────────────────────────────
13800
13811
  open(options = {}) {
13801
13812
  const backdrop = options.backdrop ?? ALERT_DEFAULTS.backdrop;
@@ -13874,12 +13885,17 @@ class ClxAlertService {
13874
13885
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: ClxAlertService, decorators: [{
13875
13886
  type: Injectable,
13876
13887
  args: [{ providedIn: 'root' }]
13877
- }] });
13888
+ }], ctorParameters: () => [] });
13878
13889
 
13879
13890
  class ClxDrawerService {
13880
- _overlay = inject(Overlay);
13881
- _injector = inject(Injector);
13882
- _focusTrapFactory = inject(FocusTrapFactory);
13891
+ _overlay;
13892
+ _injector;
13893
+ _focusTrapFactory;
13894
+ constructor() {
13895
+ this._overlay = inject(Overlay);
13896
+ this._injector = inject(Injector);
13897
+ this._focusTrapFactory = inject(FocusTrapFactory);
13898
+ }
13883
13899
  open(
13884
13900
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13885
13901
  component, config = {}) {
@@ -13942,12 +13958,14 @@ class ClxDrawerService {
13942
13958
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: ClxDrawerService, decorators: [{
13943
13959
  type: Injectable,
13944
13960
  args: [{ providedIn: 'root' }]
13945
- }] });
13961
+ }], ctorParameters: () => [] });
13946
13962
 
13947
13963
  class ClxToastService {
13948
- _appRef = inject(ApplicationRef);
13949
- /** One container per position, lazily created */
13964
+ _appRef;
13950
13965
  _containers = new Map();
13966
+ constructor() {
13967
+ this._appRef = inject(ApplicationRef);
13968
+ }
13951
13969
  // ─── Core show ─────────────────────────────────────────────────────────────
13952
13970
  show(options) {
13953
13971
  const position = options.position ?? TOAST_DEFAULTS.position;
@@ -14012,7 +14030,7 @@ class ClxToastService {
14012
14030
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: ClxToastService, decorators: [{
14013
14031
  type: Injectable,
14014
14032
  args: [{ providedIn: 'root' }]
14015
- }] });
14033
+ }], ctorParameters: () => [] });
14016
14034
 
14017
14035
  const PROGRESS_BAR_SIZE_MAP = {
14018
14036
  xs: 'h-1',