@ng-atomic/core 20.67.0 → 20.73.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.
@@ -12,10 +12,10 @@ class NgAtomicActionLogger {
12
12
  log(action, scope = 'default') {
13
13
  console.info(`[NgAtomicActionLogger] ${action?.name}`, { action, scope });
14
14
  }
15
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgAtomicActionLogger, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgAtomicActionLogger, providedIn: 'root' });
15
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicActionLogger, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicActionLogger, providedIn: 'root' });
17
17
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgAtomicActionLogger, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicActionLogger, decorators: [{
19
19
  type: Injectable,
20
20
  args: [{ providedIn: 'root' }]
21
21
  }] });
@@ -131,10 +131,10 @@ class NgAtomicRootActionStore {
131
131
  registerMany(effectEntries) {
132
132
  this.resolver.registerMany(effectEntries);
133
133
  }
134
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgAtomicRootActionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
135
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgAtomicRootActionStore, providedIn: 'root' });
134
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicRootActionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
135
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicRootActionStore, providedIn: 'root' });
136
136
  }
137
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgAtomicRootActionStore, decorators: [{
137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicRootActionStore, decorators: [{
138
138
  type: Injectable,
139
139
  args: [{ providedIn: 'root' }]
140
140
  }], ctorParameters: () => [] });
@@ -235,10 +235,10 @@ class CallPipe {
235
235
  transform(value) {
236
236
  return call(value);
237
237
  }
238
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: CallPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
239
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.1.6", ngImport: i0, type: CallPipe, isStandalone: true, name: "call" });
238
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CallPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
239
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: CallPipe, isStandalone: true, name: "call" });
240
240
  }
241
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: CallPipe, decorators: [{
241
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: CallPipe, decorators: [{
242
242
  type: Pipe,
243
243
  args: [{ name: 'call', standalone: true, pure: true }]
244
244
  }] });
@@ -305,7 +305,7 @@ class InjectableComponent {
305
305
  #el = inject(ElementRef);
306
306
  #component = null;
307
307
  #componentMirror = null;
308
- injectable = input(false, { ...(ngDevMode ? { debugName: "injectable" } : {}), transform: (value) => value === '' ? true : value });
308
+ injectable = input(false, { ...(ngDevMode ? { debugName: "injectable" } : /* istanbul ignore next */ {}), transform: (value) => value === '' ? true : value });
309
309
  __action = output({ alias: 'action' });
310
310
  get #inputs() {
311
311
  return getInputs(this.constructor);
@@ -408,10 +408,10 @@ class InjectableComponent {
408
408
  }
409
409
  }
410
410
  }
411
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: InjectableComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
412
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.6", type: InjectableComponent, isStandalone: true, inputs: { injectable: { classPropertyName: "injectable", publicName: "injectable", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { __action: "action" }, usesOnChanges: true, ngImport: i0 });
411
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: InjectableComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
412
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: InjectableComponent, isStandalone: true, inputs: { injectable: { classPropertyName: "injectable", publicName: "injectable", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { __action: "action" }, usesOnChanges: true, ngImport: i0 });
413
413
  }
414
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: InjectableComponent, decorators: [{
414
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: InjectableComponent, decorators: [{
415
415
  type: Directive,
416
416
  args: [{
417
417
  standalone: true,
@@ -505,8 +505,8 @@ function getLabel(element) {
505
505
  class DebugDirective {
506
506
  el = inject(ElementRef);
507
507
  platformId = inject(PLATFORM_ID);
508
- isDebug = input(inject(NG_ATOMIC_DEBUG, { optional: true }) ?? false, ...(ngDevMode ? [{ debugName: "isDebug" }] : []));
509
- label = input(getLabel(this.el.nativeElement), ...(ngDevMode ? [{ debugName: "label" }] : []));
508
+ isDebug = input(inject(NG_ATOMIC_DEBUG, { optional: true }) ?? false, ...(ngDevMode ? [{ debugName: "isDebug" }] : /* istanbul ignore next */ []));
509
+ label = input(getLabel(this.el.nativeElement), ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
510
510
  ngOnInit() {
511
511
  if (isPlatformBrowser(this.platformId) && this.isDebug()) {
512
512
  const type = getType(this.el.nativeElement);
@@ -535,10 +535,10 @@ class DebugDirective {
535
535
  this.el.nativeElement.style.outlineOffset = '-1px';
536
536
  this.el.nativeElement.style.position = 'relative';
537
537
  }
538
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: DebugDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
539
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.6", type: DebugDirective, isStandalone: true, selector: "debug", inputs: { isDebug: { classPropertyName: "isDebug", publicName: "isDebug", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
538
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: DebugDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
539
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: DebugDirective, isStandalone: true, selector: "debug", inputs: { isDebug: { classPropertyName: "isDebug", publicName: "isDebug", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
540
540
  }
541
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: DebugDirective, decorators: [{
541
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: DebugDirective, decorators: [{
542
542
  type: Directive,
543
543
  args: [{ standalone: true, selector: 'debug' }]
544
544
  }], propDecorators: { isDebug: [{ type: i0.Input, args: [{ isSignal: true, alias: "isDebug", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }] } });
@@ -597,10 +597,10 @@ class NgAtomicHostActionStore {
597
597
  .filter(entry => entry.props?.scopes.includes('root'));
598
598
  this.root.registerMany(entries);
599
599
  }
600
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgAtomicHostActionStore, deps: [], target: i0.ɵɵFactoryTarget.Directive });
601
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.6", type: NgAtomicHostActionStore, isStandalone: true, ngImport: i0 });
600
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicHostActionStore, deps: [], target: i0.ɵɵFactoryTarget.Directive });
601
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: NgAtomicHostActionStore, isStandalone: true, ngImport: i0 });
602
602
  }
603
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgAtomicHostActionStore, decorators: [{
603
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicHostActionStore, decorators: [{
604
604
  type: Directive,
605
605
  args: [{ standalone: true }]
606
606
  }] });
@@ -621,10 +621,10 @@ class NgAtomicComponent extends InjectableComponent {
621
621
  const action = { ...action_, meta: { componentId, selector: this.selector } };
622
622
  return this.actionStore.dispatch(action, { component: this, scope });
623
623
  }
624
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgAtomicComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
625
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.6", type: NgAtomicComponent, isStandalone: true, outputs: { __action: "action" }, usesInheritance: true, hostDirectives: [{ directive: NgAtomicHostActionStore }, { directive: DebugDirective }], ngImport: i0 });
624
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
625
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: NgAtomicComponent, isStandalone: true, outputs: { __action: "action" }, usesInheritance: true, hostDirectives: [{ directive: NgAtomicHostActionStore }, { directive: DebugDirective }], ngImport: i0 });
626
626
  }
627
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImport: i0, type: NgAtomicComponent, decorators: [{
627
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicComponent, decorators: [{
628
628
  type: Directive,
629
629
  args: [{
630
630
  standalone: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-atomic/core",
3
- "version": "20.67.0",
3
+ "version": "20.73.0",
4
4
  "homepage": "https://github.com/xx-machina/plaform/tree/main/packages/@ng-atomic/core",
5
5
  "repository": {
6
6
  "type": "git",